![]() |
Speeduino
|
Structures and functions for polling actions at specific frequencies. More...

Go to the source code of this file.
Classes | |
| struct | polledAction_t |
| An action to be polled at a specific frequency. More... | |
Typedefs | |
| using | byte = uint8_t |
Functions | |
| static void | executePolledAction (const polledAction_t &action, byte loopTimer) |
| Conditionally execute a polled action if the timer bit is set. | |
| static void | executePolledArrayAction (uint8_t index, const polledAction_t *pActions, byte loopTimer) |
| Execute a polled action at a specific index in the array of actions. | |
Structures and functions for polling actions at specific frequencies.
|
inlinestatic |
Conditionally execute a polled action if the timer bit is set.
| action | The action to execute |
| loopTimer | The current loop timer value (e.g. LOOP_TIMER) |


|
inlinestatic |
Execute a polled action at a specific index in the array of actions.
| index | The index of the action to execute |
| pActions | The array of actions to execute from |
| loopTimer | The current loop timer value (e.g. LOOP_TIMER) |

