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

Macros

#define SPI_E_PARAM_CHANNEL   0x0Au
 
#define SPI_E_PARAM_JOB   0x0Bu
 
#define SPI_E_PARAM_SEQ   0x0Cu
 
#define SPI_E_PARAM_LENGTH   0x0Du
 
#define SPI_E_PARAM_UNIT   0x0Eu
 
#define SPI_E_PARAM_POINTER   0x10u
 
#define SPI_E_UNINIT   0x1Au
 
#define SPI_E_ALREADY_INITIALIZED   0x4Au
 

Detailed Description

Macro Definition Documentation

◆ SPI_E_ALREADY_INITIALIZED

#define SPI_E_ALREADY_INITIALIZED   0x4Au

API SPI_Init service called while the SPI driver has been already initialized

◆ SPI_E_PARAM_CHANNEL

#define SPI_E_PARAM_CHANNEL   0x0Au

API service called with wrong channel

◆ SPI_E_PARAM_JOB

#define SPI_E_PARAM_JOB   0x0Bu

API service called with wrong job

◆ SPI_E_PARAM_LENGTH

#define SPI_E_PARAM_LENGTH   0x0Du

API service called with wrong length for EB

◆ SPI_E_PARAM_POINTER

#define SPI_E_PARAM_POINTER   0x10u

APIs called with an unexpected value for the pointer

◆ SPI_E_PARAM_SEQ

#define SPI_E_PARAM_SEQ   0x0Cu

API service called with wrong sequence

◆ SPI_E_PARAM_UNIT

#define SPI_E_PARAM_UNIT   0x0Eu

API service called with wrong hardware unit

◆ SPI_E_UNINIT

#define SPI_E_UNINIT   0x1Au

API service used without module initialization