Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Embeded-SCM Develop SCM
Title: 9.17 Download
 Description: Serial port interrupt allowed to automatically receive bus information bytes received over 3.5 bytes time no new bytes that the receiving completed receive completion flag is set to 1 Receive complete flag has been set, there are The data come in the new data is discarded. Serial receive data processing, when receiving the completion flag is set to 1 into the reception data processing, (1) first determines whether the address of the received first data with the machine the same, if not identical, to empty the receiving buffer does not send any information (2 ) received first one of the data is the same as the machine address crc16 checksum on the data in the reception buffer, if the received parity bit with the check result is not the same to clear the receive buffer does not send any message (3) If crc16 checksum is correct, according to the command code data string processing.
 Downloaders recently: [More information of uploader 徐林]
 To Search:
File list (Check if you may need any files):
 

9.17\main.c
....\modbus.c
....\stm32f10x_it.c
....\网页程序.txt
9.17
    

CodeBus www.codebus.net