Contains all macro definitions and function prototypes support for lcd firmware library on A31G11x. More...
Go to the source code of this file.
Data Structures | |
struct | LCD_CFG_Type |
Functions | |
HAL_Status_Type | HAL_LCD_Init (LCD_CFG_Type *LCD_Config) |
Initialize the LCD peripheral with the specified parameters. More... | |
HAL_Status_Type | HAL_LCD_SetRegister (uint32_t u32LCD_CR, uint32_t u32LCD_BCCR) |
Set LCD LCD_CR/LCD_BCCR Registers. More... | |
HAL_Status_Type | HAL_LCD_ClearDspRam (void) |
Clear LCD Buffer. More... | |
HAL_Status_Type | HAL_LCD_WriteDspRam (uint8_t *write_buf, uint32_t u32Index, uint32_t size) |
Write LCD Buffer. More... | |
Contains all macro definitions and function prototypes support for lcd firmware library on A31G11x.
Copyright(C) 2019, ABOV Semiconductor All rights reserved.
ABOV Disclaimer
IMPORTANT NOTICE ? PLEASE READ CAREFULLY ABOV Semiconductor ("ABOV") reserves the right to make changes, corrections, enhancements, modifications, and improvements to ABOV products and/or to this document at any time without notice. ABOV does not give warranties as to the accuracy or completeness of the information included herein. Purchasers should obtain the latest relevant information of ABOV products before placing orders. Purchasers are entirely responsible for the choice, selection, and use of ABOV products and ABOV assumes no liability for application assistance or the design of purchasers' products. No license, express or implied, to any intellectual property rights is granted by ABOV herein. ABOV disclaims all express and implied warranties and shall not be responsible or liable for any injuries or damages related to use of ABOV products in such unauthorized applications. ABOV and the ABOV logo are trademarks of ABOV. All other product or service names are the property of their respective owners. Information in this document supersedes and replaces the information previously supplied in any former versions of this document. 2020 ABOV Semiconductor All rights reserved
Definition in file A31G11x_hal_lcd.h.
HAL_Status_Type HAL_LCD_ClearDspRam | ( | void | ) |
Clear LCD Buffer.
This function clear Display Data RAM.
Definition at line 108 of file A31G11x_hal_lcd.c.
References HAL_OK.
HAL_Status_Type HAL_LCD_Init | ( | LCD_CFG_Type * | LCD_Config | ) |
Initialize the LCD peripheral with the specified parameters.
[in] | LCD_Config | Pointer to LCD_CFG_Type that contains the configuration information for the specified peripheral. |
This function sets the LCD Bias Resistor, LCD Duty, LCD Clock, Automatic Bias Control, and Contrast Control Data.
Definition at line 57 of file A31G11x_hal_lcd.c.
References LCD_CFG_Type::AutoBiasEn, LCD_CFG_Type::Bias, LCD_CFG_Type::BiasTime, LCD_CFG_Type::Clk, LCD_CFG_Type::Contrast, LCD_CFG_Type::ContrastStep, LCD_CFG_Type::Duty, HAL_ERROR, HAL_OK, and HAL_SCU_Peripheral_EnableClock2().
HAL_Status_Type HAL_LCD_SetRegister | ( | uint32_t | u32LCD_CR, |
uint32_t | u32LCD_BCCR | ||
) |
Set LCD LCD_CR/LCD_BCCR Registers.
[in] | u32LCD_CR | LCD Driver Control Register Setting Data |
[in] | u32LCD_BCCR | LCD Automatic bias and Contrast Control Register Setting Data |
This function sets the LCD Bias Resistor, LCD Duty, LCD Clock, Automatic Bias Control, and Contrast Control Data.
Definition at line 95 of file A31G11x_hal_lcd.c.
References HAL_OK.
HAL_Status_Type HAL_LCD_WriteDspRam | ( | uint8_t * | write_buf, |
uint32_t | u32Index, | ||
uint32_t | size | ||
) |
Write LCD Buffer.
[in] | write_buf | Font Data Buffer Address |
[in] | u32Index | Font Data Buffer Index |
[in] | size | Font Data Buffer Size |
This function writes display data to Display Data RAM.
Definition at line 133 of file A31G11x_hal_lcd.c.
References HAL_OK.