#include <stdint.h>
#include <stdbool.h>
Go to the source code of this file.
Data Structures | |
struct | canbus_message_t |
Typedefs | |
typedef bool(* | can_rx_ptr) (canbus_message_t) |
typedef bool(* | can_rx_enqueue_fn) (canbus_message_t msg, can_rx_ptr callback) |
Functions | |
void | canbus_init (void) |
bool | canbus_enabled (void) |
bool | canbus_queue_tx (canbus_message_t message, bool ext_id) |
bool | canbus_add_filter (uint32_t id, uint32_t mask, bool ext_id, can_rx_ptr callback) |
typedef bool(* can_rx_enqueue_fn) (canbus_message_t msg, can_rx_ptr callback) |
typedef bool(* can_rx_ptr) (canbus_message_t) |
bool canbus_add_filter | ( | uint32_t | id, |
uint32_t | mask, | ||
bool | ext_id, | ||
can_rx_ptr | callback | ||
) |
bool canbus_enabled | ( | void | ) |
void canbus_init | ( | void | ) |
bool canbus_queue_tx | ( | canbus_message_t | message, |
bool | ext_id | ||
) |