the logical button status, required to manage the event returned when the switch is pushed or released.
QueueHandle_t
control_event_queue
the queue to which the resulting control event is sent
Private Attributes
uint32_t
irq_event_mask_config
A memory slot reserved to store the irq_event_mask.
Detailed Description
rtos_SwitchButton is processed by an Interrupt Service Routine (ISR) under control of FreeRTOS routines.
Switch status is the status of the physical (i.e. mechanical) switch device.
Button status is the logical status of the button (regardless if the switch is wired active Lo or HI).
During each ISR, the status of the button is compared to the previous status and the function member rtos_process_IRQ_event() sends an event accordingly toward the control_event output queue.