32.5.1 Control A
| Name: | CTRLA |
| Offset: | 0x00 |
| Reset: | 0x00 |
| Property: | - |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| RUNSTDBY | CASCADE | SYNCUPD | CLKSEL[2:0] | ENABLE | |||||
| Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | ||
| Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | ||
Bit 6 – RUNSTDBY Run Standby
1’ to this bit enables the peripheral to run in Standby sleep
mode.| Value | Description |
|---|---|
| 0 | The peripheral will not run in Standby |
| 1 | The peripheral will run in Standby |
Bit 5 – CASCADE Cascade Two Timer/Counters
| Value | Description |
|---|---|
| 0 | The peripheral is used for 16-bit operation or used for the two Least Significant Bytes (LSBs) in 32-bit operation |
| 1 | The peripheral is used for the two MSBs in 32-bit operation |
Bit 4 – SYNCUPD Synchronize Update
| Value | Description |
|---|---|
| 0 | The peripheral is not synchronized |
| 1 | The peripheral will restart whenever TCAn is restarted or overflows. This can be used to synchronize capture with the PWM period |
Bits 3:1 – CLKSEL[2:0] Clock Select
This bit field controls the clock source for this peripheral.
| Value | Name | Description |
|---|---|---|
| 0x0 | DIV1 | CLK_PER |
| 0x1 | DIV2 | CLK_PER / 2 |
| 0x2 | TCA0 | CLK_TCA from TCA0 |
| 0x3-0x6 | - | Reserved |
| 0x7 | EVENT | Positive edge on event input |
Bit 0 – ENABLE Enable
1’ to this bit enables the Timer/Counter type B
peripheral.