can.h File Reference
#include <stdint.h>
#include <csp/csp.h>
#include <csp/interfaces/csp_if_can.h>

Go to the source code of this file.

Data Structures

struct  can_frame_t
 CAN Frame. More...
 

Typedefs

typedef uint32_t can_id_t
 CAN Identifier. More...
 

Enumerations

enum  can_error_t { CAN_ERROR = 0, CAN_NO_ERROR = 1 }
 

Functions

int can_init (uint32_t id, uint32_t mask, struct csp_can_config *conf)
 
int can_send (can_id_t id, uint8_t *data, uint8_t dlc)
 
int csp_can_rx_frame (can_frame_t *frame, CSP_BASE_TYPE *task_woken)