Intel 386 Manuale Utente Pagina 196

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 691
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 195
8-15
CLOCK AND POWER MANAGEMENT UNIT
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. This freezes
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);
Vedere la pagina 195
1 2 ... 191 192 193 194 195 196 197 198 199 200 201 ... 690 691

Commenti su questo manuale

Nessun commento