Intel 386 Manuale Utente Pagina 197

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 691
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 196
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*/
Vedere la pagina 196
1 2 ... 192 193 194 195 196 197 198 199 200 201 202 ... 690 691

Commenti su questo manuale

Nessun commento