STM32G0 MCAL 0.0.1
Tiny MCAL for educational purpose.
Loading...
Searching...
No Matches
Can Developtmnet Error Types

Macros

#define CAN_E_PARAM_POINTER   0x01u
 
#define CAN_E_PARAM_HANDLE   0x02u
 
#define CAN_E_PARAM_DATA_LENGTH   0x03u
 
#define CAN_E_PARAM_CONTROLLER   0x04u
 
#define CAN_E_UNINIT   0x05u
 
#define CAN_E_TRANSITION   0x06u
 
#define CAN_E_PARAM_BAUDRATE   0x07u
 
#define CAN_E_INIT_FAILED   0x09u
 
#define CAN_E_PARAM_LPDU   0x0Au
 
#define CAN_E_DATALOST   0x01u
 

Detailed Description

Macro Definition Documentation

◆ CAN_E_DATALOST

#define CAN_E_DATALOST   0x01u

Received CAN message is lost

◆ CAN_E_INIT_FAILED

#define CAN_E_INIT_FAILED   0x09u

API Service called with wrong baudrate

◆ CAN_E_PARAM_BAUDRATE

#define CAN_E_PARAM_BAUDRATE   0x07u

API Service called with wrong baudrate

◆ CAN_E_PARAM_CONTROLLER

#define CAN_E_PARAM_CONTROLLER   0x04u

API Service called with wrong controller

◆ CAN_E_PARAM_DATA_LENGTH

#define CAN_E_PARAM_DATA_LENGTH   0x03u

API Service called with wrong data length

◆ CAN_E_PARAM_HANDLE

#define CAN_E_PARAM_HANDLE   0x02u

API Service called with wrong handle

◆ CAN_E_PARAM_LPDU

#define CAN_E_PARAM_LPDU   0x0Au

API Service called with wrong L-PDU

◆ CAN_E_PARAM_POINTER

#define CAN_E_PARAM_POINTER   0x01u

API Service called with wrong parameter

◆ CAN_E_TRANSITION

#define CAN_E_TRANSITION   0x06u

API Service called with wrong controller mode

◆ CAN_E_UNINIT

#define CAN_E_UNINIT   0x05u

API Service used without module initialization