-
1实时时钟
用stm32f103对ds1302时钟芯片进行读写,从而获得起内部的时钟数据(Read and write the DS1302 clock chip with STM32F103 to get the internal clock data)
- 2018-03-24 14:59:31下载
- 积分: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
-
bp_drag
fluent软件中关于模拟二维流化床的均匀流化作用的程序代码。(the fluent software simulation of two-dimensional fluidized bed uniform fluidization program code.)
- 2012-12-25 15:15:53下载
- 积分:1
-
scdc
81 level inverter which uses embedded function block and has the THD around 1 percentddcdc
- 2020-06-24 12:00:02下载
- 积分:1
-
liveon
survellance zip that consuot
ve sourcecodes/documents. (upload 5 files, you can download 200 files).
Webmaster will activate your member account after checking your files. If you do not want to upload source code, you can join the [VIP member] to activate your account.
- 2015-04-06 15:40:37下载
- 积分:1
-
xiaoche
智能遥控小车程序 单片机学习资料供初学者参考 (Intelligent remote control car program for beginners learning materials reference MCU)
- 2010-11-22 12:46:18下载
- 积分:1
-
hifreqinj_fpu_ctrl
说明: st公式的开源高频注入部分代码(hifreqinj_fpu_ctrl)
- 2020-06-25 04:00:02下载
- 积分:1
-
AT45DB041BSPI
本程序是芯片AT45DB041B的ISP的模拟编程,是一个比较实用的程序,推荐大家看看。(This program is the chip AT45DB041B ISP s analog programming, is a more practical procedure, we recommend a look.)
- 2013-08-19 17:08:07下载
- 积分:1
-
CANOPEN
PLC程序 施耐德PLC 通过CANOPEN控制3台伺服器(PLC Schneider PLC program control by CANOPEN 3 servers)
- 2020-12-28 11:39:02下载
- 积分:1
-
John.Wiley.and.Sons.UWB.Theory.and.Applications
The book focuses very much on impulse radio UWB techniques rather than multiband systems. The reasons for this are both practical and historical. The promise of UWB was low complexity, low power and low cost. Impulse radio, being a baseband technology, holds the most promise to achieve these three benefits.
- 2011-05-11 18:23:13下载
- 积分:1