EasyManua.ls Logo

Intel 386

Intel 386
691 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Intel386™ EX EMBEDDED PROCESSOR USERS MANUAL
10-40
case TMR_2:
CountL = _GetEXRegByte(TMR2);
CountH = _GetEXRegByte(TMR2);
break;
}
Count = (((WORD)CountH << 8) + CountL);
EnableTimer();
return(Count);
}/* ReadCounter */
/*****************************************************************************
TimerISR:
Description:
Interrupt Service Routine for Timer-generated interrupts.
Parameters:
None
Returns:
None
Assumptions:
None
Syntax:
Not called by user.
Real/Protected Mode:
No changes required
******************************************************************************/
void interrupt far TimerISR(void)
{
/* Write message out to serial port as an example */
SerialWriteStr(SIO_0, “In TimerISR\n”);
NonSpecificEOI(); // If this ISR services Timer1 or Timer2,
// an EOI is also needed for the Slave 8259
}/* TimerISR */

Table of Contents

Related product manuals