46#include "spi_client_interface.h"
63#define SPI1_Client_Initialize SPI1_Initialize
68#define SPI1_Client_Deinitialize SPI1_Deinitialize
73#define SPI1_Client_Close SPI1_Close
78#define SPI1_Client_Open SPI1_Open
83#define SPI1_Client_ByteExchange SPI1_ByteExchange
88#define SPI1_Client_ByteWrite SPI1_ByteWrite
93#define SPI1_Client_ByteRead SPI1_ByteRead
98#define SPI1_Client_IsRxReady SPI1_IsRxReady
103#define SPI1_Client_IsTxReady SPI1_IsTxReady
void SPI1_Initialize(void)
Initializes SPI1 module, using the given initialization data. This function must be called before any...
void SPI1_Deinitialize(void)
Deinitializes the SPI1 to POR values.
bool SPI1_Open(uint8_t spiConfigIndex)
Configures SPI1 module with user defined unique configuration.
const struct SPI_CLIENT_INTERFACE SPI1_Client
Structure object of type SPI_CLIENT_INTERFACE assigned with name displayed in the Melody Driver User ...
bool SPI1_IsRxReady(void)
Returns a boolean value if data is available to read.
uint8_t SPI1_ByteRead(void)
Reads one byte of data from SPI1.
bool SPI1_IsTxReady(void)
Returns a boolean value if data can be written.
void SPI1_Close(void)
Disables the SPI1 module.
SPI1_CLIENT_USER_CONFIG
Enum list is the Custom names for the SPI1 CLIENT multiple configuration, configured by user in MCC M...
void SPI1_ByteWrite(uint8_t byteData)
Writes one byte of data.
uint8_t SPI1_ByteExchange(uint8_t byteData)
Exchanges one byte of data. This is a blocking function.
Structure containing the function pointers of SPI CLIENT driver.