17.14.10 General Timer/Counter Control Register
Name: | GTCCR |
Offset: | 0x2F |
Reset: | 0x00 |
Property: | - |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
TSM | REMAP | PSR | |||||||
Access | R/W | R/W | R/W | ||||||
Reset | 0 | 0 | 0 |
Bit 7 – TSM Timer/Counter Synchronization Mode
Writing the TSM bit to '1' 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 '0', the PSR bit is cleared by hardware, and the Timer/Counter start counting.
Bit 1 – REMAP
REMAP | TO_CLK | OC0B | OC0A | ICP0 | NOTE |
---|---|---|---|---|---|
0 | PA0 | PA1 | PB1 | PB2 | DEFAULT |
1 | PB3 | PA5 | PA3 | PA4 | REMAPPED |