13 #ifndef __COMMUNICATIONS_H_ 14 #define __COMMUNICATIONS_H_ 19 #include "../../../src/ISLogger.h" 20 #include "../hw-libs/communications/CAN_comm.h" 29 int comWrite(
int serialNum,
const unsigned char *buf,
int size, uint32_t ledPin );
30 int comRead(
int serialNum,
unsigned char *buf,
int size, uint32_t ledPin);
69 #endif // __COMMUNICATIONS_H_
void(* pfnHandleUinsData)(p_data_hdr_t &dataHdr, uDatasets &data)
void(* pfnHandleHostData)(is_comm_instance_t *comm, protocol_type_t ptype, uint32_t srcPort)
int comWrite(int serialNum, const unsigned char *buf, int size, uint32_t ledPin)
void step_com_bridge(is_comm_instance_t &comm)
struct PACKED is_evb_log_stream
int comRead(int serialNum, unsigned char *buf, int size, uint32_t ledPin)
void uINS_stream_enable_PPD(void)
void uINS_stream_enable_std(void)
struct PACKED is_can_message
void com_bridge_forward(uint32_t srcPort, uint8_t *buf, int len)
void uINS_stream_stop_all(void)
int comRxUsed(int serialNum)
void callback_cdc_set_dtr(uint8_t port, bool b_enable)
void communications_init(void)
USBInterfaceDescriptor data
void comunications_set_host_data_callback(pfnHandleHostData pfn)
void com_bridge_smart_forward(uint32_t srcPort, uint32_t ledPin)
void comunications_set_uins_data_callback(pfnHandleUinsData pfn)
void callback_cdc_disable(void)
Autogenerated API include file for the Atmel Software Framework (ASF)
void log_uINS_data(cISLogger &logger, is_comm_instance_t &comm)
is_comm_instance_t g_commTx
void callback_cdc_set_config(uint8_t port, usb_cdc_line_coding_t *cfg)