Slide 1
Slide 2
Slide 3
Slide 4
Slide 5
Slide 6
Slide 7
Slide 8
Slide 9
Slide 10
Slide 11
Slide 12
Slide 13
Slide 14
Slide 15
Slide 16
Slide 17
Slide 18
Slide 19
Slide 20
Slide 21
Slide 22
Slide 23
Product List
The previous slide showed that the receiver was enabled by the command SCON0 = 0x10, which sets the REN0 bit. Once enabled, received data will set the RI0 bit at the end of transmission (when the peripheral is sampling the stop bit time). If interrupts are enabled, the setting of RI0 will generate an interrupt and the interrupt service routine (ISR) will be executed. The ISR code will have to clear the flags and read the data in the receive buffer SBUF0.
PTM Published on: 2011-02-07