Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
can_fake.h File Reference
#include <zephyr/drivers/can.h>
#include <zephyr/fff.h>

Go to the source code of this file.

Data Structures

struct  fake_can_start_Fake
 
struct  fake_can_stop_Fake
 
struct  fake_can_set_timing_Fake
 
struct  fake_can_set_timing_data_Fake
 
struct  fake_can_get_capabilities_Fake
 
struct  fake_can_set_mode_Fake
 
struct  fake_can_send_Fake
 
struct  fake_can_add_rx_filter_Fake
 
struct  fake_can_remove_rx_filter_Fake
 
struct  fake_can_recover_Fake
 
struct  fake_can_get_state_Fake
 
struct  fake_can_set_state_change_callback_Fake
 
struct  fake_can_get_max_filters_Fake
 
struct  fake_can_get_core_clock_Fake
 

Typedefs

typedef struct fake_can_start_Fake fake_can_start_Fake
 
typedef struct fake_can_stop_Fake fake_can_stop_Fake
 
typedef struct fake_can_set_timing_Fake fake_can_set_timing_Fake
 
typedef struct fake_can_set_timing_data_Fake fake_can_set_timing_data_Fake
 
typedef struct fake_can_get_capabilities_Fake fake_can_get_capabilities_Fake
 
typedef struct fake_can_set_mode_Fake fake_can_set_mode_Fake
 
typedef struct fake_can_send_Fake fake_can_send_Fake
 
typedef struct fake_can_add_rx_filter_Fake fake_can_add_rx_filter_Fake
 
typedef struct fake_can_remove_rx_filter_Fake fake_can_remove_rx_filter_Fake
 
typedef struct fake_can_recover_Fake fake_can_recover_Fake
 
typedef struct fake_can_get_state_Fake fake_can_get_state_Fake
 
typedef struct fake_can_set_state_change_callback_Fake fake_can_set_state_change_callback_Fake
 
typedef struct fake_can_get_max_filters_Fake fake_can_get_max_filters_Fake
 
typedef struct fake_can_get_core_clock_Fake fake_can_get_core_clock_Fake
 

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
 

Typedef Documentation

◆ fake_can_add_rx_filter_Fake

typedef struct fake_can_add_rx_filter_Fake fake_can_add_rx_filter_Fake

◆ fake_can_get_capabilities_Fake

typedef struct fake_can_get_capabilities_Fake fake_can_get_capabilities_Fake

◆ fake_can_get_core_clock_Fake

typedef struct fake_can_get_core_clock_Fake fake_can_get_core_clock_Fake

◆ fake_can_get_max_filters_Fake

typedef struct fake_can_get_max_filters_Fake fake_can_get_max_filters_Fake

◆ fake_can_get_state_Fake

typedef struct fake_can_get_state_Fake fake_can_get_state_Fake

◆ fake_can_recover_Fake

typedef struct fake_can_recover_Fake fake_can_recover_Fake

◆ fake_can_remove_rx_filter_Fake

typedef struct fake_can_remove_rx_filter_Fake fake_can_remove_rx_filter_Fake

◆ fake_can_send_Fake

typedef struct fake_can_send_Fake fake_can_send_Fake

◆ fake_can_set_mode_Fake

typedef struct fake_can_set_mode_Fake fake_can_set_mode_Fake

◆ fake_can_set_state_change_callback_Fake

typedef struct fake_can_set_state_change_callback_Fake fake_can_set_state_change_callback_Fake

◆ fake_can_set_timing_data_Fake

typedef struct fake_can_set_timing_data_Fake fake_can_set_timing_data_Fake

◆ fake_can_set_timing_Fake

typedef struct fake_can_set_timing_Fake fake_can_set_timing_Fake

◆ fake_can_start_Fake

typedef struct fake_can_start_Fake fake_can_start_Fake

◆ fake_can_stop_Fake

typedef struct fake_can_stop_Fake fake_can_stop_Fake

Function Documentation

◆ fake_can_add_rx_filter()

int fake_can_add_rx_filter ( const struct device * arg0,
can_rx_callback_t arg1,
void * arg2,
const struct can_filter * arg3 )

◆ fake_can_add_rx_filter_reset()

void fake_can_add_rx_filter_reset ( void )

◆ fake_can_get_capabilities()

int fake_can_get_capabilities ( const struct device * arg0,
can_mode_t * arg1 )

◆ fake_can_get_capabilities_reset()

void fake_can_get_capabilities_reset ( void )

◆ fake_can_get_core_clock()

int fake_can_get_core_clock ( const struct device * arg0,
uint32_t * arg1 )

◆ fake_can_get_core_clock_reset()

void fake_can_get_core_clock_reset ( void )

◆ fake_can_get_max_filters()

int fake_can_get_max_filters ( const struct device * arg0,
bool arg1 )

◆ fake_can_get_max_filters_reset()

void fake_can_get_max_filters_reset ( void )

◆ fake_can_get_state()

int fake_can_get_state ( const struct device * arg0,
enum can_state * arg1,
struct can_bus_err_cnt * arg2 )

◆ fake_can_get_state_reset()

void fake_can_get_state_reset ( void )

◆ fake_can_recover()

int fake_can_recover ( const struct device * arg0,
k_timeout_t arg1 )

◆ fake_can_recover_reset()

void fake_can_recover_reset ( void )

◆ fake_can_remove_rx_filter()

void fake_can_remove_rx_filter ( const struct device * arg0,
int arg1 )

◆ fake_can_remove_rx_filter_reset()

void fake_can_remove_rx_filter_reset ( void )

◆ fake_can_send()

int fake_can_send ( const struct device * arg0,
const struct can_frame * arg1,
k_timeout_t arg2,
can_tx_callback_t arg3,
void * arg4 )

◆ fake_can_send_reset()

void fake_can_send_reset ( void )

◆ fake_can_set_mode()

int fake_can_set_mode ( const struct device * arg0,
can_mode_t arg1 )

◆ fake_can_set_mode_reset()

void fake_can_set_mode_reset ( void )

◆ fake_can_set_state_change_callback()

void fake_can_set_state_change_callback ( const struct device * arg0,
can_state_change_callback_t arg1,
void * arg2 )

◆ fake_can_set_state_change_callback_reset()

void fake_can_set_state_change_callback_reset ( void )

◆ fake_can_set_timing()

int fake_can_set_timing ( const struct device * arg0,
const struct can_timing * arg1 )

◆ fake_can_set_timing_data()

int fake_can_set_timing_data ( const struct device * arg0,
const struct can_timing * arg1 )

◆ fake_can_set_timing_data_reset()

void fake_can_set_timing_data_reset ( void )

◆ fake_can_set_timing_reset()

void fake_can_set_timing_reset ( void )

◆ fake_can_start()

int fake_can_start ( const struct device * arg0)

◆ fake_can_start_reset()

void fake_can_start_reset ( void )

◆ fake_can_stop()

int fake_can_stop ( const struct device * arg0)

◆ fake_can_stop_reset()

void fake_can_stop_reset ( void )

Variable Documentation

◆ fake_can_add_rx_filter_fake

fake_can_add_rx_filter_Fake fake_can_add_rx_filter_fake
extern

◆ fake_can_get_capabilities_fake

fake_can_get_capabilities_Fake fake_can_get_capabilities_fake
extern

◆ fake_can_get_core_clock_fake

fake_can_get_core_clock_Fake fake_can_get_core_clock_fake
extern

◆ fake_can_get_max_filters_fake

fake_can_get_max_filters_Fake fake_can_get_max_filters_fake
extern

◆ fake_can_get_state_fake

fake_can_get_state_Fake fake_can_get_state_fake
extern

◆ fake_can_recover_fake

fake_can_recover_Fake fake_can_recover_fake
extern

◆ fake_can_remove_rx_filter_fake

fake_can_remove_rx_filter_Fake fake_can_remove_rx_filter_fake
extern

◆ fake_can_send_fake

fake_can_send_Fake fake_can_send_fake
extern

◆ fake_can_set_mode_fake

fake_can_set_mode_Fake fake_can_set_mode_fake
extern

◆ fake_can_set_state_change_callback_fake

fake_can_set_state_change_callback_Fake fake_can_set_state_change_callback_fake
extern

◆ fake_can_set_timing_data_fake

fake_can_set_timing_data_Fake fake_can_set_timing_data_fake
extern

◆ fake_can_set_timing_fake

fake_can_set_timing_Fake fake_can_set_timing_fake
extern

◆ fake_can_start_fake

fake_can_start_Fake fake_can_start_fake
extern

◆ fake_can_stop_fake

fake_can_stop_Fake fake_can_stop_fake
extern