Download Print this page

ST STM32L4+ Series Reference Manual page 43

Hide thumbs Also See for STM32L4+ Series:

Advertisement

RM0432
42.1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1503
42.2
LPTIM main features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1503
42.3
LPTIM implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1504
42.4
LPTIM functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1504
42.4.1
42.4.2
42.4.3
42.4.4
42.4.5
42.4.6
42.4.7
42.4.8
42.4.9
42.4.10 Waveform generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1510
42.4.11 Register update . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1511
42.4.12 Counter mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1512
42.4.13 Timer enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1513
42.4.14 Timer counter reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1513
42.4.15 Encoder mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1514
42.4.16 Repetition Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1515
42.4.17 Debug mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1516
42.5
LPTIM low-power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1517
42.6
LPTIM interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1517
42.7
LPTIM registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1518
42.7.1
42.7.2
42.7.3
42.7.4
42.7.5
42.7.6
42.7.7
42.7.8
42.7.9
42.7.10 LPTIM2 option register (LPTIM2_OR) . . . . . . . . . . . . . . . . . . . . . . . . 1527
42.7.11 LPTIM repetition register (LPTIM_RCR) . . . . . . . . . . . . . . . . . . . . . . 1527
42.7.12 LPTIM register map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1528
LPTIM block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1504
LPTIM pins and internal signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1505
LPTIM trigger mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1505
LPTIM reset and clocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1506
Glitch filter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1506
Prescaler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1507
Trigger multiplexer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1508
Operating mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1508
Timeout function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1510
LPTIM interrupt and status register (LPTIM_ISR) . . . . . . . . . . . . . . . 1518
LPTIM interrupt clear register (LPTIM_ICR) . . . . . . . . . . . . . . . . . . . 1519
LPTIM interrupt enable register (LPTIM_IER) . . . . . . . . . . . . . . . . . . 1520
LPTIM configuration register (LPTIM_CFGR) . . . . . . . . . . . . . . . . . . 1521
LPTIM control register (LPTIM_CR) . . . . . . . . . . . . . . . . . . . . . . . . . 1524
LPTIM compare register (LPTIM_CMP) . . . . . . . . . . . . . . . . . . . . . . 1525
LPTIM autoreload register (LPTIM_ARR) . . . . . . . . . . . . . . . . . . . . . 1525
LPTIM counter register (LPTIM_CNT) . . . . . . . . . . . . . . . . . . . . . . . . 1526
LPTIM1 option register (LPTIM1_OR) . . . . . . . . . . . . . . . . . . . . . . . . 1526
RM0432 Rev 6
Contents
43/2301
60

Advertisement

loading
Need help?

Need help?

Do you have a question about the STM32L4+ Series and is the answer not in the manual?

Subscribe to Our Youtube Channel