You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
# README
```html 串口中断频繁触发: 接收帧错误中断 这个中断一直为真 PS:由于接收帧错误中断为真,导致串口中断频繁触发 并且在中断中有串口发送函数,调用printf时也有串口发送函数,这就造成了调用printf时while ((status == RESET) && (count != 0x1CE2));会等待,从而导致按键触发不灵敏或者丢失事件 ```
fputc的方法实现

串口中断

## 第一个BUG现象

``` 当着这几根线连接开发板时,按键使用正常 当着这几根线不连接开发板时,按键反应迟钝偶尔还会丢失事件 ```
## 如何解决

## 第二个BUG现象
``` 按键使用下降沿触发的时候,按键反应迟钝偶尔还会丢失事件 ```
造成这个bug的原因和第一个BUG一样
|