Description: Button control 8251A by test-bed to send data: SP button connected to the 8255 test-bed of PB0, connected to the decoder 8255 output of 070 CS election initialization 8255 of the PB port mode 0 initialize the 8251A: mode command word = asynchronous divide 16/8 bit/no parity/1 stop bit: 4EH word = work order to allow the reception/allowed to send/DTR = 1/RTS = 1/Clear the error: 37H PB-8255 by reading bit 0 Press the test button action when the button is pressed, the control 8251A 0-9 ASCII code sent a total of 10 bytes when the program runs in the test bed, forced to exit PC-DVCC software, run the serial interface debugging software, observation confirmed receiving data.
To Search:
File list (Check if you may need any files):
08110101_赵璐璐(8251A)串口.doc