Acnodes FPC 7619 Manuale Utente Pagina 56

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 88
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 55
FPC 7619
19 inch Atom Fanless Panel PC
© Copyright 2012 Acnodes, Inc.
All rights reserved. Product description and product specifi cations
are subject to change without notice. For latest product information,
please visit Acnodes web site at www.acnodes.com.
14628 Central Ave,
Chino, CA91710
tel:909.597.7588, fax:909.597.1939
o u t p o rtb ( IN D E X P , 0 x8 7 ); }
/ /S u p e r I /O in d e x w rite
# d e f in e W R IT E R E G(r e g ,va l) { \
o u t p o rtb ( IN D E X P , re g ); \
o u t p o rtb (D A TA P , va l); }
/ /E xit su p e r I/ O p ro g ra m m in g m o d e
# d e f in e E X IT P R G { \
o u t p o rtb ( IN D E X P , 0 xA A ); }
/ /S e le ct lo gic d e vice n u m b e r
# d e f in e S E L E TD E V (ld n ) { \
o u t p o rtb ( IN D E X P , 7 ); \
o u t p o rtb (D A TA P , ld n ); }
/ /I n itia lize t h e G P I O p o rt2
in t I n itG P 2 () {
/ /S ta rt t h e su p e r I /O ch ip pr o g ra m m in g
E N TE R P R G
/ /S e le ct th e lo g ica l d e vice 9 , G P 2
S E L E T D E V (9 )
/ /A
ctiva
t e G P 1
W R ITE R E G (0 x3 0 , (in p o rtb (0 x3 0 )|0 x2 ))
W R ITE R E G (0 xE 6 , 0 x 0
)
W R ITE R E G (0 xE 4 , 0 x FF )
/ /E xit th e su p e r I/ O ch ip p ro g ra m m in g
E X IT P R G
re tu rn 0 ;
}
/ /I n itia lize t h e G P I O p o rt6
in t I n itG P 6 () {
/ /S ta rt t h e su p e r I /O ch ip pr o g ra m m in g
Vedere la pagina 55
1 2 ... 51 52 53 54 55 56 57 58 59 60 61 ... 87 88

Commenti su questo manuale

Nessun commento