xud6的笔记本
  • 主页
  • Centos
  • SELinux
  • FreeIPA
  • node.js
  • ember.js
  • Hyper-V
  • Windows
  • Embedded
  • Linux
  • 树莓派
  • MACOS

Embedded

A collection of 2 posts
Embedded

STM32 HAL UART循环发送缓存

#define UART_SEND_BUFF_SIZE 100 uint8_t UARTSendBuff[UART_SEND_BUFF_SIZE + 2] = {0}; uint16_t UARTSendBuffDataPos = 0; uint16_t UARTSendBuffUsedPos = 0; uint8_t UARTSendBuff_FlagSendBusy = 0; void UARTSendBuff_putData(uint8_t * data,uint16_t len){ while(len){ UARTSendBuffDataPos++; if(UARTSendBuffDataPos > UART_SEND_BUFF_SIZE){ UARTSendBuffDataPos = 1; } UARTSendBuff[UARTSendBuffDataPos]
2021年1月11日
IAR

新版IAR仿真时不显示外设寄存器,只显示CPU寄存器

在Registers窗口的表头上右键可以切换外设寄存器
2019年10月29日
Page 1 of 1
xud6的笔记本 © 2023
Powered by Ghost