MBNG_LCD

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)
u8MBNG_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

u8glcd_font = NULL

Detailed Description

LCD access functions for MIDIbox NG


Define Documentation

#define DEBUG_PRINT_ITEM_PERFORMANCE   0

Function Documentation

s32 MBNG_LCD_Clear ( void   ) 

Clears all LCDs

Here is the call graph for this function:

s32 MBNG_LCD_ClearScreenOnNextMessage ( void   ) 

Whenever this function is called, the screen will be cleared once a new message is print

s32 MBNG_LCD_CursorSet ( u8  lcd,
u16  x,
u16  y 
)

Sets the cursor on the given LCD

Here is the call graph for this function:

u8* MBNG_LCD_FontGet ( void   ) 

Returns the current GLCD font

s32 MBNG_LCD_FontInit ( char  font_name  ) 

Selects a GLCD font

Here is the call graph for this function:

s32 MBNG_LCD_Init ( u32  mode  ) 

This function initializes the LCD handler

Here is the call graph for this function:

s32 MBNG_LCD_PrintChar ( char  c  ) 

Prints a character and increments the cursor

Here is the call graph for this function:

s32 MBNG_LCD_PrintFormattedString ( char *  format,
  ... 
)

Prints a formatted string

Here is the call graph for this function:

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

Return values:
< 0 on errors
>= 0: number of streamed characters (only if out_buffer != NULL)
== 0: no characters print, resp out_buffer == NULL

Here is the call graph for this function:

s32 MBNG_LCD_PrintSpaces ( int  num  ) 

Prints the given number of spaces

Here is the call graph for this function:

s32 MBNG_LCD_PrintString ( char *  str  ) 

Prints a string

Here is the call graph for this function:

s32 MBNG_LCD_SpecialCharsInit ( u8  charset,
u8  force 
)

initializes special characters

Here is the call graph for this function:

s32 MBNG_LCD_SpecialCharsReInit ( void   ) 

re-initializes special characters

Here is the call graph for this function:


Variable Documentation

u8* glcd_font = NULL

Generated on 22 Jan 2016 for MIDIboxNG by  doxygen 1.6.1