Classes | Typedefs | Functions | Variables
OTM8009A Exported Functions
Collaboration diagram for OTM8009A Exported Functions:

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
 

Detailed Description

Typedef Documentation

◆ OTM8009A_Read_Func

typedef int32_t(* OTM8009A_Read_Func) (void *, uint16_t, uint8_t *, uint16_t)

Definition at line 131 of file otm8009a_reg.h.

◆ OTM8009A_Write_Func

typedef int32_t(* OTM8009A_Write_Func) (void *, uint16_t, uint8_t *, uint16_t)

Definition at line 130 of file otm8009a_reg.h.

Function Documentation

◆ OTM8009A_DeInit()

int32_t OTM8009A_DeInit ( OTM8009A_Object_t pObj)

De-Initializes the component.

Parameters
pObjComponent object
Return values
Componentstatus

Definition at line 458 of file otm8009a.c.

◆ OTM8009A_DisplayOff()

int32_t OTM8009A_DisplayOff ( OTM8009A_Object_t pObj)

Set the display Off.

Parameters
pObjComponent object
Return values
Componentstatus

Definition at line 550 of file otm8009a.c.

◆ OTM8009A_DisplayOn()

int32_t OTM8009A_DisplayOn ( OTM8009A_Object_t pObj)

Set the display On.

Parameters
pObjComponent object
Return values
Componentstatus

Definition at line 527 of file otm8009a.c.

◆ OTM8009A_DrawBitmap()

int32_t OTM8009A_DrawBitmap ( OTM8009A_Object_t pObj,
uint32_t  Xpos,
uint32_t  Ypos,
uint8_t *  pBmp 
)

Draw Bitmap image.

Parameters
pObjComponent object
XposX position
YposY position
pBmppointer to bmp data
Return values
Componentstatus

Definition at line 702 of file otm8009a.c.

◆ OTM8009A_DrawHLine()

int32_t OTM8009A_DrawHLine ( OTM8009A_Object_t pObj,
uint32_t  Xpos,
uint32_t  Ypos,
uint32_t  Length,
uint32_t  Color 
)

Draw Horizontal Line.

Parameters
pObjComponent object
XposX position
YposY position
LengthLine length
ColorDraw color
Return values
Componentstatus

Definition at line 726 of file otm8009a.c.

◆ OTM8009A_DrawVLine()

int32_t OTM8009A_DrawVLine ( OTM8009A_Object_t pObj,
uint32_t  Xpos,
uint32_t  Ypos,
uint32_t  Length,
uint32_t  Color 
)

Draw Vertical line.

Parameters
pObjComponent object
XposX position
YposY position
LengthLine length
ColorDraw color
Return values
Componentstatus

Definition at line 743 of file otm8009a.c.

◆ OTM8009A_FillRect()

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.

Parameters
pObjComponent object
XposX position
YposY position
WidthRectangle width
HeightRectangle height
ColorDraw color
Return values
Componentstatus

Definition at line 761 of file otm8009a.c.

◆ OTM8009A_FillRGBRect()

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.

◆ OTM8009A_GetBrightness()

int32_t OTM8009A_GetBrightness ( OTM8009A_Object_t pObj,
uint32_t *  Brightness 
)

Get the display brightness.

Parameters
pObjComponent object
Brightnessdisplay brightness to be returned
Return values
Componentstatus

Definition at line 516 of file otm8009a.c.

◆ OTM8009A_GetOrientation()

int32_t OTM8009A_GetOrientation ( OTM8009A_Object_t pObj,
uint32_t *  Orientation 
)

Set the display Orientation.

Parameters
pObjComponent object
Orientationdisplay Orientation to be returned
Return values
Componentstatus

Definition at line 615 of file otm8009a.c.

◆ OTM8009A_GetPixel()

int32_t OTM8009A_GetPixel ( OTM8009A_Object_t pObj,
uint32_t  Xpos,
uint32_t  Ypos,
uint32_t *  Color 
)

Get pixel color.

Parameters
pObjComponent object
XposX position
YposY position
ColorColor to be returned
Return values
Componentstatus

Definition at line 777 of file otm8009a.c.

◆ OTM8009A_GetXSize()

int32_t OTM8009A_GetXSize ( OTM8009A_Object_t pObj,
uint32_t *  Xsize 
)

Set the display Width.

Parameters
pObjComponent object
Xsizedisplay Width to be set
Return values
Componentstatus

Definition at line 631 of file otm8009a.c.

◆ OTM8009A_GetYSize()

int32_t OTM8009A_GetYSize ( OTM8009A_Object_t pObj,
uint32_t *  Ysize 
)

Set the display Height.

Parameters
pObjComponent object
Ysizedisplay Height to be set
Return values
Componentstatus

Definition at line 658 of file otm8009a.c.

◆ OTM8009A_Init()

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

Parameters
pObjComponent object
ColorCodingColor Code
OrientationDisplay orientation
Return values
Componentstatus

CABC : Content Adaptive Backlight Control section start >>

CABC : Content Adaptive Backlight Control section end <<

Definition at line 157 of file otm8009a.c.

◆ otm8009a_read_reg()

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.

◆ OTM8009A_ReadID()

int32_t OTM8009A_ReadID ( OTM8009A_Object_t pObj,
uint32_t *  Id 
)

Read the component ID.

Parameters
pObjComponent object
IdComponent ID
Return values
Componentstatus

Definition at line 469 of file otm8009a.c.

◆ OTM8009A_RegisterBusIO()

int32_t OTM8009A_RegisterBusIO ( OTM8009A_Object_t pObj,
OTM8009A_IO_t pIO 
)

Register component IO bus.

Parameters
Componentobject pointer
Return values
Componentstatus

Definition at line 127 of file otm8009a.c.

◆ OTM8009A_SetBrightness()

int32_t OTM8009A_SetBrightness ( OTM8009A_Object_t pObj,
uint32_t  Brightness 
)

Set the display brightness.

Parameters
pObjComponent object
Brightnessdisplay brightness to be set
Return values
Componentstatus

Definition at line 491 of file otm8009a.c.

◆ OTM8009A_SetCursor()

int32_t OTM8009A_SetCursor ( OTM8009A_Object_t pObj,
uint32_t  Xpos,
uint32_t  Ypos 
)

Set the display cursor.

Parameters
pObjComponent object
XposX position
YposY position
Return values
Componentstatus

Definition at line 686 of file otm8009a.c.

◆ OTM8009A_SetOrientation()

int32_t OTM8009A_SetOrientation ( OTM8009A_Object_t pObj,
uint32_t  Orientation 
)

Set the display Orientation.

Parameters
pObjComponent object
Orientationdisplay Orientation to be set
Return values
Componentstatus

Definition at line 574 of file otm8009a.c.

◆ OTM8009A_SetPixel()

int32_t OTM8009A_SetPixel ( OTM8009A_Object_t pObj,
uint32_t  Xpos,
uint32_t  Ypos,
uint32_t  Color 
)

Set pixel color.

Parameters
pObjComponent object
XposX position
YposY position
ColorColor to be returned
Return values
Componentstatus

Definition at line 793 of file otm8009a.c.

◆ otm8009a_write_reg()

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.

Variable Documentation

◆ OTM8009A_LCD_Driver

OTM8009A_LCD_Drv_t OTM8009A_LCD_Driver

Definition at line 42 of file otm8009a.c.



picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:09