Data Fields
_hal_spi_callback Struct Reference
Peripheral Driver » HAL Driver » SPI » Callback Structures » Callback

HAL_SPI Callback function definition. More...

`#include <gr55xx_hal_spi.h>`

## Data Fields
void(* | spi_msp_init )(spi_handle_t *p_spi)
void(* | spi_msp_deinit )(spi_handle_t *p_spi)
void(* | spi_error_callback )(spi_handle_t *p_spi)
void(* | spi_abort_cplt_callback )(spi_handle_t *p_spi)
void(* | spi_rx_cplt_callback )(spi_handle_t *p_spi)
void(* | spi_tx_cplt_callback )(spi_handle_t *p_spi)
void(* | spi_tx_rx_cplt_callback )(spi_handle_t *p_spi)

## Detailed Description

HAL_SPI Callback function definition.

## Field Documentation

## ◆ spi_abort_cplt_callback

void(* _hal_spi_callback::spi_abort_cplt_callback) (spi_handle_t *p_spi)

SPI abort completed callback

## ◆ spi_error_callback

void(* _hal_spi_callback::spi_error_callback) (spi_handle_t *p_spi)

SPI error callback

## ◆ spi_msp_deinit

void(* _hal_spi_callback::spi_msp_deinit) (spi_handle_t *p_spi)

SPI de-init MSP callback

## ◆ spi_msp_init

void(* _hal_spi_callback::spi_msp_init) (spi_handle_t *p_spi)

SPI init MSP callback

## ◆ spi_rx_cplt_callback

void(* _hal_spi_callback::spi_rx_cplt_callback) (spi_handle_t *p_spi)

SPI rx transfer completed callback

## ◆ spi_tx_cplt_callback

void(* _hal_spi_callback::spi_tx_cplt_callback) (spi_handle_t *p_spi)

SPI tx transfer completed callback

## ◆ spi_tx_rx_cplt_callback

void(* _hal_spi_callback::spi_tx_rx_cplt_callback) (spi_handle_t *p_spi)

SPI tx/rx transfer completed callback

The documentation for this struct was generated from the following file:

- gr55xx_hal_spi.h