Linux BSP v1.
Linux BSP v1.
Linux BSP v1.
Linux BSP v1.2
2
2
2....0
0
0
0 Development
Development
Development
Development Guide
Guide
Guide
Guide
30
The value should be 0xF because of the influence of GPIO 20-23.
5.6.3.3.
5.6.3.3.
5.6.3.3.
5.6.3.3.
Set GPIO 24
Set GPIO 24
Set GPIO 24
Set GPIO 24----27 to change GPIO 20
27 to change GPIO 20
27 to change GPIO 20
27 to change GPIO 20----23
23
23
23
a.
The first step is to examine the value of GPIO 20-23 input data register
value.
# devmem2 0xd8110030 b
# devmem2 0xd8110030 b
# devmem2 0xd8110030 b
# devmem2 0xd8110030 b
/* Read GPIO 20-23 input Registers*/
Obviously, the value should be 0x0.
b.
To begin the experiment, set the value of GPIO 24-27 output enable
registers to be high state.
# devmem2 0xd81100b1 b 0x0f
# devmem2 0xd81100b1 b 0x0f
# devmem2 0xd81100b1 b 0x0f
# devmem2 0xd81100b1 b 0x0f
/* Write GPIO 24-27 Output Enable Registers*/
c.
Then set the value of GPIO 24-27 output data registers also to be high
state.
# devmem2 0xd81100f1
# devmem2 0xd81100f1
# devmem2 0xd81100f1
# devmem2 0xd81100f1 b 0x0f
b 0x0f
b 0x0f
b 0x0f
/* Write GPIO 24-27 Output Data Registers*/
Содержание ARTiGO-A600
Страница 1: ...1 00 09232015 100600 DEVELOPMENT GUIDE ARTiGO A600 Linux BSP v1 2 ...
Страница 56: ......