MT7697 API Reference  LinkIt SDK v4
Typedef

Overview

Typedefs

typedef void(* hal_spi_slave_callback_t) (void *user_data)
 This defines the callback function prototype. More...
 

Typedef Documentation

typedef void(* hal_spi_slave_callback_t) (void *user_data)

This defines the callback function prototype.

User may register a callback function to use the SPI slave. This function is called in the SPI slave interrupt service routine if an interrupt is triggered. For more details about the callback function, please refer to hal_spi_slave_register_callback().

Parameters
[in]user_datais a user defined parameter obtained from hal_spi_slave_register_callback().