⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 drv_spi.h

📁 使用spi接口实现主
💻 H
字号:
#ifndef _DRV_SPI
#define _DRV_SPI

#define TIMOD_T 0x0001
#define TIMOD_R 0x0000



void Drv_Config_slave_read();

void Drv_config_slave_write();

void Drv_Config_master_read();

void Drv_config_master_write() ;

void Drv_config_to_master() ;

void Drv_config_to_slave();

void Drv_SPI_enable() ;

void Drv_SPI_write(char* ptr, int lenth) ;

int Drv_SPI_read(char* ptr ) ;

#endif //_DRV_SPI

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -