| Electronic Components Datasheet Search |
|
CD1865 Datasheet(PDF) 93 Page - Intel Corporation |
|
|
|||||||||||||||||||||||||||||
CD1865 Datasheet(HTML) 93 Page - Intel Corporation |
|
93 / 150 page ![]() Intelligent Eight-Channel Communications Controller — CD1865 Datasheet 93 } case 128: // case of DSR change interrupt { printf(" DSR has a changed state.\n"); break; } default: { printf(" Invalid Modem interrupt detected.......\n"); break; } } Set_Byte(MCR, 0x00); // Clear the Modem Change register after // service the modem request. Set_Byte(EOSRR, 0x00); // Clear the EOSRR register at the end // modem service routine. return; } 8.11.5 Polled Mode Operation The Polled-mode operation can be used with any type of host CPU, or it can be used in combination with interrupts to provide a Mixed-mode system optimized for a particular operation. For details refer to Section 5.5 on page 35. In the Polled-mode operation, the Service Match registers need to be setup first (TSMR, RSMR, MSMR) in the channel initialization routine. Once an interrupt is detected, it is acknowledged by reading the corresponding register depending on the type of interrupt. while ( !((int_status = Read_Byte( SRSR )) & 0x15 ) ) { // waiting for interrupt. break; } // Case of Receiving interrupt if ( int_status & 0x10 ) { Read_Byte(RSMR) Service_Rx(); } // Case of transmitting interrupt if ( int_status & 0x04 ) { Read_Byte(TSMR) Service_Tx(); } // case of modem interrupt if (int_status & 0x02) { Read_Byte(MSMR) Service_Mdm(); } |
|
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 |