GaIA BIOS Library
Loading...
Searching...
No Matches
GaIA Display macros and variables

Macros and variables used for handling the on board two digits display. More...

Data Structures

struct  disp_val_t

Macros

#define NO_COLS   (0xFF)
#define TOP_7SEG_DISPLAY   (0x7F)
#define BOTTOM_7SEG_DISPLAY   (0xBF)
#define LEDS_COLS_DISPLAY   (0xEF)
#define MAX_COLS_COUNT   (3)
 Maximum number of columns.
#define GWA_DISP_DIGIT_0   (0)
 Least significant digit of the display.
#define GWA_DISP_DIGIT_1   (1)
 Most significant digit of the display.
#define GWA_DISP_LEDS   (2)
 LEDs on the display.
#define COL_LED_OFF   ((uint8_t)0x00)
 Columns Off.
#define COL_LED_0   ((uint8_t)0x01)
 Column 0.
#define COL_LED_1   ((uint8_t)0x02)
 Column 1.
#define COL_LED_2   ((uint8_t)0x04)
 Column 2.
#define COL_LED_3   ((uint8_t)0x08)
 Column 3.
#define DISP_OFF   ((uint8_t)~0x00)
 Display Off.
#define DISP_A_SEG   ((uint8_t)~0x01)
 A-Segment.
#define DISP_B_SEG   ((uint8_t)~0x02)
 B-Segment.
#define DISP_C_SEG   ((uint8_t)~0x04)
 C-Segment.
#define DISP_D_SEG   ((uint8_t)~0x10)
 D-Segment.
#define DISP_E_SEG   ((uint8_t)~0x20)
 E-Segment.
#define DISP_F_SEG   ((uint8_t)~0x40)
 F-Segment.
#define DISP_G_SEG   ((uint8_t)~0x80)
 G-Segment.
#define DISP_DP_SEG   ((uint8_t)~0x08)
 DP-Point.
#define LED_G_1   0
 GaIA Display Indicator LEDs.
#define LED_R_1   1
#define LED_G_2   2
#define LED_R_2   3

Detailed Description

Macros and variables used for handling the on board two digits display.