KS152JB Universal Communications Controller Technical Specifications
mode_logic (n)
if (DCONn indicates burst_mode) return 1:
else if (DCONn indicates external_demand_mode)
{
if (demand_flag = 1) return 1: else return 0;
}
else if (DCONn indicates SP_demand_mode)
{
if {SARn = SBUF .AND. RI = 1) return 1;
else | if (DARn = SBUF .AND. TI = 1) return 1; |
else | if (SARn = RFIFO .AND. RFNE = 1) return 1; |
else | if (DARn = TFIFO .AND. TFNE = 1 .AND. |
| previous_cycle = instruction _cycle) return 1; |
else return 0;
}
else if (DCONn indicates alt_cycles_mode)
{
if (DCONm indicates .NOT. alt _cycles_mode
.OR. G0m = 0)
{
if (previous _cycle =
else return 0;
}
else if (previous_cycle = instruction_cycle
.AND. previous_dma_cyle = .NOT. DMAn) return 1;
}
return 0;
end mode_logic (n);
If the channel is configured to External Demand mode, then the first
If the channel is configured to Serial Port Demand mode, the source and destination addresses, SARn and DARn, have to be checked to see which Serial Port buffer is being addressed, and whether its demand flag is set.
SARn refers to the
Kawasaki LSI USA, Inc. | Page 88 of 120 | Ver. 0.9 KS152JB2 |