NO:
W90P710 Programming Guide
VERSION:
2.0
PAGE:
153
The above information is the exclusive intellectual property of Winbond Electronics and shall not be disclosed, distributed or reproduced without permission
from Winbond.
Table No.: 2005-W90P710-11-A
11.3.5 IrDA
SIR
The IrDA SIR block contains an IrDA SIR protocol encoder/decoder. The IrDA SIR protocol is half-
duplex only. So it cannot transmit while receiving, and vice versa. The IrDA SIR physical layer
specifies a minimum 10ms transfer delay between transmission and reception. This feature should be
implemented by software.
Figure 11-7 IrDA Tx/Rx
Is data byte
available in
driver ' s buffer ?
Disable THRE interrupt
Read LSR
Delay 10 ms
and enable
IrDA receiver
Move data byte
from Rx FIFO
to driver buffer
End
N
Y
N
Y
UART initialization
Enable IrDA
IRCR [ 0]
IrDA _ EN
0
disable IrDA block
1
disable IrDA block
Start
Is THRE Interrupt
?
Y
Enable IrDA transmitter and
Move data bytes from driver
buffer to Tx FIFO
N
Is RDA or TOUT
interrupt
?