app_detectIsHost.h 400 B

123456789101112131415161718192021222324252627
  1. #ifndef __APP_DETECT_ISHOST_H__
  2. #define __APP_DETECT_ISHOST_H__
  3. #include <stdbool.h>
  4. #include <stdint.h>
  5. #include <string.h>
  6. #include "sdk_common.h"
  7. #include "SEGGER_RTT.h"
  8. #include "system.h"
  9. #include "usr_config.h"
  10. typedef enum
  11. {
  12. DETECT_LR_INIT = 0,
  13. DETECT_LR_IS_RIGHT = 1,
  14. DETECT_LR_IS_LEFT = 2,
  15. } DETECT_LR_e;
  16. void app_detect_Init(void);
  17. uint8_t app_Get_isHost(void);
  18. #endif