Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
can_sja1000_data Struct Reference

SJA1000 driver internal data structure. More...

#include <can_sja1000.h>

Data Fields

struct can_driver_data common
 
atomic_t rx_allocs [ATOMIC_BITMAP_SIZE(CONFIG_CAN_MAX_FILTER)]
 
struct can_sja1000_rx_filter filters [CONFIG_CAN_MAX_FILTER]
 
struct k_mutex mod_lock
 
enum can_state state
 
struct k_sem tx_idle
 
can_tx_callback_t tx_callback
 
void * tx_user_data
 
void * custom
 

Detailed Description

SJA1000 driver internal data structure.

Field Documentation

◆ common

struct can_driver_data can_sja1000_data::common

◆ custom

void* can_sja1000_data::custom

◆ filters

struct can_sja1000_rx_filter can_sja1000_data::filters[CONFIG_CAN_MAX_FILTER]

◆ mod_lock

struct k_mutex can_sja1000_data::mod_lock

◆ rx_allocs

atomic_t can_sja1000_data::rx_allocs[ATOMIC_BITMAP_SIZE( CONFIG_CAN_MAX_FILTER)]

◆ state

enum can_state can_sja1000_data::state

◆ tx_callback

can_tx_callback_t can_sja1000_data::tx_callback

◆ tx_idle

struct k_sem can_sja1000_data::tx_idle

◆ tx_user_data

void* can_sja1000_data::tx_user_data

The documentation for this struct was generated from the following file: