![ARTERY AT32F435 Series Скачать руководство пользователя страница 251](http://html1.mh-extra.com/html/artery/at32f435-series/at32f435-series_reference-manual_2977592251.webp)
AT32F435/437
Series Reference Manual
2022.11.11
Page 251
Rev 2.03
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 overflow event. It is
cleared by software.
0: No overflow event occurs.
1: Overflow event occurs, and OVFEN=0, and OVFS=0
in the TMRx_CTRL1 register:
− An overflow event occurs when OVFG=1 in the
TMRx_SWEVE register
− An overflow event occurs when the counter value
(CVAL) is reinitialized by a trigger event.
14.1.4.5 TMR6 and TMR7 software event register (TMRx_SWEVT)
Bit
Register
Reset value
Type
Description
Bit 15: 1
Reserved
0x0000
resd
Kept at its default value.
Bit 0
OVFSWTR
0x0
rw0c
Overflow event triggered by software
An overflow event is trigged by software.
0: No effect
1: Generate an overflow event by software write
operation.
14.1.4.6 TMR6 and TMR7 counter value (TMRx_CVAL)
Bit
Register
Reset value
Type
Description
Bit 15: 0
CVAL
0x0000
rw
Counter value
14.1.4.7 TMR6 and TMR7 division (TMRx_DIV)
Bit
Register
Reset value
Type
Description
Bit 15: 0
DIV
0x0000
rw
Divider value
The counter clock frequency f
CK_CNT
= f
TMR_CLK
/ (DIV[15:
0]+1).
At each overflow event, DIV value is sent to the DIV
register.
14.1.4.8 TMR6 and TMR7 period register (TMRx_PR)
Bit
Register
Reset value
Type
Description
Bit 15: 0
PR
0x0000
rw
Period value
This indicates the period value of the TMRx counter. The
timer stops working when the period value is 0.