串口和蓝牙通信程序
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(); }
文件列表
串口和蓝牙通信程序.7z
(预估有个6文件)
Serial_Comm_3.C
4KB
Serial_Comm_4.C
6KB
F2M_Bluetooth.c
26KB
bluetooth.c
26KB
Serial_Comm_1.C
3KB
Serial_Comm_2.C
2KB
暂无评论