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
Go to the documentation of this file.
1
/*
2
* MIT License
3
*
4
* Copyright (c) 2022 Damian Ćlusarczyk
5
*
6
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software
7
* and associated documentation files (the "Software"), to deal in the Software without restriction,
8
* including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
9
* and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
10
* subject to the following conditions:
11
*
12
* The above copyright notice and this permission notice shall be included in all copies or substantial
13
* portions of the Software.
14
*
15
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
16
* TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
18
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
19
*
20
*/
28
#ifndef SPI_ERROR_CODES_H
29
#define SPI_ERROR_CODES_H
30
31
typedef
enum
spi_error_t
spi_error_t
;
32
37
enum
spi_error_t
38
{
39
SPI_OK
= 0,
40
SPI_INV_ARG
,
41
SPI_CONF_FAIL
,
42
SPI_OP_FAIL
,
43
};
44
45
#endif
/* SPI_ERROR_CODES_H */
spi_error_t
spi_error_t
Describes the status of performed operation on the SPI bus.
Definition:
spi_error_codes.h:38
SPI_INV_ARG
@ SPI_INV_ARG
Definition:
spi_error_codes.h:40
SPI_OK
@ SPI_OK
Definition:
spi_error_codes.h:39
SPI_OP_FAIL
@ SPI_OP_FAIL
Definition:
spi_error_codes.h:42
SPI_CONF_FAIL
@ SPI_CONF_FAIL
Definition:
spi_error_codes.h:41
com
include
spi_error_codes.h
Generated by
1.9.5