PDL for FM4  Version1.2
Peripheral Driverl Library for FM4
stc_can_config Struct Reference

CAN configuration. More...

#include <can.h>

Collaboration diagram for stc_can_config:

Data Fields

can_status_chg_func_ptr_t pfnStatusCallback
 Callback function for CAN status changes, can be NULL. More...
 
can_error_func_ptr_t pfnErrorCallback
 Callback function for CAN related errors, can be NULL. More...
 
boolean_t bDisableAutomaticRetransmission
 TRUE: Automatic retransmission is disabled, FALSE: Automatic retransmission is enabled. More...
 
stc_can_bitrate_t stcBitrate
 CAN bitrate setting. More...
 
boolean_t bTouchPrescaler
 TRUE: Can_Init() initializes CANPRES, FALSE: CANPRES not touched. More...
 

Detailed Description

CAN configuration.

Is used to set the CAN bitrate and allows deactivating of automatic retransmission in case of a transmission error. Optionally error and status changed notification can be set.

Definition at line 1127 of file can.h.

Field Documentation

boolean_t bDisableAutomaticRetransmission

TRUE: Automatic retransmission is disabled, FALSE: Automatic retransmission is enabled.

Definition at line 1131 of file can.h.

Referenced by Can_Init().

boolean_t bTouchPrescaler

TRUE: Can_Init() initializes CANPRES, FALSE: CANPRES not touched.

Definition at line 1133 of file can.h.

Referenced by Can_Init().

can_error_func_ptr_t pfnErrorCallback

Callback function for CAN related errors, can be NULL.

Definition at line 1130 of file can.h.

Referenced by Can_Init().

can_status_chg_func_ptr_t pfnStatusCallback

Callback function for CAN status changes, can be NULL.

Definition at line 1129 of file can.h.

Referenced by Can_Init().

stc_can_bitrate_t stcBitrate

CAN bitrate setting.

Definition at line 1132 of file can.h.

Referenced by Can_Init().


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