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

📄 target board code

📁 Target Board Code(串口)
💻
字号:
#ifndef __STM32F10x_IT_H
#define __STM32F10x_IT_H

#include "stm32f10x.h"
#include "define.h"

#define SendBufSize 8192
#define RecvBufSize 256

#define SampleBufSize 4000

#define LED_REC_ON() GPIO_ResetBits(GPIOB,GPIO_Pin_7)
#define LED_REC_OFF() GPIO_SetBits(GPIOB,GPIO_Pin_7)

/*****串口接收发送缓冲区*****/
extern u8 uart2_txbuf[SendBufSize];
extern u8 uart2_rxbuf[RecvBufSize];


/*****串口接收发送寄存器*****/
extern u16 uart2_txptr;//发送缓冲指针
extern u16 uart2_txlen; //发送长度
extern u16 uart2_rxptr; //接收缓冲指针

/*****函数声明*****/
void SysTick_Handler(void);
extern BYTE f_timetask_int;		//时间片时基10ms
extern BYTE f_timetask_ledflash ;	//LED闪烁

#endif

⌨️ 快捷键说明

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