
Liquid crystal display controller (LCD)
RM0351
778/1830
DocID024597 Rev 5
25.4
LCD low-power modes
the LCD controller can be displayed in Stop mode or can be fully disabled to reduce power
consumption.
25.5 LCD
interrupts
The table below gives the list of LCD interrupt requests.
Start of frame (SOF)
The LCD start of frame interrupt is executed if the SOFIE (start of frame interrupt enable) bit
is set (see
Section 25.6.2: LCD frame control register (LCD_FCR)
). SOF is cleared by
writing the SOFC bit to 1 in the LCD_CLR register when executing the corresponding
interrupt handling vector.
Update display done (UDD)
The LCD update display interrupt is executed if the UDDIE (update display done interrupt
enable) bit is set (see
Section 25.6.2: LCD frame control register (LCD_FCR)
). UDD is
cleared by writing the UDDC bit to 1 in the LCD_CLR register when executing the
corresponding interrupt handling vector.
Depending on the product implementation, all these interrupts events can either share the
same interrupt vector (LCD global interrupt), or be grouped into 2 interrupt vectors (LCD
SOF interrupt and LCD UDD interrupt). Refer to the
Table 57: STM32L4x5/STM32L4x6 vector
for details.
In order to enable the LCD interrupts, the following sequence is required:
Table 163. LCD behavior in low-power modes
Mode
Description
Sleep
No effect. LCD interrupt causes the device to exit the Sleep mode.
Low-power run
No effect.
Low-power sleep
No effect. LCD interrupt causes the device to exit the Low-power sleep
mode.
Stop 0
No effect. LCD interrupt causes the device to exit the Stop mode.
Stop 1
Stop 2
Standby
The LCD peripheral is powered down and must be reinitialized after exiting
Standby or Shutdown mode.
Shutdown
Table 164. LCD interrupt requests
Interrupt event
Event flag
Event flag/Interrupt
clearing method
Interrupt enable
control bit
Start Of Frame (SOF)
SOF
Write SOFC =1
SOFIE
Update Display Done (UDD)
UDD
Write UDDC = 1
UDDIE