7#ifndef ZEPHYR_INCLUDE_DRIVERS_CAN_CAN_FAKE_H_
8#define ZEPHYR_INCLUDE_DRIVERS_CAN_CAN_FAKE_H_
11#include <zephyr/fff.h>
DECLARE_FAKE_VALUE_FUNC(int, fake_can_start, const struct device *)
DECLARE_FAKE_VOID_FUNC(fake_can_remove_rx_filter, const struct device *, int)
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:304
uint32_t can_mode_t
Provides a type to hold CAN controller configuration flags.
Definition: can.h:110
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:293
void(* can_tx_callback_t)(const struct device *dev, int error, void *user_data)
Defines the application callback handler function signature.
Definition: can.h:284
can_state
Defines the state of the CAN controller.
Definition: can.h:115
CAN controller error counters.
Definition: can.h:224
CAN filter structure.
Definition: can.h:207
CAN frame structure.
Definition: can.h:152
CAN bus timing structure.
Definition: can.h:263
Runtime device structure (in ROM) per driver instance.
Definition: device.h:378
Kernel timeout type.
Definition: sys_clock.h:65