Initialization and Configuration functions.
More...
Initialization and Configuration functions.
===============================================================================
##### Initialization and Configuration functions #####
===============================================================================
[..]
◆ HAL_LCD_DeInit()
DeInitialize the LCD peripheral.
- Parameters
-
- Return values
-
Definition at line 262 of file stm32l4xx_hal_lcd.c.
__IO HAL_LCD_StateTypeDef State
void HAL_LCD_MspDeInit(LCD_HandleTypeDef *hlcd)
DeInitialize the LCD MSP.
assert_param(IS_RTC_WAKEUP_CLOCK(WakeUpClock))
◆ HAL_LCD_Init()
Initialize the LCD peripheral according to the specified parameters in the LCD_InitStruct and initialize the associated handle.
- Note
- This function can be used only when the LCD is disabled.
- Parameters
-
- Return values
-
< Wait Until the LCD Booster is ready
Definition at line 139 of file stm32l4xx_hal_lcd.c.
143 HAL_StatusTypeDef status;
178 __HAL_LCD_DISABLE(hlcd);
182 for (counter = LCD_RAM_REGISTER0; counter <= LCD_RAM_REGISTER15; counter++)
198 (LCD_FCR_PS | LCD_FCR_DIV | LCD_FCR_BLINK | LCD_FCR_BLINKF | \
199 LCD_FCR_DEAD | LCD_FCR_PON | LCD_FCR_CC | LCD_FCR_HD), \
218 (LCD_CR_DUTY | LCD_CR_BIAS | LCD_CR_VSEL | LCD_CR_MUX_SEG), \
222 __HAL_LCD_ENABLE(hlcd);
228 while (__HAL_LCD_GET_FLAG(hlcd, LCD_FLAG_ENS) == RESET)
230 if ((
HAL_GetTick() - tickstart) > LCD_TIMEOUT_VALUE)
241 while (__HAL_LCD_GET_FLAG(hlcd, LCD_FLAG_RDY) == RESET)
243 if ((
HAL_GetTick() - tickstart) > LCD_TIMEOUT_VALUE)
__IO HAL_LCD_StateTypeDef State
uint32_t HAL_GetTick(void)
Provide a tick value in millisecond.
void HAL_LCD_MspInit(LCD_HandleTypeDef *hlcd)
Initialize the LCD MSP.
MODIFY_REG(hrtc->Instance->CR, RTC_CR_WUCKSEL,(uint32_t) WakeUpClock)
HAL_StatusTypeDef LCD_WaitForSynchro(LCD_HandleTypeDef *hlcd)
Wait until the LCD FCR register is synchronized in the LCDCLK domain. This function must be called af...
assert_param(IS_RTC_WAKEUP_CLOCK(WakeUpClock))
◆ HAL_LCD_MspDeInit()
◆ HAL_LCD_MspInit()