32 #include "../INC/switchesIRQhandler.h"
40 if (OS_NO_ERR != err) {
41 error(
"SW_ISR_FLAG_ERR: %i\n", err);
#define error(...)
Prints the Error-messages in the terminal.
#define PIO_SW_DEBUG_MSK
Debug mask for PIO-Switches.
OS_FLAG_GRP * userInputTaskFlagsGrp
The flags group used in the user-input-task.
#define PIO_SW_MODE_MSK
Mode mask for PIO-Switches.
#define SW_UPDATE_EVENT
signalizes that switches changed
void switchesIRQhandler(void *context)
IRQ-Handler for switches.
#define PIO_SW_LR_MSK
Left/Right mask for PIO-Switches.
static __inline__ void PIO_SW_ClearEdgeCptBits(uint32_t clearbits)
Function to clear bits of switches edgecapture register.