Electronic Components Datasheet Search
  English  ▼

X  

CD1865 Datasheet(PDF) 91 Page - Intel Corporation

Part # CD1865
Description  Intelligent Eight-Channel Communications Controller
PDF  150 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  INTEL [Intel Corporation]
Direct Link  http://www.intel.com
Logo INTEL - Intel Corporation

CD1865 Datasheet(HTML) 91 Page - Intel Corporation

Back Button CD1865 Datasheet HTML 87Page - Intel Corporation CD1865 Datasheet HTML 88Page - Intel Corporation CD1865 Datasheet HTML 89Page - Intel Corporation CD1865 Datasheet HTML 90Page - Intel Corporation CD1865 Datasheet HTML 91Page - Intel Corporation CD1865 Datasheet HTML 92Page - Intel Corporation CD1865 Datasheet HTML 93Page - Intel Corporation CD1865 Datasheet HTML 94Page - Intel Corporation CD1865 Datasheet HTML 95Page - Intel Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 91 / 150 page
background image
Intelligent Eight-Channel Communications Controller — CD1865
Datasheet
91
if (int_status & 0x02)
Service_Mdm();
} //while
outportb(S8259, EOI);
/* End of Interrupt */
outportb(S8259, RDISTAT);
/* Next access read the IS Reg. */
if ( !inportb(S8259) )
/* while the slave is not serving any int. */
outportb(M8259, EOI);
/* issue End of Int. (EOI) to master */
Once the interrupt source has been determined, the request must be serviced by issuing an IACKIN
signal to the device with the preprogrammed PILR match value supplied as the address. A receive
interrupt acknowledge cycle might be written as shown. Immediately following the write to the
EOIR register to terminate the current interrupt context, the 8259A must be informed that the
service is over. This is done by the simple procedure shown at the end of the interrupt source
determination routine above.
Receive Interrupt Service
Service_Rx(unsigned char chan)
{
unsigned charchannel, vector, RxCount;
int
i;
vector= Read_Byte(0x8a);
// perform hardware acknowledge
channel = Read_Byte(GSCR1) >>
2;
RxCount=Read_Byte(RDCR);
// RDCR contains the number of byte to be
transfered.
if ((RxCount>0)&&(RxCount<=8))
{
if
((exception_data = Read_Byte(RCSR)) != 0)
// Receive Exception: in this
// Example, we disable receive
// Operation if detected a
receive
// Exception.
{
Set_Byte(CAR, chan);
Set_Byte(SRER, 0x00);
// Disable receive
}
else
// Normal Receive Operation:
no
// Receive exception.
{
if (channel==chan){
// Correct Receiving Channel
for (i=RxCount; i>0; i--){
rx_str[rx_ptr]=Read_Byte(RDR);
rx_ptr++;
}//for
}//if
else
// Incorrect Receiving Channel
Rx_chan_err = 1;
} // else
}
//if
Set_Byte(EOSRR, 0x00);
// Set Transmit End of Int Reg. The
Transmit End of
// Interrupt Register must be
written to by the
// Corresponding host
interrupt service
routine to



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