Intel 386 User Manual page 197

Embedded microprocessor
Table of Contents

Advertisement

Intel386™ EX EMBEDDED MICROPROCESSOR USER'S MANUAL
/* 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.
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*/
8-16
Thus, the next

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Intel386 exIntel386 extbIntel386 extc

Table of Contents