SCD128410QCE Intel, SCD128410QCE Datasheet - Page 101

no-image

SCD128410QCE

Manufacturer Part Number
SCD128410QCE
Description
Manufacturer
Intel
Datasheet

Specifications of SCD128410QCE

Pin Count
100
Lead Free Status / RoHS Status
Not Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
SCD128410QCE
Manufacturer:
INTEL
Quantity:
20 000
Datasheet
The routine below shows one way of implementing the poll-mode service activation using the first
method.
service_par( )
{
value */
*/
request is active */
active */
clearing bit 7 */
}
It is not necessary for the CPU on the parallel channel to actually copy the contents of the PIR into
the CAR. Since it is known that the parallel channel is always channel 0, the CPU may switch the
context by simply writing a x’00 into the CAR after first saving the previous state of the CAR, if
desired. At the end of the service, the interrupt context can be returned by toggling the IntEn bit in
the PFCR within the data pipeline. Hardware in that block of logic detects the toggle operation and
clears the PPireq bit itself. The CPU can restore the CAR, if desired, and exit the routine. Just as it
would in the other poll-mode case, once the MPU has detected the clearing of the parallel interrupt
source bits (PPort and Pipeline) and the PPIreq bit. It cleans up the PIR and LIVR.
service_par( )
{
*/
request is active */
active */
char
save_pir = inportb(PIR);
save_car = inportb(CAR);
outportb(CAR, save_pir);
livr_val = inportb(LIVR) & 0x07;
switch (livr_val) {
}
outportb(PIR, save_pir & 0x00);
outportb(CAR, save_car);
return(0);
char
save_car = inportb(CAR);
outportb(CAR, 0x00);
livr_val = inportb(LIVR) & 0x07;
switch (livr_val) {
case 4:
case 5:
case 6:
default:
case 4:
case 5:
case 6:
default:
save_pir, save_car, livr_val;
service_par_chan();
break;
service_pipeline();
break;
service_par_chan();
service_pipeline();
break;
break;
save_car, livr_val;
service_par_chan();
break;
service_pipeline();
break;
service_par_chan();
service_pipeline();
break;
IEEE 1284-Compatible Parallel Interface Controller — CD1284
/* retrieve and save parallel interrupt
/* save CAR for restore */
/* switch CD1284 to service ack. context
/* just the parallel channel state-machine
/* just the data path pipeline request is
/* both requests are active */
/* terminate service ack. sequence by
/* restore original CAR*/
/* save CAR for restore (if desired) */
/* switch CD1284 to service ack. context
/* get the vector (Not from the PIVR) */
/* just the parallel channel state-machine
/* just the data path pipeline request is
/* both requests are active */
101

Related parts for SCD128410QCE