ST STM32G4 Series Reference Manual page 1433

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32G4 Series:
Table of Contents

Advertisement

RM0440
Bit 5 UPIE: Direction change to UP Interrupt Enable
0:
UP interrupt disabled
1:
UP interrupt enabled
Note: If the LPTIM does not support encoder mode feature, this bit is reserved. Please refer to
Section 31.3: LPTIM
Bit 4 ARROKIE: Autoreload register update OK Interrupt Enable
0:
ARROK interrupt disabled
1:
ARROK interrupt enabled
Bit 3 CMPOKIE: Compare register update OK Interrupt Enable
0:
CMPOK interrupt disabled
1:
CMPOK interrupt enabled
Bit 2 EXTTRIGIE: External trigger valid edge Interrupt Enable
0:
EXTTRIG interrupt disabled
1:
EXTTRIG interrupt enabled
Bit 1 ARRMIE: Autoreload match Interrupt Enable
0:
ARRM interrupt disabled
1:
ARRM interrupt enabled
Bit 0 CMPMIE: Compare match Interrupt Enable
0:
CMPM interrupt disabled
1:
CMPM interrupt enabled
Caution: The LPTIM_IER register must only be modified when the LPTIM is disabled (ENABLE bit reset to '0')
31.7.4
LPTIM configuration register (LPTIM_CFGR)
Address offset: 0x00C
Reset value: 0x0000 0000
31
30
29
28
TRIG
Res.
Res.
SEL
Res.
[3]
rw
15
14
13
12
TRIGSEL[2:0]
Res.
rw
rw
rw
Bits 31:30 Reserved, must be kept at reset value.
Bits 28:25 Reserved, must be kept at reset value.
Bit 24 ENC: Encoder mode enable
The ENC bit controls the Encoder mode
0: Encoder mode disabled
1: Encoder mode enabled
Note: If the LPTIM does not support encoder mode feature, this bit is reserved. Please refer to
Section 31.3: LPTIM
implementation.
27
26
25
24
Res.
Res.
Res.
ENC
rw
11
10
9
8
PRESC[2:0]
Res.
rw
rw
rw
implementation.
23
22
21
COUNT
PRELOAD WAVPOL
MODE
rw
rw
rw
7
6
5
TRGFLT[1:0]
Res.
rw
rw
RM0440 Rev 1
Low-power timer (LPTIM)
20
19
18
WAVE
TIMOUT
TRIGEN[1:0]
rw
rw
rw
4
3
2
CKFLT[1:0]
CKPOL[1:0]
rw
rw
rw
17
16
Res.
rw
1
0
CKSEL
rw
rw
1433/2083
1441

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents

Save PDF