Page 30 - DEC40053 Ebook_Timer
P. 30
TMRXH: TMRXL
TI MER REGI STER
Many PIC18 timers are 16-bit wide. Each 16-bit
timer is accessed as two separate registers.
Timer register can be used as an 8-bit and
16-bit timer.
16-bit r egister is accessed as low byte and
high byte.
The low byte is called TMRxL (TimerX low
byte)
The high byte is referred to as TMRxH
(TimerX high byte).
8-bit register is accessed as TMRxL only.
*x refers to number of Timer module.
-22-