Re: 8051?# EE - 电子工程
g*e
1 楼
【Every Microcontroller system has diffirent requirements, so the
communication
program will be very different. I doubt you can use other's code.
I am not very familiar with 8051, so let's talk about 8098/80196:
The basic procedure is you configure the Interrupt Control word for the
transmit and receive Int-ID. Then write your transmit and receive Interrupt
subroutine. In the subroutine, say, receive, you read the receive buffer
byte
by byte, and put the received data in your own data buffer.
communication
program will be very different. I doubt you can use other's code.
I am not very familiar with 8051, so let's talk about 8098/80196:
The basic procedure is you configure the Interrupt Control word for the
transmit and receive Int-ID. Then write your transmit and receive Interrupt
subroutine. In the subroutine, say, receive, you read the receive buffer
byte
by byte, and put the received data in your own data buffer.