|
MZ_SPI_BTYPE_PTR | MZ_SPI_get_base_address (void) |
| This function returns the base address of all the SPI defined in SDK. More...
|
|
MZ_SPI_BTYPE_PTR | MZ_SPI_reference (en_spi_no spi_no) |
| This function returns the address of specific SPI defined in SDK. More...
|
|
mz_error_t | MZ_SPI_init (MZ_SPI_INIT_PTR _cfg) |
| This function initializes the specific SPI. More...
|
|
mz_error_t | MZ_SPI_register_callback (uint8_t spi_no, _spi_api cb) |
| This function registers the SPI Event callback. More...
|
|
mz_error_t | MZ_SPI_register_intr_cb_tx (uint8_t spi_no, _spi_api cb) |
| This function registers the Interrupt for TX complete callback function for the specific SPI. More...
|
|
mz_error_t | MZ_SPI_register_intr_cb_rx (uint8_t spi_no, _spi_api cb) |
| This function registers the Interrupt for RX complete callback function for the specific SPI. More...
|
|
void | MZ_HAL_SPI_IRQHandler (uint8_t spi_no) |
| This function defines the Global Interrupt handler functions of SPI. More...
|
|
mz_error_t | MZ_SPI_Transmit (uint8_t spi_no, uint8_t *pData, uint16_t Size, uint32_t Timeout) |
| This function is used to transmit data using SPI in polling mode. More...
|
|
mz_error_t | MZ_SPI_Receive (uint8_t spi_no, uint8_t *pData, uint16_t Size, uint32_t Timeout) |
| This function is used to receive data using SPI in polling mode. More...
|
|
mz_error_t | MZ_SPI_TransmitReceive (uint8_t spi_no, uint8_t *pTxData, uint8_t *pRxData, uint16_t Size, uint32_t Timeout) |
| This function is used to transmit/receive data using SPI in polling mode. More...
|
|
mz_error_t | MZ_SPI_Transmit_IT (uint8_t spi_no, uint8_t *pData, uint16_t Size) |
| This function is used to transmit data using SPI in interrupt mode. More...
|
|
mz_error_t | MZ_SPI_Receive_IT (uint8_t spi_no, uint8_t *pData, uint16_t Size) |
| This function is used to receive data using SPI in interrupt mode. More...
|
|
mz_error_t | MZ_SPI_TransmitReceive_IT (uint8_t spi_no, uint8_t *pTxData, uint8_t *pRxData, uint16_t Size) |
| This function is used to transmit/receive data using SPI in interrupt mode. More...
|
|
This file contains all the functionalities for SPI protocol.
- Date
- Jul 19, 2021
- Author
- Mahendra & Kafeel
Definition in file MZ_spi.h.