1、功能说明

	1、SPI 主模式单线中断发送数据

2、使用环境

	/* 软件开发环境：当前工程使用的软件工具名称及版本号 */
	IDE工具：KEIL MDK-ARM 5.30.0.0

	/* 硬件环境：工程对应的开发硬件平台 */
	开发板：N32G030CL-STB V1.0 V1.0

3、使用说明
	
	/* 描述相关模块配置方法；例如:时钟，I/O等 */
	SystemClock：48MHz
	GPIO：（主模式 DEMO 板）SPI1: SCK--PA5、MOSI--PA7,
	           （从模式 DEMO 板）SPI1: SCK--PA5、 MISO--PA6,

	日志打印：从模式 DEMO 板 PA9(TX)，波特率：115200
	
	/* 描述Demo的测试步骤和现象 */
	1、编译后下载程序复位运行；
	2、从模式 DEMO 板接好串口打印工具，上电，查看打印测试成功。

4、注意事项
	需要两块 demo 板配合，一块板子烧录主模式程序，一块板子烧录从模式程序，两块板子需一起上电，连接两块板子的 VCC 和 GND。
	“单线”数据线在主设备端为MOSI引脚，在从设备端为MISO引脚。



1. Function description

	1. SPI single-wire interrupt sending and receiving data

2. Use environment

	/* Software development environment: the name and version number of the software tool used in the current project */
	IDE tool: KEIL MDK-ARM 5.30.0.0

	/* Hardware environment: the development hardware platform corresponding to the project */
	Development board: N32G030CL-STB V1.0 V1.0

3. Instructions for use

	/* Describe related module configuration methods; for example: clock, I/O, etc. */
	1. SystemClock: 108MHz
	2. GPIO: SPI1: SCK--PA5, MOSI--PA7,
	             SPI2: SCK--PB13, MISO--PB14
	3. Interrupt: SPI1 interrupt entry function SPI1_IRQHandler, SPI2 interrupt entry function SPI2_IRQHandler

	/* Describe the test steps and phenomena of the Demo */
	1. After compiling, download the program to reset and run;
	2. Enter the SPI1_IRQHandler interrupt function to send when SPI1 has data to send, 
	    and enter the SPI2_3_IRQHandler interrupt function to receive when SPI2 has data to receive. 
	   After the data transmission is completed, check the TransferStatus status as PASSED;

4. Matters needing attention
	The "single wire" data lines are MOSI pins on the master side and MISO pins on the slave side