CAN Driver

group CANDriver

Typedefs

typedef uint32_t can_id_t

CAN Identifier.

Enums

enum can_error_t

Values:

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)
struct can_frame_t
#include <can.h>

CAN Frame.