MG32F157 Standard Peripherals Firmware Library
|
CANFD Init structure definition. More...
#include <mg32f157_can.h>
Data Fields | |
uint8_t | CAN_Mode |
uint8_t | CAN_Sample |
uint8_t | AutoRetransmiteCmd |
uint8_t | CAN_Prescaler |
uint8_t | CAN_SJW |
uint8_t | CAN_SEG1 |
uint8_t | CAN_SEG2 |
uint16_t | FD_ArbitrationPrescaler |
uint8_t | FD_ArbitrationSJW |
uint8_t | FD_ArbitrationSEG1 |
uint8_t | FD_ArbitrationSEG2 |
uint8_t | FD_DataPrescaler |
uint8_t | FD_DataSJW |
uint8_t | FD_DataSEG1 |
uint8_t | FD_DataSEG2 |
uint8_t | FD_TransmateDelayCompensationCmd |
uint8_t | FD_TransmateDelayCompensationOffset |
uint8_t | FD_RestrictedOperationCmd |
uint8_t | FD_ISOFrameFormatSection |
uint8_t | FD_ArbitrationTimingSection |
uint8_t | FD_DataTimingSection |
uint8_t | FD_FrameFormat |
CANFD Init structure definition.
uint8_t AutoRetransmiteCmd |
Enable or Disable the auto retransmission. This parameter can be set either to ENABLE or DISABLE.
uint8_t CAN_Mode |
Specifies the CAN operating mode. This parameter can be a value of CAN_Mode
uint8_t CAN_Prescaler |
Specifies the length of a time quantum. It ranges from 1 to 128.
uint8_t CAN_Sample |
Specifies the Number of bus level samples. This parameter can be a value of CAN_Sample_Level.
uint8_t CAN_SEG1 |
Specifies the number of time quanta in Bit Segment 1. This parameter can be a value of CAN_Synchronisation_Jump_Width_1
uint8_t CAN_SEG2 |
Specifies the number of time quanta in Bit Segment 2. This parameter can be a value of CAN_Time_Quantum_In_Bit_Segment_2
uint8_t CAN_SJW |
Specifies the maximum number of time quanta the CAN hardware is allowed to lengthen or shorten a bit to perform resynchronization. This parameter can be a value of CAN_Synchronisation_Jump_Width.
uint16_t FD_ArbitrationPrescaler |
Specifies the CAN FD arbitration phase length of time quantum. It ranges from 1 to 2048.
uint8_t FD_ArbitrationSEG1 |
Specifies the CAN FD arbitration phase number of time quanta in Bit Segment 1. This parameter can be a value of CANFD_Arbitrations_Time_Quantum_In_Bit_Segment_1
uint8_t FD_ArbitrationSEG2 |
Specifies the CAN FD arbitration phase number of time quanta in Bit Segment 2. This parameter can be a value of CANFD_Arbitrations_Time_Quantum_In_Bit_Segment_2
uint8_t FD_ArbitrationSJW |
Specifies the CAN FD arbitration phase maximum number of time quanta the CAN hardware is allowed to lengthen or shorten a bit to perform resynchronization. This parameter can be a value of CANFD_Arbitrations_Synchronisation_Jump_Width.
uint8_t FD_ArbitrationTimingSection |
Specifies Bit Time prescaler in Arbitration phase. This parameter can be a value of CANFD_Arbitration_Timing_Section
uint8_t FD_DataPrescaler |
Specifies the CAN FD Data phase length of time quantum. It ranges from 1 to 64.
uint8_t FD_DataSEG1 |
Specifies the CAN FD Data phase number of time quanta in Bit Segment 1. This parameter can be a value of CANFD_Data_Time_Quantum_In_Bit_Segment_1
uint8_t FD_DataSEG2 |
Specifies the CAN FD Data phase number of time quanta in Bit Segment 2. This parameter can be a value of CANFD_Data_Time_Quantum_In_Bit_Segment_2
uint8_t FD_DataSJW |
Specifies the CAN FD Data phase maximum number of time quanta the CAN hardware is allowed to lengthen or shorten a bit to perform resynchronization. This parameter can be a value of CANFD_Data_Synchronisation_Jump_Width.
uint8_t FD_DataTimingSection |
Specifies Bit Time prescaler in Data phase. This parameter can be a value of CANFD_Data_Timing_Section
uint8_t FD_FrameFormat |
Specifies CAN FD frame format. This parameter can be a value of CANFD_Frame_Format
uint8_t FD_ISOFrameFormatSection |
Specifies ISO CAN FD frame format selection ISO11898-1 or Bosch. This parameter can be a value of CANFD_ISO_Frame_Format_Section
uint8_t FD_RestrictedOperationCmd |
Enable or Disable the restricted operation mode. This parameter can be set either to ENABLE or DISABLE.
uint8_t FD_TransmateDelayCompensationCmd |
Enable or Disable the transmate delay compensation. This parameter can be set either to ENABLE or DISABLE.
uint8_t FD_TransmateDelayCompensationOffset |
Specifies the CAN FD transmate delay compensation offset. This parameter can be a value of CANFD_Transmate_Delay_Compensation_Offset