/************************************************************************** * * Copyright (c) 2019-2019 Diality Inc. - All Rights Reserved. * * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * * @file Buttons.h * * @date 20-Sep-2019 * @author S. Nash * * @brief Buttons header file. * **************************************************************************/ #ifndef __BUTTONS_H__ #define __BUTTONS_H__ #include "Common.h" // ********** public definitions ********** typedef enum Buttons { BUTTON_OFF = 0, // Off button BUTTON_STOP, // Stop button NUM_OF_BUTTONS } BUTTON_T; // ********** public function prototypes ********** void initButtons( void ); void execButtons( void ); BOOL isStopButtonPressed( void ); BOOL isButtonPressedRaw( BUTTON_T button ); void userConfirmOffButton( void ); SELF_TEST_STATUS_T execStuckButtonTest( void ); #endif