Defines | |
#define | DEBUG_PRINT_ITEM_PERFORMANCE 0 |
Functions | |
s32 | MBNG_LCD_Init (u32 mode) |
s32 | MBNG_LCD_Clear (void) |
s32 | MBNG_LCD_FontInit (char font_name) |
u8 * | MBNG_LCD_FontGet (void) |
s32 | MBNG_LCD_CursorSet (u8 lcd, u16 x, u16 y) |
s32 | MBNG_LCD_PrintChar (char c) |
s32 | MBNG_LCD_PrintString (char *str) |
s32 | MBNG_LCD_PrintFormattedString (char *format,...) |
s32 | MBNG_LCD_PrintSpaces (int num) |
s32 | MBNG_LCD_ClearScreenOnNextMessage (void) |
s32 | MBNG_LCD_PrintItemLabel (mbng_event_item_t *item, char *out_buffer, u32 max_buffer_len) |
s32 | MBNG_LCD_SpecialCharsInit (u8 charset, u8 force) |
s32 | MBNG_LCD_SpecialCharsReInit (void) |
Variables | |
u8 * | glcd_font = NULL |
LCD access functions for MIDIbox NG
#define DEBUG_PRINT_ITEM_PERFORMANCE 0 |
s32 MBNG_LCD_Clear | ( | void | ) |
Clears all LCDs
s32 MBNG_LCD_ClearScreenOnNextMessage | ( | void | ) |
Whenever this function is called, the screen will be cleared once a new message is print
Sets the cursor on the given LCD
u8* MBNG_LCD_FontGet | ( | void | ) |
Returns the current GLCD font
s32 MBNG_LCD_FontInit | ( | char | font_name | ) |
Selects a GLCD font
This function initializes the LCD handler
s32 MBNG_LCD_PrintChar | ( | char | c | ) |
Prints a character and increments the cursor
s32 MBNG_LCD_PrintFormattedString | ( | char * | format, | |
... | ||||
) |
Prints a formatted string
s32 MBNG_LCD_PrintItemLabel | ( | mbng_event_item_t * | item, | |
char * | out_buffer, | |||
u32 | max_buffer_len | |||
) |
prints the label of an item if out_buffer == NULL, the label will be print on LCD if out_buffer != NULL, the label will be streamed into this buffer
< | 0 on errors | |
>= | 0: number of streamed characters (only if out_buffer != NULL) | |
== | 0: no characters print, resp out_buffer == NULL |
s32 MBNG_LCD_PrintSpaces | ( | int | num | ) |
Prints the given number of spaces
s32 MBNG_LCD_PrintString | ( | char * | str | ) |
Prints a string
initializes special characters
s32 MBNG_LCD_SpecialCharsReInit | ( | void | ) |
re-initializes special characters