Aaeon PFM-535S Manuale Utente Pagina 44

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 53
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 43
PC/104 CPU Module PFM-535S
Appendix A Programming the Watchdog Timer A-11
mov edx, DWORD PTR addr
in al, dx
and eax, 0xff
pop edx
}
}
void outportb(int addr, unsigned char val)
{
__asm
{
push edx
mov edx, DWORD PTR addr
mov al, BYTE PTR val
out dx, al
pop edx
}
}
void main(void)
{
unsigned char c;
unsigned long lTime;
// 500 mini-second
lTime = 0x20L * 500L;
outp(0x6c, (lTime >> 16) & 0xff);
outp(0x6b, (lTime >> 8) & 0xff);
Vedere la pagina 43
1 2 ... 39 40 41 42 43 44 45 46 47 48 49 ... 52 53

Commenti su questo manuale

Nessun commento