SB16C1058-TQFP128 IK Semicon Co., Ltd, SB16C1058-TQFP128 Datasheet - Page 59

no-image

SB16C1058-TQFP128

Manufacturer Part Number
SB16C1058-TQFP128
Description
Octal-uart Controller With 256-byte Fifo
Manufacturer
IK Semicon Co., Ltd
Datasheet
Table 32:
Command
5. Read Data
6. Output TX
Serial Input Process
1. RX Interrupt is generated and Jumped to
2. Read ISR
3. Check TX Interrupt Status
4. Read RX FIFO Count
5. Read RX Data
5. Read Data
Interrupt Service Routine
IN16C1058 Programming Guide…continued
OCTAL UART WITH 256-BYTE FIFO
Action
Else
Return from Interrupt Service Routine
Read ISR, then save in temp1
If temp1 = xx00_0100b then
Else if temp1 = xx00_0010b then
Else
TX Interrupt Service Routine:
RX Interrupt Service Routine:
Read MCR, then save in temp2
Set MCR to (temp2 OR 40h)
Read RCR, then save in temp3
Set MCR to temp2
If temp1[6] = 1b then
Else
Return from Interrupt Service Routine
…..
For (Cnt = 0; Cnt < temp3; Cnt++)
For (Cnt = 0; Cnt <= 255; Cnt++)
For (Cnt = 0; Cnt < temp3; Cnt++)
Read TX_Data from TX_User_Buffer
Set THR to TX_Data
Goto RX Interrupt Service Routine
Goto TX Interrupt Service Routine
Return from Interrupt Service Routine
Read RBR, save in RX_User_Buffer
Read RBR, save in RX_User_Buffer
IN16C1058
JUNE 2009
REV 1.0
59

Related parts for SB16C1058-TQFP128