#ifndef _HAL_BUTTON_H #define _HAL_BUTTON_H #include "hal_common.h" typedef enum { HAL_BUTTON_STATE_OFF = 0, HAL_BUTTON_STATE_ON = 1, } hal_button_state_e; void hal_button_read(const int in_index, hal_button_state_e *const out_state); #endif /* eof */