|
AKD4184A-A Datasheet, PDF (13/25 Pages) Asahi Kasei Microsystems – Evaluation Board Rev.0 for AK4184A | |||
|
◁ |
[AKD4184A-A]
 Explanation of GPIO window
When click [OPEN GPIO] button on the main window, the window as shown in Figure 9 opens.
Figure 9. [GPIO Dialog] window
ÌɽGPIO Data Acquisition
ɾ[Pin DIR(PAGE1,GPDIR)]: Check the box of âDirectionâ in the GPIO Pin Assignment, then click [Write]
button. And click [Read] button, then display the current setting in Hex. [Pin DIR
(PAGE1, GPDIR)] corresponds to âGPIO Pin Direction Registerâ of the
AK4184Aâs register.
ɾ[Pin Pull-up(PAGE1, GPPU)]: Check the box of âPin Pull-upâ in the GPIO Pin Assignment, then click [Write]
button. And click [Read] button, then display the current setting. [Pin Pull-up
(PAGE1, GPPU)] corresponds to âGPIO Pin Pull-up Registerâ of the AK4184Aâs
register.
ɾ[Pin State(PAGE1, GPPS)]: Check the box of âPin Stateâ, then click [Write] button. [Pin State (PAGE1,
GPPS)] corresponds to âGPIO Pin State Registerâ of the AK4184Aâs register.
ɾ[Pin Set/Clear(PAGE1, GPSCR)]: Check the box of âPin Set/Clearâ in the GPIO Pin Assignment, then click
[Write] button. [Pin Set/Clear (PAGE1, GPSCR)] corresponds to âGPIO Pin State
Registerâ of the AK4184Aâs register.
ɾ[Pin Level(PAGE0, GPLR)]: Click [Read] button in the GPIO Pin Assignment, then read âGPIO Pin Level
Registerâ status and display the input level in âPin Levelâ
< Example ʵ GPIO Input >
a. Set the jumper pins of JP9~JP16 (GP0~GP7) to become âINâ.
b. Check the box of âDirectionâ (GP0~GP7) to become âInputâ, and click [Write] button of âPin DIR
(PAGE1, GPDIR)â.
c. Set the DIP SW (S1) to become either âHâ or âLâ.
d. Click [Read] button of âPin Level (PAGE0, GPLR)â.
e. Display the input level in âPin Levelâ.
<KM093500>
- 13 -
2008/03
|
▷ |