CAN_Init_TypeDef Struct Reference

CAN initialization structure.

#include <em_can.h>

Data Fields

bool enable
True to set the CAN Device in normal mode after initialization.
bool resetMessages
True to reset messages during initialization.
uint32_t bitrate
Default bitrate.
uint8_t propagationTimeSegment
Default Propagation Time Segment.
uint8_t phaseBufferSegment1
Default Phase Buffer Segment 1.
uint8_t phaseBufferSegment2
Default Phase Buffer Segment 2.
uint8_t synchronisationJumpWidth
Default Synchronization Jump Width.

CAN initialization structure.

Field Documentation

enable

bool CAN_Init_TypeDef::enable

True to set the CAN Device in normal mode after initialization.

resetMessages

bool CAN_Init_TypeDef::resetMessages

True to reset messages during initialization.

bitrate

uint32_t CAN_Init_TypeDef::bitrate

Default bitrate.

propagationTimeSegment

uint8_t CAN_Init_TypeDef::propagationTimeSegment

Default Propagation Time Segment.

phaseBufferSegment1

uint8_t CAN_Init_TypeDef::phaseBufferSegment1

Default Phase Buffer Segment 1.

phaseBufferSegment2

uint8_t CAN_Init_TypeDef::phaseBufferSegment2

Default Phase Buffer Segment 2.

synchronisationJumpWidth

uint8_t CAN_Init_TypeDef::synchronisationJumpWidth

Default Synchronization Jump Width.