20.11.4 TxHLT

Timer Hardware Limit Control Register
Note:
  1. Setting this bit ensures that reading TxTMR will return a valid data value.
  2. When this bit is ‘1’, Timer cannot operate in Sleep mode.
  3. CKPOL must not be changed while ON = 1.
  4. Setting this bit ensures glitch-free operation when the ON bit is enabled or disabled.
  5. When this bit is set, the timer operation will be delayed by two input clocks after the ON bit is set.
  6. Unless otherwise indicated, all modes start upon ON = 1 and stop upon ON = 0 (stops occur without affecting the value of TxTMR).
  7. When TxTMR = TxPR, the next clock clears TxTMR, regardless of the operating mode.
Name: TxHLT
Address: 0x28F,0x295,0x29B

Bit 76543210 
 PSYNCCPOLCSYNCMODE[4:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bit 7 – PSYNC

Timer Prescaler Synchronization Enable bit(1, 2)
ValueDescription
1 Timer Prescaler Output is synchronized to FOSC/4
0 Timer Prescaler Output is not synchronized to FOSC/4

Bit 6 – CPOL

Timer Clock Polarity Selection bit(3)
ValueDescription
1 Falling edge of input clock clocks timer/prescaler
0 Rising edge of input clock clocks timer/prescaler

Bit 5 – CSYNC

Timer Clock Synchronization Enable bit(4, 5)
ValueDescription
1 The ON bit is synchronized to timer clock input
0 The ON bit is not synchronized to timer clock input

Bits 4:0 – MODE[4:0]

Timer Control Mode Selection bits(6, 7)
ValueDescription
00000 to 11111 See Table 20-1
Setting this bit ensures that reading TxTMR will return a valid data value. When this bit is ‘1’, Timer cannot operate in Sleep mode. CKPOL must not be changed while ON = 1. Setting this bit ensures glitch-free operation when the ON bit is enabled or disabled. When this bit is set, the timer operation will be delayed by two input clocks after the ON bit is set. Unless otherwise indicated, all modes start upon ON = 1 and stop upon ON = 0 (stops occur without affecting the value of TxTMR). When TxTMR = TxPR, the next clock clears TxTMR, regardless of the operating mode.