General Timer/Counter Control Register
Name:
GTCCR
Offset:
0x2F
Reset:
0x00
Access:
Bit76543210
TSMPSR
AccessR/WR/W
Reset00

Bit 7 – TSM: Timer/Counter Synchronization Mode

Timer/Counter Synchronization Mode

Writing the TSM bit to one activates the Timer/Counter Synchronization mode. In this mode, the value that is written to the PSR bit is kept, hence keeping the Prescaler Reset signal asserted. This ensures that the Timer/Counter is halted and can be configured without the risk of advancing during configuration. When the TSM bit is written to zero, the PSR bit is cleared by hardware, and the Timer/Counter start counting.

Bit 0 – PSR: Prescaler 0 Reset Timer/Counter 0

Prescaler 0 Reset Timer/Counter 0

When this bit is one, the Timer/Counter0 prescaler will be Reset. This bit is normally cleared immediately by hardware, except if the TSM bit is set.