SWCU193A April 2023 – August 2024 CC2340R2 , CC2340R5 , CC2340R5-Q1
Each channel implements 15 different channel actions. Configured in CnCFG.CCACT, actions are categorized as one-shot and continuous:
Table 10-1 lists the 15 channel actions.
LGPT.CnCFG[3:0] CCACT bit field | Action | One-shot or Continuous |
0 | Disable channel | One-shot |
1 | Set on capture, and then disable channel | One-shot |
2 | Clear on zero, toggle on compare, and then disable channel | One-shot |
3 | Set on zero, toggle on compare, and then disable channel | One-shot |
4 | Clear on compare, and then disable channel | One-shot |
5 | Set on compare, and then disable channel | One-shot |
6 | Toggle on compare, and then disable channel | One-shot |
7 | Pulse on compare, and then disable channel | One-shot |
8 | Period and pulse width measurement | Continuous |
9 | Set on capture repeatedly | Continuous |
10 | Clear on zero, toggle on compare repeatedly | Continuous |
11 | Set on zero, toggle on compare repeatedly | Continuous |
12 | Clear on compare repeatedly | Continuous |
13 | Set on compare repeatedly | Continuous |
14 | Toggle on compare repeatedly | Continuous |
15 | Pulse on compare repeatedly | Continuous |
After configuration, the channel requests updates of enabled event outputs (set by CnCFG.OUT fields) according to the channel action description in the table above. There are three channel actions that require further description.