EasyManua.ls Logo

Bluetrum Technology AB53 Series - Timer3;4;5 Special Function Registers

Default Icon
33 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
4Timer 16
Copyright © 2018, www. bluetrum.com. All Rights Reserved
16
4.3 Timer3/4/5 Special Function Registers
Register 4-5TMR3CON/TMR4CON/TMR5CON: Timer3/4/5 Control Register
Bit
Name
Mode
Default
Description
31:18
-
-
-
Unused
17
CPND
WR
0
Timer capture pending
0: not capture
1: capture
16
TPND
WR
0
Timer overflow pending
0: not overflow
1: overflow
15:12
-
-
-
Unused
11
PWM2EN
WR
0
Timer pwm2 enable bit
0: disable
1: enable
10
PWM1EN
WR
0
Timer pwm1 enable bit
0: disable
1: enable
9
PWM0EN
WR
0
Timer pwm0 enable bit
0: disable
1: enable
8
CIE
WR
0
Timer capture interrupt enable
0: disable
1: enable
7
TIE
WR
0
Timer overflow interrupt enable
0: disable
1: enable
6
INCSRC
WR
0
Increase source select
0: select TMR_INC
1: select external PIN
5:4
CPTEDSEL
WR
0x0
Timer Capture edge select
00: No Capture
01:Capture PIN rising edge
10: Capture PIN falling edge
11: Capture PIN edge
3:2
INCSEL
WR
0x0
Increase clock selection
00: System Clock
01: Counter input rising
10: Counter input falling
11: Counter input edge
1
CPTEN
WR
0
Timer capture Enable Bit
0: Disable
1: Enable
0
TMREN
WR
0
Timer Enable Bit
0: Disable
1: Enable
Register 4-6TMR3CPND/TMR4CPND/TMR5CPND: Timer3/4/5 clear pending Register
Bit
Name
Mode
Default
Description
31:18
-
-
-
Unused
17
CPCLR
W
0
Capture pending clear bit
0: inactive
1: clear pending
16
TPCLR
W
0
Timer overflow pending clear bit
0: inactive
1: clear pending
15:0
-
-
-
Unused
Register 4-7TMR3CNT/TMR4CNT/TMR5CNT: Timer3/4/5 counter Register