Functions | Variables
otm8009a.c File Reference

This file provides the LCD Driver for KoD KM-040TMP-02-0621 (WVGA) DSI LCD Display OTM8009A.
More...

#include "otm8009a.h"
#include <stddef.h>
Include dependency graph for otm8009a.c:

Go to the source code of this file.

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...
 
static int32_t OTM8009A_IO_Delay (OTM8009A_Object_t *pObj, uint32_t Delay)
 OTM8009A delay. More...
 
int32_t OTM8009A_ReadID (OTM8009A_Object_t *pObj, uint32_t *Id)
 Read the component ID. More...
 
static int32_t OTM8009A_ReadRegWrap (void *Handle, uint16_t Reg, uint8_t *pData, uint16_t Length)
 Wrap component ReadReg to Bus Read function. 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...
 
static int32_t OTM8009A_WriteRegWrap (void *Handle, uint16_t Reg, uint8_t *pData, uint16_t Length)
 Wrap component WriteReg to Bus Write function. More...
 

Variables

static const uint8_t LcdRegData27 [] = {0x00, 0x00, 0x03, 0x1F}
 
static const uint8_t LcdRegData28 [] = {0x00, 0x00, 0x01, 0xDF}
 
OTM8009A_LCD_Drv_t OTM8009A_LCD_Driver
 
static OTM8009A_LCD_Ctx_t OTM8009ACtx
 

Detailed Description

This file provides the LCD Driver for KoD KM-040TMP-02-0621 (WVGA) DSI LCD Display OTM8009A.

Author
MCD Application Team
Attention

© Copyright (c) 2015 STMicroelectronics. All rights reserved.

This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause

Definition in file otm8009a.c.



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