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 MICROPROCESSOR USERS MANUAL
8-16
/* clear lowest two bits of pwrcon */
pwrcon = pwrcon & 0xfc;
/* Set mode to powerdown */
_SetEXRegByte(PWRCON, pwrcon | PWDWN);
/* call HALT instruction to execute POWERDOWN mode */
_asm {
HLT
}
}/* Enter_Powerdown_Mode */
/*****************************************************************************
Mode_Setting_To_Active:
Description:
This function returns the 386EX to Active mode. Thus, the next
HALT instruction will not invoke the Idle or Powerdown Mode.
Parameters:
None
Returns:
None
Assumptions:
None
Syntax:
Mode_Setting_To_Active();
Real/Protected Mode:
No changes required.
******************************************************************************/
void Mode_Setting_To_Active(void)
{
BYTE pwrcon = 0x00;
pwrcon = _GetEXRegByte(PWRCON);
/* clear lowest two bits of pwrcon */
pwrcon = pwrcon & 0xfc;
/* Set mode to active */
_SetEXRegByte(PWRCON, pwrcon | ACTIVE);
}/*Mode_Setting_To_Active*/

Table of Contents

Related product manuals