Classes | |
struct | otm8009a_ctx_t |
Typedefs | |
typedef int32_t(* | OTM8009A_Read_Func) (void *, uint16_t, uint8_t *, uint16_t) |
typedef int32_t(* | OTM8009A_Write_Func) (void *, uint16_t, uint8_t *, uint16_t) |
Functions | |
int32_t | OTM8009A_DeInit (OTM8009A_Object_t *pObj) |
De-Initializes the component. More... | |
int32_t | OTM8009A_DisplayOff (OTM8009A_Object_t *pObj) |
Set the display Off. More... | |
int32_t | OTM8009A_DisplayOn (OTM8009A_Object_t *pObj) |
Set the display On. More... | |
int32_t | OTM8009A_DrawBitmap (OTM8009A_Object_t *pObj, uint32_t Xpos, uint32_t Ypos, uint8_t *pBmp) |
Draw Bitmap image. More... | |
int32_t | OTM8009A_DrawHLine (OTM8009A_Object_t *pObj, uint32_t Xpos, uint32_t Ypos, uint32_t Length, uint32_t Color) |
Draw Horizontal Line. More... | |
int32_t | OTM8009A_DrawVLine (OTM8009A_Object_t *pObj, uint32_t Xpos, uint32_t Ypos, uint32_t Length, uint32_t Color) |
Draw Vertical line. More... | |
int32_t | OTM8009A_FillRect (OTM8009A_Object_t *pObj, uint32_t Xpos, uint32_t Ypos, uint32_t Width, uint32_t Height, uint32_t Color) |
Fill rectangle. More... | |
int32_t | OTM8009A_FillRGBRect (OTM8009A_Object_t *pObj, uint32_t Xpos, uint32_t Ypos, uint8_t *pData, uint32_t Width, uint32_t Height) |
int32_t | OTM8009A_GetBrightness (OTM8009A_Object_t *pObj, uint32_t *Brightness) |
Get the display brightness. More... | |
int32_t | OTM8009A_GetOrientation (OTM8009A_Object_t *pObj, uint32_t *Orientation) |
Set the display Orientation. More... | |
int32_t | OTM8009A_GetPixel (OTM8009A_Object_t *pObj, uint32_t Xpos, uint32_t Ypos, uint32_t *Color) |
Get pixel color. More... | |
int32_t | OTM8009A_GetXSize (OTM8009A_Object_t *pObj, uint32_t *Xsize) |
Set the display Width. More... | |
int32_t | OTM8009A_GetYSize (OTM8009A_Object_t *pObj, uint32_t *Ysize) |
Set the display Height. More... | |
int32_t | OTM8009A_Init (OTM8009A_Object_t *pObj, uint32_t ColorCoding, uint32_t Orientation) |
Initializes the LCD KoD display part by communication in DSI mode in Video Mode with IC Display Driver OTM8009A (see IC Driver specification for more information). More... | |
int32_t | otm8009a_read_reg (otm8009a_ctx_t *ctx, uint16_t reg, uint8_t *pdata, uint16_t length) |
int32_t | OTM8009A_ReadID (OTM8009A_Object_t *pObj, uint32_t *Id) |
Read the component ID. More... | |
int32_t | OTM8009A_RegisterBusIO (OTM8009A_Object_t *pObj, OTM8009A_IO_t *pIO) |
Register component IO bus. More... | |
int32_t | OTM8009A_SetBrightness (OTM8009A_Object_t *pObj, uint32_t Brightness) |
Set the display brightness. More... | |
int32_t | OTM8009A_SetCursor (OTM8009A_Object_t *pObj, uint32_t Xpos, uint32_t Ypos) |
Set the display cursor. More... | |
int32_t | OTM8009A_SetOrientation (OTM8009A_Object_t *pObj, uint32_t Orientation) |
Set the display Orientation. More... | |
int32_t | OTM8009A_SetPixel (OTM8009A_Object_t *pObj, uint32_t Xpos, uint32_t Ypos, uint32_t Color) |
Set pixel color. More... | |
int32_t | otm8009a_write_reg (otm8009a_ctx_t *ctx, uint16_t reg, const uint8_t *pdata, uint16_t length) |
Variables | |
OTM8009A_LCD_Drv_t | OTM8009A_LCD_Driver |
typedef int32_t(* OTM8009A_Read_Func) (void *, uint16_t, uint8_t *, uint16_t) |
Definition at line 131 of file otm8009a_reg.h.
typedef int32_t(* OTM8009A_Write_Func) (void *, uint16_t, uint8_t *, uint16_t) |
Definition at line 130 of file otm8009a_reg.h.
int32_t OTM8009A_DeInit | ( | OTM8009A_Object_t * | pObj | ) |
De-Initializes the component.
pObj | Component object |
Component | status |
Definition at line 458 of file otm8009a.c.
int32_t OTM8009A_DisplayOff | ( | OTM8009A_Object_t * | pObj | ) |
Set the display Off.
pObj | Component object |
Component | status |
Definition at line 550 of file otm8009a.c.
int32_t OTM8009A_DisplayOn | ( | OTM8009A_Object_t * | pObj | ) |
Set the display On.
pObj | Component object |
Component | status |
Definition at line 527 of file otm8009a.c.
int32_t OTM8009A_DrawBitmap | ( | OTM8009A_Object_t * | pObj, |
uint32_t | Xpos, | ||
uint32_t | Ypos, | ||
uint8_t * | pBmp | ||
) |
Draw Bitmap image.
pObj | Component object |
Xpos | X position |
Ypos | Y position |
pBmp | pointer to bmp data |
Component | status |
Definition at line 702 of file otm8009a.c.
int32_t OTM8009A_DrawHLine | ( | OTM8009A_Object_t * | pObj, |
uint32_t | Xpos, | ||
uint32_t | Ypos, | ||
uint32_t | Length, | ||
uint32_t | Color | ||
) |
Draw Horizontal Line.
pObj | Component object |
Xpos | X position |
Ypos | Y position |
Length | Line length |
Color | Draw color |
Component | status |
Definition at line 726 of file otm8009a.c.
int32_t OTM8009A_DrawVLine | ( | OTM8009A_Object_t * | pObj, |
uint32_t | Xpos, | ||
uint32_t | Ypos, | ||
uint32_t | Length, | ||
uint32_t | Color | ||
) |
Draw Vertical line.
pObj | Component object |
Xpos | X position |
Ypos | Y position |
Length | Line length |
Color | Draw color |
Component | status |
Definition at line 743 of file otm8009a.c.
int32_t OTM8009A_FillRect | ( | OTM8009A_Object_t * | pObj, |
uint32_t | Xpos, | ||
uint32_t | Ypos, | ||
uint32_t | Width, | ||
uint32_t | Height, | ||
uint32_t | Color | ||
) |
Fill rectangle.
pObj | Component object |
Xpos | X position |
Ypos | Y position |
Width | Rectangle width |
Height | Rectangle height |
Color | Draw color |
Component | status |
Definition at line 761 of file otm8009a.c.
int32_t OTM8009A_FillRGBRect | ( | OTM8009A_Object_t * | pObj, |
uint32_t | Xpos, | ||
uint32_t | Ypos, | ||
uint8_t * | pData, | ||
uint32_t | Width, | ||
uint32_t | Height | ||
) |
Definition at line 710 of file otm8009a.c.
int32_t OTM8009A_GetBrightness | ( | OTM8009A_Object_t * | pObj, |
uint32_t * | Brightness | ||
) |
Get the display brightness.
pObj | Component object |
Brightness | display brightness to be returned |
Component | status |
Definition at line 516 of file otm8009a.c.
int32_t OTM8009A_GetOrientation | ( | OTM8009A_Object_t * | pObj, |
uint32_t * | Orientation | ||
) |
Set the display Orientation.
pObj | Component object |
Orientation | display Orientation to be returned |
Component | status |
Definition at line 615 of file otm8009a.c.
int32_t OTM8009A_GetPixel | ( | OTM8009A_Object_t * | pObj, |
uint32_t | Xpos, | ||
uint32_t | Ypos, | ||
uint32_t * | Color | ||
) |
Get pixel color.
pObj | Component object |
Xpos | X position |
Ypos | Y position |
Color | Color to be returned |
Component | status |
Definition at line 777 of file otm8009a.c.
int32_t OTM8009A_GetXSize | ( | OTM8009A_Object_t * | pObj, |
uint32_t * | Xsize | ||
) |
Set the display Width.
pObj | Component object |
Xsize | display Width to be set |
Component | status |
Definition at line 631 of file otm8009a.c.
int32_t OTM8009A_GetYSize | ( | OTM8009A_Object_t * | pObj, |
uint32_t * | Ysize | ||
) |
Set the display Height.
pObj | Component object |
Ysize | display Height to be set |
Component | status |
Definition at line 658 of file otm8009a.c.
int32_t OTM8009A_Init | ( | OTM8009A_Object_t * | pObj, |
uint32_t | ColorCoding, | ||
uint32_t | Orientation | ||
) |
Initializes the LCD KoD display part by communication in DSI mode in Video Mode with IC Display Driver OTM8009A (see IC Driver specification for more information).
pObj | Component object |
ColorCoding | Color Code |
Orientation | Display orientation |
Component | status |
CABC : Content Adaptive Backlight Control section start >>
CABC : Content Adaptive Backlight Control section end <<
Definition at line 157 of file otm8009a.c.
int32_t otm8009a_read_reg | ( | otm8009a_ctx_t * | ctx, |
uint16_t | reg, | ||
uint8_t * | pdata, | ||
uint16_t | length | ||
) |
Definition at line 58 of file otm8009a_reg.c.
int32_t OTM8009A_ReadID | ( | OTM8009A_Object_t * | pObj, |
uint32_t * | Id | ||
) |
Read the component ID.
pObj | Component object |
Id | Component ID |
Component | status |
Definition at line 469 of file otm8009a.c.
int32_t OTM8009A_RegisterBusIO | ( | OTM8009A_Object_t * | pObj, |
OTM8009A_IO_t * | pIO | ||
) |
Register component IO bus.
Component | object pointer |
Component | status |
Definition at line 127 of file otm8009a.c.
int32_t OTM8009A_SetBrightness | ( | OTM8009A_Object_t * | pObj, |
uint32_t | Brightness | ||
) |
Set the display brightness.
pObj | Component object |
Brightness | display brightness to be set |
Component | status |
Definition at line 491 of file otm8009a.c.
int32_t OTM8009A_SetCursor | ( | OTM8009A_Object_t * | pObj, |
uint32_t | Xpos, | ||
uint32_t | Ypos | ||
) |
Set the display cursor.
pObj | Component object |
Xpos | X position |
Ypos | Y position |
Component | status |
Definition at line 686 of file otm8009a.c.
int32_t OTM8009A_SetOrientation | ( | OTM8009A_Object_t * | pObj, |
uint32_t | Orientation | ||
) |
Set the display Orientation.
pObj | Component object |
Orientation | display Orientation to be set |
Component | status |
Definition at line 574 of file otm8009a.c.
int32_t OTM8009A_SetPixel | ( | OTM8009A_Object_t * | pObj, |
uint32_t | Xpos, | ||
uint32_t | Ypos, | ||
uint32_t | Color | ||
) |
Set pixel color.
pObj | Component object |
Xpos | X position |
Ypos | Y position |
Color | Color to be returned |
Component | status |
Definition at line 793 of file otm8009a.c.
int32_t otm8009a_write_reg | ( | otm8009a_ctx_t * | ctx, |
uint16_t | reg, | ||
const uint8_t * | pdata, | ||
uint16_t | length | ||
) |
Definition at line 70 of file otm8009a_reg.c.
OTM8009A_LCD_Drv_t OTM8009A_LCD_Driver |
Definition at line 42 of file otm8009a.c.