Go to the source code of this file.
Functions | |
_DECL_EXTERNALLY void | handle_debouncing (void) |
RIT job for handling debouncing. Defined & used in button_irq.c. | |
BUTTON_Error | BUTTON_Init (u8 options) |
Initializes the BUTTON peripherals. | |
void | BUTTON_Deinit (void) |
Deinitializes the buttons, by removing all jobs, disabling the interrupts, and removing the debouncing job from the RIT. | |
Variables | |
_USED_EXTERNALLY bool | debouncer_on = false |
Flag to indicate if the debouncer is currently active. Used in button_irq.c. | |
void BUTTON_Deinit | ( | void | ) |
Deinitializes the buttons, by removing all jobs, disabling the interrupts, and removing the debouncing job from the RIT.
Definition at line 43 of file buttons.c.
BUTTON_Error BUTTON_Init | ( | u8 | options | ) |
Initializes the BUTTON peripherals.
options | Button options from the BUTTON_Config enum |
Definition at line 15 of file buttons.c.
_DECL_EXTERNALLY void handle_debouncing | ( | void | ) |
RIT job for handling debouncing. Defined & used in button_irq.c.
RIT job for handling debouncing. Defined & used in button_irq.c.
Definition at line 29 of file buttons_irq.c.
_USED_EXTERNALLY bool debouncer_on = false |