Public Attributes | List of all members

MCAN configuration structure. More...

#include <mcan.h>

Public Attributes

bool automatic_retransmission
 
bool clock_stop_acknowledge
 
bool clock_stop_request
 
uint8_t delay_compensation_offset
 
bool edge_filtering
 
uint32_t extended_id_mask
 
enum mcan_nonmatching_frames_action nonmatching_frames_action_extended
 
enum mcan_nonmatching_frames_action nonmatching_frames_action_standard
 
bool protocol_exception_handling
 
bool remote_frames_extended_reject
 
bool remote_frames_standard_reject
 
bool run_in_standby
 
bool rx_fifo_0_overwrite
 
uint8_t rx_fifo_0_watermark
 
bool rx_fifo_1_overwrite
 
uint8_t rx_fifo_1_watermark
 
bool tdc_enable
 
bool timeout_enable
 
enum mcan_timeout_mode timeout_mode
 
uint16_t timeout_period
 
uint8_t timestamp_prescaler
 
bool transmit_pause
 
uint8_t tx_event_fifo_watermark
 
bool tx_queue_mode
 
uint8_t watchdog_configuration
 

Detailed Description

MCAN configuration structure.

Configuration structure for an MCAN instance. This structure should be initialized by the mcan_get_config_defaults() function before being modified by the user application.

Definition at line 558 of file drivers/mcan/mcan.h.

Member Data Documentation

◆ automatic_retransmission

bool mcan_config::automatic_retransmission

Automatic Retransmission.

Definition at line 570 of file drivers/mcan/mcan.h.

◆ clock_stop_acknowledge

bool mcan_config::clock_stop_acknowledge

Clock Stop Acknowledge.

Definition at line 574 of file drivers/mcan/mcan.h.

◆ clock_stop_request

bool mcan_config::clock_stop_request

Clock Stop Request.

Definition at line 572 of file drivers/mcan/mcan.h.

◆ delay_compensation_offset

uint8_t mcan_config::delay_compensation_offset

Transmitter Delay Compensation Offset : 0x0-0x7F

Definition at line 586 of file drivers/mcan/mcan.h.

◆ edge_filtering

bool mcan_config::edge_filtering

Edge Filtering during Bus Integration.

Definition at line 566 of file drivers/mcan/mcan.h.

◆ extended_id_mask

uint32_t mcan_config::extended_id_mask

Extended ID Mask: 0x0-0x1FFFFFFF.

Definition at line 600 of file drivers/mcan/mcan.h.

◆ nonmatching_frames_action_extended

enum mcan_nonmatching_frames_action mcan_config::nonmatching_frames_action_extended

Nonmatching frames action for extended frames.

Definition at line 594 of file drivers/mcan/mcan.h.

◆ nonmatching_frames_action_standard

enum mcan_nonmatching_frames_action mcan_config::nonmatching_frames_action_standard

Nonmatching frames action for standard frames.

Definition at line 592 of file drivers/mcan/mcan.h.

◆ protocol_exception_handling

bool mcan_config::protocol_exception_handling

Protocol Exception Handling.

Definition at line 568 of file drivers/mcan/mcan.h.

◆ remote_frames_extended_reject

bool mcan_config::remote_frames_extended_reject

Reject Remote Extended Frames.

Definition at line 598 of file drivers/mcan/mcan.h.

◆ remote_frames_standard_reject

bool mcan_config::remote_frames_standard_reject

Reject Remote Standard Frames.

Definition at line 596 of file drivers/mcan/mcan.h.

◆ run_in_standby

bool mcan_config::run_in_standby

MCAN run in standby control.

Definition at line 560 of file drivers/mcan/mcan.h.

◆ rx_fifo_0_overwrite

bool mcan_config::rx_fifo_0_overwrite

Rx FIFO 0 Operation Mode.

Definition at line 602 of file drivers/mcan/mcan.h.

◆ rx_fifo_0_watermark

uint8_t mcan_config::rx_fifo_0_watermark

Rx FIFO 0 Watermark: 1-64, other value disable it.

Definition at line 604 of file drivers/mcan/mcan.h.

◆ rx_fifo_1_overwrite

bool mcan_config::rx_fifo_1_overwrite

Rx FIFO 1 Operation Mode.

Definition at line 606 of file drivers/mcan/mcan.h.

◆ rx_fifo_1_watermark

uint8_t mcan_config::rx_fifo_1_watermark

Rx FIFO 1 Watermark: 1-64, other value disable it.

Definition at line 608 of file drivers/mcan/mcan.h.

◆ tdc_enable

bool mcan_config::tdc_enable

Transceiver Delay Compensation enable.

Definition at line 584 of file drivers/mcan/mcan.h.

◆ timeout_enable

bool mcan_config::timeout_enable

Timeout enable.

Definition at line 582 of file drivers/mcan/mcan.h.

◆ timeout_mode

enum mcan_timeout_mode mcan_config::timeout_mode

Timeout Mode.

Definition at line 580 of file drivers/mcan/mcan.h.

◆ timeout_period

uint16_t mcan_config::timeout_period

Timeout Period.

Definition at line 578 of file drivers/mcan/mcan.h.

◆ timestamp_prescaler

uint8_t mcan_config::timestamp_prescaler

Timestamp Counter Prescaler: 0x0-0xF

Definition at line 576 of file drivers/mcan/mcan.h.

◆ transmit_pause

bool mcan_config::transmit_pause

Transmit Pause.

Definition at line 564 of file drivers/mcan/mcan.h.

◆ tx_event_fifo_watermark

uint8_t mcan_config::tx_event_fifo_watermark

Tx Event FIFO Watermark: 1-32, other value disable it.

Definition at line 612 of file drivers/mcan/mcan.h.

◆ tx_queue_mode

bool mcan_config::tx_queue_mode

Tx FIFO/Queue Mode, 0 for FIFO and 1 for Queue.

Definition at line 610 of file drivers/mcan/mcan.h.

◆ watchdog_configuration

uint8_t mcan_config::watchdog_configuration

Start value of the Message RAM Watchdog Counter

Definition at line 562 of file drivers/mcan/mcan.h.


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


inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:18:03