Classes | Typedefs | Functions | Variables
communications.h File Reference
#include <asf.h>
#include "globals.h"
#include "spiTouINS.h"
#include "../../../src/ISLogger.h"
#include "../hw-libs/communications/CAN_comm.h"
Include dependency graph for communications.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  PACKED
 
union  PACKED
 

Typedefs

typedef struct PACKED is_can_message
 
typedef struct PACKED is_evb_log_stream
 

Functions

void callback_cdc_disable (void)
 
void callback_cdc_set_config (uint8_t port, usb_cdc_line_coding_t *cfg)
 
void callback_cdc_set_dtr (uint8_t port, bool b_enable)
 
void com_bridge_forward (uint32_t srcPort, uint8_t *buf, int len)
 
void com_bridge_smart_forward (uint32_t srcPort, uint32_t ledPin)
 
void communications_init (void)
 
int comRead (int serialNum, unsigned char *buf, int size, uint32_t ledPin)
 
int comRxUsed (int serialNum)
 
int comWrite (int serialNum, const unsigned char *buf, int size, uint32_t ledPin)
 
void log_uINS_data (cISLogger &logger, is_comm_instance_t &comm)
 
void step_com_bridge (is_comm_instance_t &comm)
 
void uINS_stream_enable_PPD (is_comm_instance_t &comm)
 
void uINS_stream_enable_std (is_comm_instance_t &comm)
 
void uINS_stream_stop_all (is_comm_instance_t &comm)
 

Variables

bool g_usb_cdc_open
 

Typedef Documentation

◆ is_can_message

typedef struct PACKED is_can_message

◆ is_evb_log_stream

typedef struct PACKED is_evb_log_stream

Function Documentation

◆ callback_cdc_disable()

void callback_cdc_disable ( void  )

◆ callback_cdc_set_config()

void callback_cdc_set_config ( uint8_t  port,
usb_cdc_line_coding_t cfg 
)

Definition at line 96 of file communications.cpp.

◆ callback_cdc_set_dtr()

void callback_cdc_set_dtr ( uint8_t  port,
bool  b_enable 
)

Definition at line 202 of file communications.cpp.

◆ com_bridge_forward()

void com_bridge_forward ( uint32_t  srcPort,
uint8_t *  buf,
int  len 
)

Definition at line 731 of file communications.cpp.

◆ com_bridge_smart_forward()

void com_bridge_smart_forward ( uint32_t  srcPort,
uint32_t  ledPin 
)

Definition at line 616 of file communications.cpp.

◆ communications_init()

void communications_init ( void  )

Definition at line 845 of file communications.cpp.

◆ comRead()

int comRead ( int  serialNum,
unsigned char *  buf,
int  size,
uint32_t  ledPin 
)

Definition at line 65 of file communications.cpp.

◆ comRxUsed()

int comRxUsed ( int  serialNum)

◆ comWrite()

int comWrite ( int  serialNum,
const unsigned char *  buf,
int  size,
uint32_t  ledPin 
)

Definition at line 46 of file communications.cpp.

◆ log_uINS_data()

void log_uINS_data ( cISLogger logger,
is_comm_instance_t comm 
)

Definition at line 319 of file communications.cpp.

◆ step_com_bridge()

void step_com_bridge ( is_comm_instance_t comm)

Definition at line 789 of file communications.cpp.

◆ uINS_stream_enable_PPD()

void uINS_stream_enable_PPD ( is_comm_instance_t comm)

Definition at line 268 of file communications.cpp.

◆ uINS_stream_enable_std()

void uINS_stream_enable_std ( is_comm_instance_t comm)

Definition at line 257 of file communications.cpp.

◆ uINS_stream_stop_all()

void uINS_stream_stop_all ( is_comm_instance_t comm)

Definition at line 251 of file communications.cpp.

Variable Documentation

◆ g_usb_cdc_open

bool g_usb_cdc_open


inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:05