XFusion API v1.3.0
|
xf_hal 的 spi(串行外设接口) 设备抽象。 更多...
结构体 | |
struct | _xf_hal_spi_callback_t |
spi 的回调函数结构体。 更多... | |
struct | _xf_hal_spi_gpio_t |
spi 的引脚设置。 更多... | |
struct | _xf_hal_spi_config_t |
用于对接 SPI 设置的参数。 更多... | |
类型定义 | |
typedef uint32_t | xf_spi_num_t |
spi 序号。 | |
typedef void(* | xf_hal_spi_cb_t) (xf_spi_num_t spi_num, void *user_data) |
spi 回调函数原型。 | |
typedef struct _xf_hal_spi_callback_t | xf_hal_spi_callback_t |
spi 的回调函数结构体。 | |
typedef enum _xf_hal_spi_hosts_t | xf_hal_spi_hosts_t |
spi 的主从模式。 | |
typedef enum _xf_hal_spi_bit_order_t | xf_hal_spi_bit_order_t |
spi 传输位顺序。 | |
typedef enum _xf_hal_spi_mode_t | xf_hal_spi_mode_t |
spi 模式。 | |
typedef enum _xf_hal_spi_data_width_t | xf_hal_spi_data_width_t |
spi 传输数据位宽。 | |
typedef enum _xf_hal_spi_cmd_t | xf_hal_spi_cmd_t |
用于对接 spi 设置的命令。 | |
typedef struct _xf_hal_spi_gpio_t | xf_hal_spi_gpio_t |
spi 的引脚设置。 | |
typedef struct _xf_hal_spi_config_t | xf_hal_spi_config_t |
用于对接 SPI 设置的参数。 | |
xf_hal 的 spi(串行外设接口) 设备抽象。
在文件 xf_hal_spi.h 中定义.