Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Fake CAN controller driver API functions. More...

#include <zephyr/drivers/can.h>
#include <zephyr/fff.h>

Go to the source code of this file.

Data Structures

struct  fake_can_start_Fake
 @fake_of{can_driver_api::start} More...
struct  fake_can_stop_Fake
 @fake_of{can_driver_api::stop} More...
struct  fake_can_set_timing_Fake
 @fake_of{can_driver_api::set_timing} More...
struct  fake_can_set_timing_data_Fake
 @fake_of{can_driver_api::set_timing_data} More...
struct  fake_can_get_capabilities_Fake
 @fake_of{can_driver_api::get_capabilities} More...
struct  fake_can_set_mode_Fake
 @fake_of{can_driver_api::set_mode} More...
struct  fake_can_send_Fake
 @fake_of{can_driver_api::send} More...
struct  fake_can_add_rx_filter_Fake
 @fake_of{can_driver_api::add_rx_filter} More...
struct  fake_can_remove_rx_filter_Fake
 @fake_of{can_driver_api::remove_rx_filter} More...
struct  fake_can_recover_Fake
 @fake_of{can_driver_api::recover} More...
struct  fake_can_get_state_Fake
 @fake_of{can_driver_api::get_state} More...
struct  fake_can_set_state_change_callback_Fake
 @fake_of{can_driver_api::set_state_change_callback} More...
struct  fake_can_get_max_filters_Fake
 @fake_of{can_driver_api::get_max_filters} More...
struct  fake_can_get_core_clock_Fake
 @fake_of{can_driver_api::get_core_clock} More...

Typedefs

typedef struct fake_can_start_Fake fake_can_start_Fake
 @fake_of{can_driver_api::start}
typedef struct fake_can_stop_Fake fake_can_stop_Fake
 @fake_of{can_driver_api::stop}
typedef struct fake_can_set_timing_Fake fake_can_set_timing_Fake
 @fake_of{can_driver_api::set_timing}
typedef struct fake_can_set_timing_data_Fake fake_can_set_timing_data_Fake
 @fake_of{can_driver_api::set_timing_data}
typedef struct fake_can_get_capabilities_Fake fake_can_get_capabilities_Fake
 @fake_of{can_driver_api::get_capabilities}
typedef struct fake_can_set_mode_Fake fake_can_set_mode_Fake
 @fake_of{can_driver_api::set_mode}
typedef struct fake_can_send_Fake fake_can_send_Fake
 @fake_of{can_driver_api::send}
typedef struct fake_can_add_rx_filter_Fake fake_can_add_rx_filter_Fake
 @fake_of{can_driver_api::add_rx_filter}
typedef struct fake_can_remove_rx_filter_Fake fake_can_remove_rx_filter_Fake
 @fake_of{can_driver_api::remove_rx_filter}
typedef struct fake_can_recover_Fake fake_can_recover_Fake
 @fake_of{can_driver_api::recover}
typedef struct fake_can_get_state_Fake fake_can_get_state_Fake
 @fake_of{can_driver_api::get_state}
typedef struct fake_can_set_state_change_callback_Fake fake_can_set_state_change_callback_Fake
 @fake_of{can_driver_api::set_state_change_callback}
typedef struct fake_can_get_max_filters_Fake fake_can_get_max_filters_Fake
 @fake_of{can_driver_api::get_max_filters}
typedef struct fake_can_get_core_clock_Fake fake_can_get_core_clock_Fake
 @fake_of{can_driver_api::get_core_clock}

Functions

void fake_can_start_reset (void)
int fake_can_start (const struct device *arg0)
void fake_can_stop_reset (void)
int fake_can_stop (const struct device *arg0)
void fake_can_set_timing_reset (void)
int fake_can_set_timing (const struct device *arg0, const struct can_timing *arg1)
void fake_can_set_timing_data_reset (void)
int fake_can_set_timing_data (const struct device *arg0, const struct can_timing *arg1)
void fake_can_get_capabilities_reset (void)
int fake_can_get_capabilities (const struct device *arg0, can_mode_t *arg1)
void fake_can_set_mode_reset (void)
int fake_can_set_mode (const struct device *arg0, can_mode_t arg1)
void fake_can_send_reset (void)
int fake_can_send (const struct device *arg0, const struct can_frame *arg1, k_timeout_t arg2, can_tx_callback_t arg3, void *arg4)
void fake_can_add_rx_filter_reset (void)
int fake_can_add_rx_filter (const struct device *arg0, can_rx_callback_t arg1, void *arg2, const struct can_filter *arg3)
void fake_can_remove_rx_filter_reset (void)
void fake_can_remove_rx_filter (const struct device *arg0, int arg1)
void fake_can_recover_reset (void)
int fake_can_recover (const struct device *arg0, k_timeout_t arg1)
void fake_can_get_state_reset (void)
int fake_can_get_state (const struct device *arg0, enum can_state *arg1, struct can_bus_err_cnt *arg2)
void fake_can_set_state_change_callback_reset (void)
void fake_can_set_state_change_callback (const struct device *arg0, can_state_change_callback_t arg1, void *arg2)
void fake_can_get_max_filters_reset (void)
int fake_can_get_max_filters (const struct device *arg0, bool arg1)
void fake_can_get_core_clock_reset (void)
int fake_can_get_core_clock (const struct device *arg0, uint32_t *arg1)

Variables

fake_can_start_Fake fake_can_start_fake
fake_can_stop_Fake fake_can_stop_fake
fake_can_set_timing_Fake fake_can_set_timing_fake
fake_can_set_timing_data_Fake fake_can_set_timing_data_fake
fake_can_get_capabilities_Fake fake_can_get_capabilities_fake
fake_can_set_mode_Fake fake_can_set_mode_fake
fake_can_send_Fake fake_can_send_fake
fake_can_add_rx_filter_Fake fake_can_add_rx_filter_fake
fake_can_remove_rx_filter_Fake fake_can_remove_rx_filter_fake
fake_can_recover_Fake fake_can_recover_fake
fake_can_get_state_Fake fake_can_get_state_fake
fake_can_set_state_change_callback_Fake fake_can_set_state_change_callback_fake
fake_can_get_max_filters_Fake fake_can_get_max_filters_fake
fake_can_get_core_clock_Fake fake_can_get_core_clock_fake

Detailed Description

Fake CAN controller driver API functions.