LCD-ESP32-Driver 1.0
Project includes component for controlling LCD displays. Currently supports only one LCD controller - SSD1283A but it may change in the future.
Loading...
Searching...
No Matches
spi_error_codes.h File Reference

Contains error codes as an enumeration. More...

Go to the source code of this file.

Typedefs

typedef enum spi_error_t spi_error_t
 

Enumerations

enum  spi_error_t { SPI_OK = 0 , SPI_INV_ARG , SPI_CONF_FAIL , SPI_OP_FAIL }
 Describes the status of performed operation on the SPI bus. More...
 

Detailed Description

Contains error codes as an enumeration.

Author
Damian Úlusarczyk

They describe the status of performed operations on the SPI bus.

Enumeration Type Documentation

◆ spi_error_t

Describes the status of performed operation on the SPI bus.

Enumerator
SPI_OK 

No error occurred - everything went fine

SPI_INV_ARG 

An invalid argument value has been passed into the function

SPI_CONF_FAIL 

An invalid SPI configuration - initialization failed

SPI_OP_FAIL 

An error occurred while performing operation on SPI bus