| Electronic Components Datasheet Search |
|
CD1865 Datasheet(PDF) 92 Page - Intel Corporation |
|
|
|||||||||||||||||||||||||||||
CD1865 Datasheet(HTML) 92 Page - Intel Corporation |
|
92 / 150 page ![]() CD1865 — Intelligent Eight-Channel Communications Controller 92 Datasheet // Signal to the CD1865 that the current interrupt // Service is concluded. return; } Transmit Interrupt Service Service_Tx(unsigned char chan) { unsigned char channel, vector,c; int i; vector= Read_Byte(0x85); // Perform hardware acknowledge channel = Read_Byte(GSCR1) >> 2; if (channel==chan){ // Make sure correct channel for (i=1; i<= 8 && !quit_tx ; i++){ Set_Byte(TDR, txm_str[tx_ptr[chan]++] ); if (tx_ptr[chan] >= strlen(txm_str) ){ tx_ptr[chan] = 0; // Reset the pointer back to the quit_tx = 1; } }//for }//if else Tx_chan_err = 1; // Wrong transmitting channel. 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 signal to the // CD1865 that the current interrupt service // Is concluded. return; } Modem Interrupt Service Service_Mdm() { unsigned char channel, vector; vector = Read_Byte(MRAR); // Software acknowledge using MRAR //vector = Read_Byte(0x81); // Comment out the previous line, if using // hardware acknowledge. channel = Read_Byte(GSCR1) >> 2; switch(Read_Byte(MCR)&0xe0) { case 32: // case of CTS change interrupt { printf(" CTR has a changed state. \n"); break; } case 64: // case of CD change interrupt { printf(" CD has a changed state.\n"); break; |
|
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 |
| 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 |