Intel 386 User Manual page 196

Embedded microprocessor
Table of Contents

Advertisement

No changes required.
******************************************************************************/
void Enter_Idle_Mode(void)
{
BYTE pwrcon = 0x00;
pwrcon = _GetEXRegByte(PWRCON);
/* clear lowest two bits of pwrcon */
pwrcon = pwrcon & 0xfc;
/* Set mode to idle */
_SetEXRegByte(PWRCON, (pwrcon | IDLE));
/* call HALT instruction to execute IDLE mode */
_asm {
HLT
}
}/* Enter_Idle_Mode */
/*****************************************************************************
Enter_Powerdown_Mode:
Description:
This function programs the 386EX for Powerdown mode.
both the core and peripheral clocks.
Parameters:
None
Returns:
None
Assumptions:
None
Syntax:
Enter_Powerdown_Mode();
Real/Protected Mode:
No changes required.
*****************************************************************************/
void Enter_Powerdown_Mode(void)
{
BYTE pwrcon = 0x00;
pwrcon = _GetEXRegByte(PWRCON);
CLOCK AND POWER MANAGEMENT UNIT
This freezes
8-15

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Intel386 exIntel386 extbIntel386 extc

Table of Contents