STM32L151xC STM32L152xC
3.9
LCD (liquid crystal display)
The LCD drives up to 8 common terminals and 44 segment terminals to drive up to 320
pixels.
•
Internal step-up converter to guarantee functionality and contrast control irrespective of
V
DD
the voltage to the LCD
•
Supports static, 1/2, 1/3, 1/4 and 1/8 duty
•
Supports static, 1/2, 1/3 and 1/4 bias
•
Phase inversion to reduce power consumption and EMI
•
Up to 8 pixels can be programmed to blink
•
Unneeded segments and common pins can be used as general I/O pins
•
LCD RAM can be updated at any time owing to a double-buffer
•
The LCD controller can operate in Stop mode
•
V
LCD
V
LCDRAIL1
V
LCDRAIL2
V
LCDRAIL3
3.10
ADC (analog-to-digital converter)
A 12-bit analog-to-digital converters is embedded into STM32L151xC and STM32L152xC
devices with up to 25 external channels, performing conversions in single-shot or scan
mode. In scan mode, automatic conversion is performed on a selected group of analog
inputs with up to 24 external channels in a group.
The ADC can be served by the DMA controller.
An analog watchdog feature allows very precise monitoring of the converted voltage of one,
some or all scanned channels. An interrupt is generated when the converted voltage is
outside the programmed thresholds.
The events generated by the general-purpose timers (TIMx) can be internally connected to
the ADC start triggers, to allow the application to synchronize A/D conversions and timers.
An injection mode allows high priority conversions to be done by interrupting a scan mode
which runs in as a background task.
The ADC includes a specific low-power mode. The converter is able to operate at maximum
speed even if the CPU is operating at a very low frequency and has an auto-shutdown
function. The ADC's runtime and analog front-end current consumption are thus minimized
whatever the MCU operating mode.
. This converter can be deactivated, in which case the V
rail decoupling capability
Table 6. V
1/2
1/2 V
LCD
N/A
N/A
DocID022799 Rev 10
rail decoupling
LCD
Bias
1/3
1/4
2/3 V
1/2 V
LCD
LCD
1/3 V
1/4 V
LCD
LCD
N/A
3/4 V
LCD
Functional overview
pin is used to provide
LCD
Pin
PB2
PB12
PE11
PB0
PE12
25/135
52
Need help?
Do you have a question about the STM32L151CCT6 and is the answer not in the manual?