dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
charonscreendisplay.c File Reference
#include <openpilot.h>
#include <pios_board_info.h>
#include "pios_thread.h"
#include "misc_math.h"
#include "pios_modules.h"
#include "pios_sensors.h"
#include "modulesettings.h"
#include "physical_constants.h"
#include "accels.h"
#include "attitudeactual.h"
#include "baroaltitude.h"
#include "flightstatus.h"
#include "flightbatterystate.h"
#include "flightbatterysettings.h"
#include "flightstats.h"
#include "gpsposition.h"
#include "positionactual.h"
#include "gpstime.h"
#include "gpssatellites.h"
#include "gpsvelocity.h"
#include "homelocation.h"
#include "magnetometer.h"
#include "manualcontrolcommand.h"
#include "stabilizationdesired.h"
#include "stabilizationsettings.h"
#include "stateestimation.h"
#include "systemalarms.h"
#include "systemstats.h"
#include "tabletinfo.h"
#include "taskinfo.h"
#include "velocityactual.h"
#include "vtxinfo.h"
#include "waypoint.h"
#include "waypointactive.h"
#include "charosd.h"
#include "charosd-font.h"
#include "charosd-font-small.h"
#include "charosd-font-thin.h"

Go to the source code of this file.

Macros

#define STACK_SIZE_BYTES   3072
 
#define TASK_PRIORITY   PIOS_THREAD_PRIO_LOW
 
#define SPLASH_TIME_MS   (5*1000)
 
#define FONT_CHAR_SIZE   ((12 * 18 * 2) / 8)
 

Functions

static void panel_draw (charosd_state_t state, uint8_t panel, uint8_t x, uint8_t y)
 
static void screen_draw (charosd_state_t state, CharOnScreenDisplaySettingsData *page)
 
static void set_mode (charosd_state_t state, uint8_t video_std)
 
static void program_characters (charosd_state_t state, uint8_t font)
 
static void update_availability (charosd_state_t state)
 
static void update_telemetry (charosd_state_t state)
 
static void splash_screen (charosd_state_t state)
 
static void CharOnScreenDisplayTask (void *parameters)
 
int32_t CharOnScreenDisplayInitialize (void)
 
int32_t CharOnScreenDisplayStart (void)
 
 MODULE_INITCALL (CharOnScreenDisplayInitialize, CharOnScreenDisplayStart)
 

Variables

bool module_enabled
 
static const uint8_t charosd_font_data []
 
static const uint8_t charosd_font_small_data []
 
static const uint8_t charosd_font_thin_data []