-
ProgectTemp_lpc177x_8x_uCOSII
LPC1788工程模板,SmartCortex M3-1788(LPC1788 project ,Ucos, SmartCortex M3-1788)
- 2016-02-28 15:10:33下载
- 积分:1
-
Uart_receive
STM32F4系列串口接收函数,,程序已测试通过。(void USART1_IRQHandler(void) //串口1中断服务程序
{
u8 Res
#ifdef OS_TICKS_PER_SEC //如果时钟节拍数定义了,说明要使用ucosII了.
OSIntEnter()
#endif
if(USART_GetITStatus(USART1, USART_IT_RXNE) != RESET) //接收中断(接收到的数据必须是0x0d 0x0a结尾)
{
Res =USART_ReceiveData(USART1) //(USART1->DR) //读取接收到的数据
if((USART_RX_STA&0x8000)==0)//接收未完成
{
if(USART_RX_STA&0x4000)//接收到了0x0d
{
if(Res!=0x0a)
USART_RX_STA=0 //接收错误,重新开始
else
USART_RX_STA|=0x8000 //接收完成了
}
else //还没收到0X0D
{
if(Res==0x0d)USART_RX_STA|=0x4000
else
{
USART_RX_BUF[USART_RX_STA&0X3FFF]=Res
USART_RX_STA++
if(USART_RX_STA>(USART_REC_LEN-1))USART_RX_STA=0 //接收数据错误,重新开始接收
}
}
}
}
#ifdef OS_TICKS_PER_SEC //如果时钟节拍数定义了,说明要使用ucosII了.
OSIntExit()
#endif
} )
- 2016-01-21 17:04:30下载
- 积分:1
-
实验1 跑马灯实验
这是基于STM32F103ZET6的原子开发板精英版的跑马灯程序(This is an elite version of the Atomic Development Board based on STM32F103ZET6.)
- 2019-06-11 14:54:23下载
- 积分:1
-
duogongnengdingshiqi
说明: 内有电路图和对应的程序,已经调试成功,能实现定时功能。(There are circuit diagrams and the corresponding procedures are debugging success, to achieve timing.)
- 2009-08-17 17:48:16下载
- 积分:1
-
SP1
单片机的部分程序,包括交通灯,抢答器,等等(Part of the program of the microcontroller)
- 2013-03-09 12:01:51下载
- 积分:1
-
LCD1602使用手册-中文详细版
LCD1602的中文参考手册,包含了1602的所有信息,对于要使用1602的朋友很有帮助(The Chinese reference manual of LCD1602, which contains all the information of 1602, is very helpful for friends who want to use 1602.)
- 2020-06-19 15:00:01下载
- 积分:1
-
impulse
整车操稳方向盘转角脉冲横摆角速度增益数据处理程序,可以根据仿真结果自动计算增益,并且可以自动生成ADAMS软件的随即路面(Vehicle operation stability of steering wheel angle pulse yaw velocity gain data processing program, can automatically calculate the gain according to the simulation results, and can automatically generate ADAMS software then pavement)
- 2021-03-06 22:49:30下载
- 积分:1
-
AVR
AVR 单片机的例程(总共有27个程序)(AVR microcontroller routine (a total of 27 programs))
- 2011-10-11 11:17:29下载
- 积分:1
-
dianji
超再生遥控-遥控步进电机正反转AB的程序(Superregeneration Remote- remote control stepper motor program AB)
- 2013-07-23 20:00:21下载
- 积分:1
-
ICA_EEMD
这是一个最新的EEMD处理单道ICA的问题的总结,有国外文章自带的源代码,简单好用。(Is a latest the EEMD processing single channel ICA problem the foreign article comes with source code, simple and easy to use.)
- 2013-03-05 16:02:18下载
- 积分:1