DOOR.h 331 B

1234567891011121314151617181920212223
  1. #ifndef __DOOR_H__
  2. #define __DOOR_H__
  3. #include <stdint.h>
  4. typedef enum
  5. {
  6. OFF = 0,
  7. ON
  8. } SwitchStatus;
  9. void BoardInit(void);
  10. uint8_t Button_Left_Read_Data(void);
  11. void BeepStatusSet(SwitchStatus status);
  12. void LedWarnStatusSet(SwitchStatus status);
  13. void LedSafeStatusSet(SwitchStatus status);
  14. #endif