47#define RAW_CAN_DEV_UNDEF (-1)
144#if defined(MODULE_CAN_MBOX) || defined(DOXYGEN)
259#if defined(MODULE_CAN_TRX) || defined(DOXYGEN)
int raw_can_free_frame(can_rx_data_t *frame)
Free a received frame.
int raw_can_power_down(int ifnum)
Power down a given interface.
int raw_can_get_ifnum_by_name(const char *name)
Get the interface number of a given interface.
int raw_can_power_up(int ifnum)
Power up a given interface.
int raw_can_get_can_opt(int ifnum, can_opt_t *opt)
Get a CAN option opt from interface ifnum.
int raw_can_subscribe_rx(int ifnum, struct can_filter *filter, kernel_pid_t pid, void *param)
Subscribe to a CAN filter.
int raw_can_unsubscribe_rx_mbox(int ifnum, struct can_filter *filter, mbox_t *mbox, void *param)
Unsubscribe from reception for the given CAN filter and mbox.
int raw_can_unsubscribe_rx(int ifnum, struct can_filter *filter, kernel_pid_t pid, void *param)
Unsubscribe from reception for the given CAN filter on pid thread.
int raw_can_set_can_opt(int ifnum, can_opt_t *opt)
Set a CAN option opt to interface ifnum.
int raw_can_send(int ifnum, const struct can_frame *frame, kernel_pid_t pid)
Send a CAN frame.
int raw_can_abort(int ifnum, int handle)
Abort a CAN frame.
int raw_can_subscribe_rx_mbox(int ifnum, struct can_filter *filter, mbox_t *mbox, void *param)
Subscribe to a CAN filter.
int raw_can_send_mbox(int ifnum, const struct can_frame *frame, mbox_t *mbox)
Send a CAN frame.
const char * raw_can_get_name_by_ifnum(int ifnum)
Get the interface name of a given interface number.
int raw_can_set_trx(int ifnum, can_trx_t *trx)
Set a transceiver for a given interface.
int raw_can_set_bitrate(int ifnum, uint32_t bitrate, uint32_t sample_point)
Set the given bitrate/sample_point to the given ifnum.
candev_dev_t * raw_can_get_dev_by_ifnum(int ifnum)
Get the candev descriptor from a given interface number.
CAN generic transceiver interface.
int16_t kernel_pid_t
Unique process identifier.
Scheduler API definition.
Controller Area Network filter.
Controller Area Network frame.
Structure to pass a CAN option.
Generic transceiver descriptor.
candev descriptor to pass to the device thread
Mailbox struct definition.
Definitions high-level CAN interface.
Definitions of high-level CAN interface.
Definitions of CAN device interface.