no-OS
drivers
platform
maxim
max32670
maxim_spi.h
Go to the documentation of this file.
1
/***************************************************************************/
34
#ifndef MAXIM_SPI_H_
35
#define MAXIM_SPI_H_
36
37
#include <stdint.h>
38
#include "
no_os_spi.h
"
39
43
extern
const
struct
no_os_spi_platform_ops
max_spi_ops
;
44
48
enum
spi_ss_polarity
{
49
SPI_SS_POL_LOW
,
50
SPI_SS_POL_HIGH
51
};
52
56
struct
max_spi_init_param
{
57
uint32_t
num_slaves
;
58
enum
spi_ss_polarity
polarity
;
59
};
60
61
#endif
no_os_spi.h
Header file of SPI Interface.
no_os_spi_platform_ops
Structure holding SPI function pointers that point to the platform specific function.
Definition:
no_os_spi.h:222
SPI_SS_POL_LOW
@ SPI_SS_POL_LOW
Definition:
maxim_spi.h:49
SPI_SS_POL_HIGH
@ SPI_SS_POL_HIGH
Definition:
maxim_spi.h:50
max_spi_init_param
Maxim specific SPI initialization parameters.
Definition:
maxim_spi.h:53
max_spi_init_param::polarity
enum spi_ss_polarity polarity
Definition:
maxim_spi.h:55
max_spi_init_param::num_slaves
uint32_t num_slaves
Definition:
maxim_spi.h:54
spi_ss_polarity
spi_ss_polarity
Definition:
maxim_spi.h:48
max_spi_ops
const struct no_os_spi_platform_ops max_spi_ops
maxim specific SPI platform ops structure
Definition:
maxim_spi.c:795
Generated by
1.8.17