串口和蓝牙通信程序

时间:2016-04-18 18:40:47
【文件属性】:
文件名称:串口和蓝牙通信程序
文件大小:7KB
文件格式:7Z
更新时间:2016-04-18 18:40:47
串口 蓝牙 通信 RS232 void F2M_SetMspUartBR(unsigned int BaudrateConst) { portENTER_CRITICAL(); { #ifdef __F2M_UART1 UBR01 = (unsigned char)(BaudrateConst&0x00ff); UBR11 = (unsigned char)((BaudrateConst&0xff00)>>8); #else UBR00 = (char)(BaudrateConst&0x00ff); UBR10 = (char)((BaudrateConst&0xff00)>>8); #endif } portEXIT_CRITICAL(); }
【文件预览】:
Serial_Comm_3.C
Serial_Comm_4.C
F2M_Bluetooth.c
bluetooth.c
Serial_Comm_1.C
Serial_Comm_2.C

网友评论

相关文章