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
Timer capture pending
0: not capture
1: capture
Timer overflow pending
0: not overflow
1: overflow
Timer pwm2 enable bit
0: disable
1: enable
Timer pwm1 enable bit
0: disable
1: enable
Timer pwm0 enable bit
0: disable
1: enable
Timer capture interrupt enable
0: disable
1: enable
Timer overflow interrupt enable
0: disable
1: enable
Increase source select
0: select TMR_INC
1: select external PIN
Timer Capture edge select
00: No Capture
01:Capture PIN rising edge
10: Capture PIN falling edge
11: Capture PIN edge
Increase clock selection
00: System Clock
01: Counter input rising
10: Counter input falling
11: Counter input edge
Timer capture Enable Bit
0: Disable
1: Enable
Timer Enable Bit
0: Disable
1: Enable
Register 4-6TMR3CPND/TMR4CPND/TMR5CPND: Timer3/4/5 clear pending Register
Capture pending clear bit
0: inactive
1: clear pending
Timer overflow pending clear bit
0: inactive
1: clear pending
Register 4-7TMR3CNT/TMR4CNT/TMR5CNT: Timer3/4/5 counter Register