Low level device structure for ESP32 CAN (extension of candev_t) More...
Low level device structure for ESP32 CAN (extension of candev_t)
STM32 CAN device descriptor.
#include <can_esp.h>
Data Fields | |
| candev_t | candev |
| candev base structure | |
| canopt_state_t | state |
| current state of device | |
| struct can_frame * | tx_frame |
| frame in transmission | |
| struct can_frame | rx_frames [ESP_CAN_MAX_RX_FRAMES] |
| frames received | |
| struct can_filter | rx_filters [ESP_CAN_MAX_RX_FILTERS] |
| acceptance filter list | |
| uint32_t | rx_frames_wptr |
| pointer to ring buffer for write | |
| uint32_t | rx_frames_rptr |
| pointer to ring buffer for read | |
| uint32_t | rx_frames_num |
| number of frames in ring buffer | |
| uint32_t | rx_filter_num |
| number of acceptance filters | |
| bool | powered_up |
| device is powered up | |
| uint32_t | events |
| events triggered by the last interrupt | |
| const can_conf_t * | conf |
| Configuration. | |
| gpio_t | rx_pin |
| RX pin. | |
| gpio_t | tx_pin |
| TX pin. | |
| gpio_af_t | af |
| Alternate pin function to use. | |
| const struct can_frame * | tx_mailbox [CAN_STM32_TX_MAILBOXES] |
| Tx mailboxes. | |
| candev_stm32_rx_fifo_t | rx_fifo |
| Rx FIFOs. | |
| candev_stm32_isr_t | isr_flags |
| ISR flags. | |
| const can_frame_t * | tx_mailbox [FDCAN_STM32_TX_MAILBOXES] |
| Tx mailboxes. | |
| candev_stm32_rx_mailbox_t | rx_mailbox |
| Rx mailboxes. | |
| gpio_af_t can::af |
Alternate pin function to use.
Definition at line 166 of file candev_stm32.h.
| candev_t can::candev |
| const can_conf_t * can::conf |
Configuration.
Definition at line 163 of file candev_stm32.h.
| uint32_t can::events |
| candev_stm32_isr_t can::isr_flags |
ISR flags.
Definition at line 170 of file candev_stm32.h.
| candev_stm32_rx_fifo_t can::rx_fifo |
Rx FIFOs.
Definition at line 169 of file candev_stm32.h.
| struct can_filter can::rx_filters[ESP_CAN_MAX_RX_FILTERS] |
| struct can_frame can::rx_frames[ESP_CAN_MAX_RX_FRAMES] |
| uint32_t can::rx_frames_num |
| uint32_t can::rx_frames_rptr |
| uint32_t can::rx_frames_wptr |
| candev_stm32_rx_mailbox_t can::rx_mailbox |
Rx mailboxes.
Definition at line 405 of file fdcandev_stm32.h.
| gpio_t can::rx_pin |
RX pin.
Definition at line 164 of file candev_stm32.h.
| canopt_state_t can::state |
| const struct can_frame* can::tx_mailbox[CAN_STM32_TX_MAILBOXES] |
Tx mailboxes.
Definition at line 168 of file candev_stm32.h.
| const can_frame_t* can::tx_mailbox[FDCAN_STM32_TX_MAILBOXES] |
Tx mailboxes.
Definition at line 404 of file fdcandev_stm32.h.
| gpio_t can::tx_pin |
TX pin.
Definition at line 165 of file candev_stm32.h.