SDAA111 October 2025 CC2340R5
Once a user operation or hardware callback sets an event, this is processed by the following routines.
| Routine | Function |
|---|---|
| ACTION_CCLOCK | If a motor movement is not ongoing, then set the direction and action variables accordingly and set ACTION_START |
| ACTION_CLOCK | If a motor movement is not ongoing, then set the direction and action variables accordingly and set ACTION_START |
| ACTION_START | Start the motor by driving to the sleep pin high, starting the motor step clock, beginning ADC conversions, and initializing the LGPT sync timer for ADC measurements |
| ACTION_STOP | Stop the motor by closing all peripherals commenced in ACTION_START and driving the sleep pin low |