Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
312
/
631
Reset value: 0x0000 0000
Note:
The LPTIM_COMP register must only be modified when the LPTIM is enabled (LPTIM_CTRL.LPTIMEN bit reset to ‘1’)
Bit Field
Name
Description
31:16
Reserved
Reserved, the reset value must be maintained.
15:0
CMPVAL[15:0]
Compare value
CMPVAL is the compare value used by the LPTIM.
LPTIM auto-reload register (LPTIM_ARR)
Address offset: 0x18
Reset value: 0x0000 0001
Note:
The LPTIM_ARR register must only be modified when the LPTIM is enabled (LPTIM_CTRL.LPTIMEN bit reset to ‘1’)
Bit Field
Name
Description
31:16
Reserved
Reserved, the reset value must be maintained.
15:0
ARRVAL[15:0]
Auto reload value
ARRVAL is the autoreload value for the LPTIM.
This value must be strictly greater than the LPTIM_COMP.CMPVAL[15:0] value.
Note: The LPTIM clock source selects the internal clock source (LPTIM_CFG. CKSLE = 0), and the counter is
configured to increment for each valid clock pulse on Input1 (LPTIM_CFG. CNTMEN = 1), and the maximum count
value of the counter is ARRVAL - 1.
LPTIM counter register (LPTIM_CNT)
Address offset: 0x1C
Reset value: 0x0000 0000