#ifndef PORTA_DETECT_H #define PORTA_DETECT_H #include #include #define USBA_PLUGIN_DEB_TIME 100 /* in unit of ms */ #define USBA_PLUGOUT_DEB_TIME 60000 /* in unit of ms */ #define USBA_PLUGOUT_IOUT_LS_THERSH 10 /* in unit of mA */ void usba_plugin_detect_init(void); void usba_plugin_detect_deinit(void); bool usba_plugin_detect(void); void usba_plugout_detect_init(void); void usba_plugout_detect_deinit(void); bool usba_plugout_detect(void); #endif /* APP_PORTA_DETECT_H */