AT32F425
Series Reference Manual
2022.03.30
Page 189
Ver 2.01
0: Period buffer is disabled.
1: Period buffer is enabled.
Bit 6: 4
Reserved
0x0
resd
Kept at its default value.
Bit 3
OCMEN
0x0
rw
One cycle mode enable
This bit is used to select whether to stop the counter at
update event.
0: Disabled
1: Enabled
Bit 2
OVFS
0x0
rw
Overflow event source
This bit is used to configure overflow event or DMA
request sources.
0: Counter overflow, setting the OVFSWTR bit or overflow
event generated from the slave controller
1: Only counter overflow generates an overflow event.
Bit 1
OVFEN
0x0
rw
Overflow event enable
This bit is used to enable or disable OEV event
generation.
0: OEV event is enabled. An overflow event is generated
by any of the following events:
- Counter overflow
- Setting the OVFSWTR bit
- Overflow event generated from the slave controller
1: OEV event is disabled.
If the OVFSWTR bit is set, or a hardware reset is
generated from the slave controller, the counter and the
prescaler are reinitialized.
Note: This bit is set and cleared by software.
Bit 0
TMREN
0x0
rw
TMR enable
0: Disabled
1: Enabled
14.1.4.2 TMR6 and TMR7 control register2 (TMRx_CTRL2)
Bit
Register
Reset value
Type
Description
Bit 15: 7
Reserved
0x000
resd
Kept at its default value.
Bit 6: 4
PTOS
0x0
rw
Master TMR output selection
This field is used to select the signals in master mode to
be sent to slave timers.
000: Reset
001: Enable
010: Update
Bit 3: 0
Reserved
0x0
resd
Kept at its default value.
14.1.4.3 TMR6 and TMR7 DMA/interrupt enable register (TMRx_IDEN)
Bit
Register
Reset value
Type
Description
Bit 15: 9
Reserved
0x00
resd
Kept at its default value.
Bit 8
OVFDEN
0x0
rw
Overflow event DMA request enable
0: Disabled
1: Enabled
Bit 7: 1
Reserved
0x00
resd
Kept at its default value.
Bit 0
OVFIEN
0x0
rw
Overflow interrupt enable
0: Disabled
1: Enabled
14.1.4.4 TMR6 and TMR7 interrupt status register (TMRx_ISTS)
Bit
Register
Reset value
Type
Description
Bit 15: 1
Reserved
0x0000
resd
Kept at its default value.
Bit 0
OVFIF
0x0
rw0c
Overflow interrupt flag
This bit is set by hardware at an update event. It is
cleared by software.
0: No update event occurs.