Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

SCD1284 Datasheet(PDF) 96 Page - Intel Corporation

Part # SCD1284
Description  IEEE 1284-Compatible Parallel Interface Controller with Two High-Speed Asynchronous Serial Ports
PDF  176 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  INTEL [Intel Corporation]
Direct Link  http://www.intel.com
Logo INTEL - Intel Corporation

SCD1284 Datasheet(HTML) 96 Page - Intel Corporation

Back Button SCD1284 Datasheet HTML 92Page - Intel Corporation SCD1284 Datasheet HTML 93Page - Intel Corporation SCD1284 Datasheet HTML 94Page - Intel Corporation SCD1284 Datasheet HTML 95Page - Intel Corporation SCD1284 Datasheet HTML 96Page - Intel Corporation SCD1284 Datasheet HTML 97Page - Intel Corporation SCD1284 Datasheet HTML 98Page - Intel Corporation SCD1284 Datasheet HTML 99Page - Intel Corporation SCD1284 Datasheet HTML 100Page - Intel Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 96 / 176 page
background image
CD1284 — IEEE 1284-Compatible Parallel Interface Controller
96
Datasheet
/* Code here would put the character in a buffer of some sort for
each
* channel. That code would be dependent on system software design
* so it won’t be shown here. */
}
outportb(RIR, save_rir & 0x3f);/* terminate service ack.
sequence */
outportb(CAR, save_car);
/* restore original CAR* /
return(0);
break;
case 7:
/* exception data service request */
status = inportb(RDSR);/* by definition, only one char; get
status */
outportb(RIR, save_rir & 0x3f);/* terminate service ack.
sequence */
outportb(CAR, save_car);
/* restore original CAR */
return(status);
/* just return the error type */
break;
}
}
6.3.1.3
Serial Transmit Service
/* The transmit service acknowledge routine follows very nearly the same steps that
the receive service routine follows. This time, the TIR is used to force the switch
to a transmit service for the requesting channel. */
service_txm( )
{
char
save_tir, save_car, channel;
int
char_count, i;
save_tir = inportb(TIR);
/* retrieve and save transmit interrupt
value */
channel = save_tir & 0x03;
/* extract channel number from the TIR*/
save_car = inportb(CAR);
/* save CAR for restore */
outportb(CAR, save_tir);
/* switch CD1284 to service ack. context
*/
/* Buffer management code would set-up pointers to the next 12
* characters (maximum) to be sent on this channel. Again, buffer
* layout is system design dependent and won’t be shown here.
*/
for ( i = 0; i < char_count; i++) {/* transmit FIFO can take 12 characters
*/
outportb(TDR, *next_char++);
/* it is assumed that char_count and next_char is set up by buffer code
*/
}
outportb(TIR, save_tir & 0x3f);/* terminate service ack. sequence */
outportb(CAR, save_car);
/* restore original CAR */
return(0);
}
6.3.1.4
Modem Service
/* Code to handle modem signal change service request can be simple or complex
depending on whether port control is handled directly in the service routine or
simply noted with status returned. The following routine services the request and
returns the status of which signals changed with the channel number OR’ed into the



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com