Acnodes FPC 7619 Uživatelský manuál Strana 52

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 88
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 51
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
3 .1 0 E x a m p le s o f G P IO P r o g r a m m i n g
3 . 1 0 .1 S u p e rI O M o d e l : W i n b o n d W 8 3 6 2 7 U H G
G
P IO O U T us e G P 6 0 ~ 6 3
G
P IO I N u s e G P 2 0 ~ 2 3
3 . 1 0 .2 W 8 3 6 2 7 U H G A c c e s s i n d e x p o r t: 4 E h / 4 F h
In d e x A d d re s s P o rt: 4 E h
In d e x D a ta P o r t: 4
F
h
3 . 1 0 .3 C o n f i g u re G P I O r e g i s te r s e q u e n c e
1 . E n te r th e e x te n d e d fu n c t io n m
od
e
2 . S e lec t lo gic d e v
ic
e n um b e r 8
3 . A c t
iv
a t e t h e lo g ic d e v
ic
e G P I O P o r t 6
4 . C o
nf
ig u re G P I O P o rt 6 re g
is
te r
5 . S e lec t lo g ic d e v
ic
e n um b e r 9
6 . A c t
iv
a t e t h e lo g ic d e v
ic
e G P I O P o r t 2
7 . C o
nf
ig u re G P I O P o rt 2 re g
is
te r
8 . E x it th e e x te n d e d fu n c t io n m o d e
3 . 1 0 .4 R e a d /w r i te G P I O s e q u e n c e
1 . E n te r th e e x te n d e d fu n c t io n m
od
e
2 . S e lec t lo gic d e v
ic
e n um b e r
3 . R e
ad
/ w rite
G
P IO r e g is te r v a lu e
4 . E x it th e e x te n d e d fu n c t io n m o d e
3 . 1 0 .5 S o f tw a re p r o g r a m m i n g e x a m p le
E n te r t
h
e e x
ten
d e d fu
n
c ti
o
n m
o
d e
W
rit
ing 8 7 h t o in d e x a d d
res
s p o rt tw
ic
e w ill e n te r th e e x te n d e d fu n c t ion m o d e .
E x a m p le x 8 6 a s s e m b ly c o d e :
m o v d x , 4 E h
m o v a l, 8 7 h
o u t d x , al
o u t d x , al
E x a m p le C c
od
e :
o u t p o
rtb
(0 x 4 E , 0 x 8 7 );
o u t p o
rtb
(0 x 4 E , 0 x 8 7 );
E x i t th e e x
ten
d e d fu
n
c ti
o
n m
o
d e
W
rit
ing A A h t o in d e x
ad
d re s s p o rt w ill e x it t h e e x te n d e d f u n c t io n m o d e .
Zobrazit stránku 51
1 2 ... 47 48 49 50 51 52 53 54 55 56 57 ... 87 88

Komentáře k této Příručce

Žádné komentáře