7#ifndef ZEPHYR_INCLUDE_DRIVERS_CAN_CAN_FAKE_H_
8#define ZEPHYR_INCLUDE_DRIVERS_CAN_CAN_FAKE_H_
Controller Area Network (CAN) driver API.
#define DECLARE_FAKE_VOID_FUNC(...)
Definition: fff.h:8691
#define DECLARE_FAKE_VALUE_FUNC(...)
Definition: fff.h:8684
void(* can_state_change_callback_t)(const struct device *dev, enum can_state state, struct can_bus_err_cnt err_cnt, void *user_data)
Defines the state change callback handler function signature.
Definition: can.h:312
uint32_t can_mode_t
Provides a type to hold CAN controller configuration flags.
Definition: can.h:125
void(* can_rx_callback_t)(const struct device *dev, struct can_frame *frame, void *user_data)
Defines the application callback handler function signature for receiving.
Definition: can.h:301
void(* can_tx_callback_t)(const struct device *dev, int error, void *user_data)
Defines the application callback handler function signature.
Definition: can.h:292
can_state
Defines the state of the CAN controller.
Definition: can.h:130
__UINT32_TYPE__ uint32_t
Definition: stdint.h:90
CAN controller error counters.
Definition: can.h:232
CAN filter structure.
Definition: can.h:218
CAN frame structure.
Definition: can.h:172
CAN bus timing structure.
Definition: can.h:271
Runtime device structure (in ROM) per driver instance.
Definition: device.h:403
Kernel timeout type.
Definition: sys_clock.h:65