20.12.1 TxCON
Name: | TxCON |
Address: | 0x028E,0x0294 |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
CKPS[1:0] | SYNC | RD16 | ON | ||||||
Access | R/W | R/W | R/W | R/W | R/W | ||||
Reset | 0 | 0 | 0 | 0 | 0 |
Bits 5:4 – CKPS[1:0] Timer Input Clock Prescaler Select
Reset States: |
|
Value | Description |
---|---|
11 | 1:8 Prescaler value |
10 | 1:4 Prescaler value |
01 | 1:2 Prescaler value |
00 | 1:1 Prescaler value |
Bit 2 – SYNC Timer External Clock Input Synchronization Control
Reset States: |
|
Value | Name | Description |
---|---|---|
x | CS = FOSC/4 or FOSC | This bit is ignored. Timer uses the incoming clock as is. |
1 | All other clock sources | Do not synchronize external clock input |
0 | All other clock sources | Synchronize external clock input with system clock |
Bit 1 – RD16 16-Bit Read/Write Mode Enable
Reset States: |
|
Value | Description |
---|---|
1 | Enables register read/write of Timer in one 16-bit operation |
0 | Enables register read/write of Timer in two 8-bit operations |
Bit 0 – ON Timer On
Reset States: |
|
Value | Description |
---|---|
1 | Enables Timer |
0 | Disables Timer |