Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
219
/
631
Bit field
Name
Description
15:0
AR[15:0]
Auto-reload value
These bits define the value that will be loaded into the actual auto-reload register.
See Section 10.3.1 for more details.
When the TIMx_AR.AR [15:0] value is null, the counter does not work.
Repeat count registers (TIMx_REPCNT)
Offset address: 0x30
Reset value: 0x0000
Bit field
Name
Description
15:8
Reserved
Reserved, the reset value must be maintained
7:0
REPCNT[7:0]
Repetition counter value
Repetition counter is used to generate the update event or update the timer registers only
after a given number (N+1) cycles of the counter, where N is the value of
TIMx_REPCNT.REPCNT . The repetition counter is decremented at each counter overflow
in up-counting mode, at each counter underflow in down-counting mode or at each counter
overflow and at each counter underflow in center-aligned mode. Setting the
TIMx_EVTGEN.UDGN bit will reload the content of TIMx_REPCNT.REPCNT and
generate an update event.
Capture/compare register 1 (TIMx_CCDAT1)
Offset address: 0x34
Reset value: 0x0000
Bit field
Name
Description
15:0
CCDAT1[15:0]
Capture/Compare 1 value
CC1 channel is configured as output:
CCDAT1 contains the value to be compared to the counter TIMx_CNT, signaling on the
OC1 output.
If the preload feature is not selected in TIMx_CCMOD1.OC1PEN bit, the written value is
immediately transferred to the active register. Otherwise, this preloaded value is transferred
to the active register only when an update event occurs.
CC1 channel is configured as input: