3.10.7.6.1.7 T5CNTL – Timer5 Counter Register Low Byte

The T5CNTH/L registers provide direct access, both for read and for write operations to the 16-bit counter. The T5CNTL register represents the lower byte of the counter value. To ensure that both the high and low bytes are read and written simultaneously when the CPU accesses these registers, the access is performed using an 8-bit temporary high-byte register (TEMP). This temporary register is shared by all the other 16-bit registers.

See Accessing 16-bit Registers section for more details. Modifying T5CNTL while the counter is running processes poses the risk of missing a compare match between T5CNT and the T5OCR register. Writing to the T5CNTL register blocks (removes) the compare match on the following timer clock.

Name: T5CNTL
Offset: 0x08D
Reset: 0x00

Bit 76543210 
 T5CNT[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bits 7:0 – T5CNT[7:0] Timer5 Counter Value Low Byte