SCD128410QCE Intel, SCD128410QCE Datasheet - Page 98

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
CD1284 — IEEE 1284-Compatible Parallel Interface Controller
6.4.2
98
exception)*/
*/
chars */
each
manipulate the
acknowledge. */
status */
*/
}
Serial Transmit Service
/* The transmit service acknowledge routine follows very nearly the same steps that
the receive service routine follows. The SVCACKT* input is activated to start the
service cycle, reading the contents of the TIVR, and the TICR is read to get the
channel number. */
service_txm( )
{
value */
*/
*/
*/
}
char
int
vector = inportb(SVCACKR);
channel = inportb(RICR) >> 2;
serv_type = vector & 0x07;
switch (serv_type) {
}
outportb(EOSRR, 0x00);
char
int
vector = inportb(SVCACKT);
channel = inportb(TICR) >> 2;
for ( i = 0; i < char_count; i++) {/* transmit FIFO can take 12 characters
}
outportb(EOSRR, 0x00);
case 3:
case 7:
/* Buffer management code would set-up pointers to the next 12
*/
outportb(TDR, *next_char++);
/* it is assumed that char_count and next_char is set up by buffer code
* characters (maximum) to be sent on this channel. Again, buffer
* layout is system design dependent and won’t be shown here.
serv_type, vector, channel, status, char;
char_count, i;
char_count = inportb(RDCR); /* get number of characters in FIFO
for ( i = 1; i <= char_count; i++) {/* - read that number of
/* Code here would put the character in a buffer of some sort for
}
break;
status = inportb(RDSR);/* by definition, only one char; get
break;
vector, channel;
char_count, i;
* channel. That code would be dependent on system software design
* so it won’t be shown here; this code just shows how to
* CD1284 registers to implement the poll mode service
char = inportb(RDSR);
/* gen. ack and get vector (read LIVR) */
/* extract channel number from the RICR*/
/* mask RIVR to get type (good/
/* good data service */
/* exception data service request */
/* write dummy value to EOSRR to terminate
/* retrieve and save transmit interrupt
/* extract channel number from the RICR*/
/* write dummy value to EOSRR to terminate
/* read char from FIFO */
Datasheet

Related parts for SCD128410QCE