EasyManua.ls Logo

APPOTECH CW6632B - Timer1 Special Function Registers; CW6632 B Bluetooth 3.0 Audio Player SOC Version; Copyright ©2015, Www.appotech.com. All Rights Reserved

Default Icon
133 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...
64 7.2 Timer1
CW6632B Bluetooth 3.0 Audio Player SOC Version 1.0.0
Copyright ©2015, www.appotech.com. All Rights Reserved.
7.2.2 Timer1 Special Function Registers
Register 7-5 TMR1CON0 Timer1 control 0
Position
7
6
5
4
3
2
1
0
Name
T1ES
T1M
T1CPSEL
T1IS
Default
0
0
0
0
0
0
0
0
Access
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
T1ES: Timer1 Capture Edge Select
00 = CAP1 Rising Edge
01 = CAP1 Falling Edge
1X= CAP1 Rising Edge and Falling Edge
T1M: Timer1 Mode Select
00 = Timer1 is disabled
01 = Timer1 is enabled and works in Counter Mode
10 = Timer1 is enabled and works in PWM Mode
11 = Timer1 is enabled and works in Capture Mode
T1CPSEL: Timer1 capture input pin select
0 = Capture CAP1
1 = Capture IR1
T1IS: Timer1 Increase Source
000 = TMR1 Rising Edge
001 = TMR1 Falling Edge
010 = TMR1 Rising and Falling Edge
011 = External 32 KHz crystal oscillator
1xx = System clock cycle
Register 7-6 TMR1CON1 Timer1 control 1
Position
7
6
5
4
3
2
1
0
Name
T1TPND
T1CPND
T1TIE
T1CIE
-
T1PSR
Default
0
0
0
0
-
0
0
0
Access
R/W
R/W
R/W
R/W
-
R/W
R/W
R/W
T1TPND: Timer1 over Flow Pending Bit
0 = Not Pending
1 = Pending
T1CPND: Timer1 Capture mode Pending Bit
0 = Not Pending
1 = Pending
T1TIE: Timer1 over Flow Interrupt Enable Bit
0 = Interrupt Disable
1 = Interrupt Enable

Table of Contents