OpenShoe
1.0
|
00001 00019 #ifndef EXTERNAL_INTERFACE_H_ 00020 #define EXTERNAL_INTERFACE_H_ 00021 00022 #include "compiler.h" 00023 00024 void com_interface_init(void); 00025 00026 // These are the two main functions used by the interface. 00027 void transmit_data(void); 00028 void receive_command(void); 00029 00030 // These functions are used by command response functions in commands.c 00031 void set_state_output(uint8_t state_id, uint8_t divider); 00032 void reset_output_counters(void); 00033 00034 00035 // USB vbus callback function 00037 void vbus_event_callback(bool b_high); 00039 00040 #endif /* EXTERNAL_INTERFACE_H_ */ 00041