Introduction - If you have any usage issues, please Google them yourself
UART sends TX control circuit design, and EnableTX of the potter rate generator sends the DATAO to send it to the send buffer Tbuff, and makes the register content contain data rather than empty flag tmpTBufE= 0. When synchronous baud rate signal is used to temporarily monitor whether it is in tmpTBufE=0 (with data) and tmpTRegE=1 (no data). Which has not yet started sending state will Tbuff buffer register register into transmission Treg and make tmpTRegE = 0 (into the data again), but for Tbuff have turned into the buffer register TregE, empty so make tmpTBufE = 1, the buffer register tmpTBufE representative Tbuff whether is empty to be sent to the new data to be sent. If tmpTRegE=0 (with data), then the data serial transmission will be started, and the outgoing data is 8 bits, together with the start signal "0", the total number of 9 bits is required to be counted by BitCnt. When BitCnt=0 counter starts counting bytes, the starting signal is 0 and the TxD output is sent. Counter for 1-8 will be the lowest TReg TReg (0) output to the TxD side, and make the TReg moves to the right [] arithmetic operations, in turn TReg [] D7 - D0 output by D0 moved to the TxD, until the ninth stop shift, and stop bits sent TxD = 0 and end a 8 bits of data to send.
Packet : 91331952txunit1.rar filelist
txunit1.txt