STM32G0 MCAL 0.0.1
Tiny MCAL for educational purpose.
|
CAN Controller More...
#include <Can_Types.h>
CAN Controller
This container contains the configuration parameters of the CAN controller(s).
uint32 _Can_Controller::ActiveITs |
Specifies the interrupts to be enabled on Line0. This parameter can be a value of CAN_IT_<interrupt>
uint8 _Can_Controller::AutoRetransmission |
Enable or disable the automatic retransmission mode. This parameter can be set to STD_ON or STD_OFF
const Can_ControllerBaudrateConfig* _Can_Controller::BaudrateConfigs |
This container contains bit timing related configuration parameters
uint8 _Can_Controller::BaudrateConfigsCount |
Number of baudrate configurations for the controller
uint8 _Can_Controller::CanReference |
Base address of the Mcu CAN controller this paramter must be CAN_FDCAN1 or CAN_FDCAN2
uint32 _Can_Controller::ClockDivider |
Specifies the clock divider for the CAN controller This parameter can be a value of CAN Clock Divider
uint8 _Can_Controller::ControllerId |
Specifies the ID of a CAN controller. This parameter value is defined in Can_Cfg.h
const Can_ControllerBaudrateConfig* _Can_Controller::DefaultBaudrate |
Reference to baudrate configuration container configured for the Can Controller
uint8 _Can_Controller::FrameFormat |
Specifies the CAN frame format FD or Classic. This parameter can be a value of CAN Frame Format
uint32 _Can_Controller::Mode |
Specifies the CAN peripheral operation mode. This parameter can be a value of CAN Operating Mode
uint8 _Can_Controller::ProtocolException |
Enable or disable the Protocol Exception Handling. This parameter can be set to STD_ON or STD_OFF
uint8 _Can_Controller::TransmitPause |
Enable or disable the Transmit Pause feature. This parameter can be set to STD_ON or STD_OFF
uint8 _Can_Controller::TxFifoQueueMode |
Tx FIFO/Queue Mode selection. Queue mode is basically multiplexed tx This parameter can be a value of CAN Tx FIFO/Queue Mode