# include/mios32/mios32_lcd.h File Reference

## Data Structures
struct | mios32_lcd_parameters_t
struct | mios32_lcd_bitmap_t
## Defines
#define | MIOS32_LCD_MAX_MAP_LINES 4
#define | MIOS32_LCD_BOOT_MSG_LINE1 "Unnamed App."
#define | MIOS32_LCD_BOOT_MSG_LINE2 "www.midibox.org"
#define | MIOS32_LCD_BOOT_MSG_DELAY 2000
#define | MIOS32_LCD_FONT_WIDTH_IX 0
#define | MIOS32_LCD_FONT_HEIGHT_IX 1
#define | MIOS32_LCD_FONT_X0_IX 2
#define | MIOS32_LCD_FONT_OFFSET_IX 3
#define | MIOS32_LCD_FONT_BITMAP_IX 4
## Enumerations
enum | mios32_lcd_type_t { MIOS32_LCD_TYPE_CLCD = 0x00, MIOS32_LCD_TYPE_CLCD_DOG = 0x01, MIOS32_LCD_TYPE_CLCD_PP = 0x02, MIOS32_LCD_TYPE_GLCD_CUSTOM = 0x80, MIOS32_LCD_TYPE_GLCD_KS0108 = 0x81, MIOS32_LCD_TYPE_GLCD_KS0108_INVCS = 0x82, MIOS32_LCD_TYPE_GLCD_DOG = 0x83, MIOS32_LCD_TYPE_GLCD_SSD1306 = 0x84, MIOS32_LCD_TYPE_GLCD_SSD1306_ROTATED = 0x85, MIOS32_LCD_TYPE_GLCD_SED1520 = 0x86 }
## Functions
s32 | MIOS32_LCD_Init (u32 mode)
s32 | MIOS32_LCD_ParametersSet (mios32_lcd_parameters_t parameters)
s32 | MIOS32_LCD_ParametersFetchFromBslInfoRange (void)
mios32_lcd_parameters_t * | MIOS32_LCD_ParametersGet (void)
const char * | MIOS32_LCD_LcdTypeName (mios32_lcd_type_t lcd_type)
s32 | MIOS32_LCD_TypeIsGLCD (void)
s32 | MIOS32_LCD_DeviceSet (u8 device)
u8 | MIOS32_LCD_DeviceGet (void)
s32 | MIOS32_LCD_CursorSet (u16 column, u16 line)
s32 | MIOS32_LCD_GCursorSet (u16 x, u16 y)
s32 | MIOS32_LCD_CursorMapSet (u8 map_table[])
s32 | MIOS32_LCD_PrintString (const char *str)
s32 | MIOS32_LCD_PrintFormattedString (const char *format,...)
s32 | MIOS32_LCD_PrintBootMessage (void)
s32 | MIOS32_LCD_SpecialCharsInit (u8 table[64])
s32 | MIOS32_LCD_FontInit (u8 *font)
s32 | MIOS32_LCD_Data (u8 data)
s32 | MIOS32_LCD_Cmd (u8 cmd)
s32 | MIOS32_LCD_Clear (void)
s32 | MIOS32_LCD_PrintChar (char c)
s32 | MIOS32_LCD_SpecialCharInit (u8 num, u8 table[8])
s32 | MIOS32_LCD_BColourSet (u32 rgb)
s32 | MIOS32_LCD_FColourSet (u32 rgb)
mios32_lcd_bitmap_t | MIOS32_LCD_BitmapInit (u8 *memory, u16 width, u16 height, u16 line_offset, u8 colour_depth)
s32 | MIOS32_LCD_BitmapPixelSet (mios32_lcd_bitmap_t bitmap, u16 x, u16 y, u32 colour)
s32 | MIOS32_LCD_BitmapPrint (mios32_lcd_bitmap_t bitmap)
## Variables
mios32_lcd_parameters_t | mios32_lcd_parameters
u8 | mios32_lcd_device
u16 | mios32_lcd_column
u16 | mios32_lcd_line
u8 | mios32_lcd_cursor_map [MIOS32_LCD_MAX_MAP_LINES]
u16 | mios32_lcd_x
u16 | mios32_lcd_y

## Define Documentation

#define MIOS32_LCD_BOOT_MSG_DELAY 2000

#define MIOS32_LCD_BOOT_MSG_LINE1 "Unnamed App."

#define MIOS32_LCD_BOOT_MSG_LINE2 "www.midibox.org"

#define MIOS32_LCD_FONT_BITMAP_IX 4

#define MIOS32_LCD_FONT_HEIGHT_IX 1

#define MIOS32_LCD_FONT_OFFSET_IX 3

#define MIOS32_LCD_FONT_WIDTH_IX 0

#define MIOS32_LCD_FONT_X0_IX 2

#define MIOS32_LCD_MAX_MAP_LINES 4

## Enumeration Type Documentation

enum mios32_lcd_type_t

Enumerator:

  MIOS32_LCD_TYPE_CLCD |
  MIOS32_LCD_TYPE_CLCD_DOG |
  MIOS32_LCD_TYPE_CLCD_PP |
  MIOS32_LCD_TYPE_GLCD_CUSTOM |
  MIOS32_LCD_TYPE_GLCD_KS0108 |
  MIOS32_LCD_TYPE_GLCD_KS0108_INVCS |
  MIOS32_LCD_TYPE_GLCD_DOG |
  MIOS32_LCD_TYPE_GLCD_SSD1306 |
  MIOS32_LCD_TYPE_GLCD_SSD1306_ROTATED |
  MIOS32_LCD_TYPE_GLCD_SED1520 |