GPIO
low active unless stated otherwise
|
GPIO A |
Port pin |
Bit |
I/O/F |
Description |
0 |
01 |
O |
OF |
1 |
02 |
I |
BUTTON_REW |
2 |
04 |
I |
BUTTON_FF |
3 |
08 |
I |
BUTTON_PLAY |
4 |
10 |
I |
BUTTON_UP |
5 |
20 |
I |
BUTTON_DOWN |
6 |
40 |
I |
BUTTON_AB |
7 |
80 |
I |
BUTTON_RIGHT |
|
GPIO B |
Port pin |
Bit |
I/O/F |
Description |
0 |
01 |
I |
Power (USB or Cradle) |
1 |
02 |
- |
|
2 |
04 |
I |
USB (1-connected) |
3 |
08 |
I |
Headphone (1-conected) |
4 |
10 |
- |
|
5 |
20 |
- |
|
6 |
40 |
- |
|
7 |
80 |
o |
xx |
|
GPIO C |
Port pin |
Bit |
I/O/F |
Description |
0 |
01 |
- |
|
1 |
02 |
- |
|
2 |
04 |
I |
SD card inserted |
3 |
08 |
o |
|
4 |
10 |
o |
low level device stuff |
5 |
20 |
- |
|
6 |
40 |
- |
|
7 |
80 |
- |
xx |
|
GPIO F |
Port pin |
Bit |
I/O/F |
Description |
0 |
01 |
O |
OF |
1 |
02 |
O |
OF |
2 |
04 |
O |
OF |
3 |
08 |
O |
OF |
4 |
10 |
O |
OF |
5 |
20 |
O |
OF |
6 |
40 |
O |
OF |
7 |
80 |
O |
OF |
|
GPIO G |
Port pin |
Bit |
I/O/F |
Description |
0 |
01 |
- |
|
1 |
02 |
- |
|
2 |
04 |
- |
|
3 |
08 |
- |
|
4 |
10 |
- |
|
5 |
20 |
- |
|
6 |
40 |
- |
|
7 |
80 |
I |
? |
|
GPIO J |
Port pin |
Bit |
I/O/F |
Description |
0 |
01 |
I |
? |
1 |
02 |
- |
|
2 |
04 |
I |
|
3 |
08 |
- |
|
4 |
10 |
- |
|
5 |
20 |
- |
|
6 |
40 |
- |
|
7 |
80 |
- |
|
|
GPIO K |
Port pin |
Bit |
I/O/F |
Description |
0 |
01 |
- |
|
1 |
02 |
- |
|
2 |
04 |
- |
|
3 |
08 |
- |
|
4 |
10 |
- |
|
5 |
20 |
I |
BUTTON_VOL_DOWN |
6 |
40 |
I |
BUTTON_HOLD (1=hold) |
7 |
80 |
o |
xx |
|
GPIO L |
Port pin |
Bit |
I/O/F |
Description |
0 |
01 |
- |
|
1 |
02 |
- |
|
2 |
04 |
- |
|
3 |
08 |
- |
|
4 |
10 |
- |
|
5 |
20 |
O |
xx/OF |
6 |
40 |
- |
|
7 |
80 |
- |
|
Copyright © by the contributing authors.