blob: 18b0727d2477b707b894e4b994360c71fa2cf4bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
|
menu "Configuration of the Nixie Screen"
orsource "$IDF_PATH/examples/common_components/env_caps/$IDF_TARGET/Kconfig.env_caps"
config MCP_I2C_ADDR
hex "I2C address of mcp23017"
default 0x20
help
I2C address of `mcp23017`. `mcp23017` has three address pins (`A0`,
`A1`, and `A2`). The address starts from `0x20` (all pins are
grounded), which is the default, and ends at `0x27`. See "3.3.1
ADDRESSING I2C DEVICES (MCP23017)" in the datasheet.
config SDA_PIN
int "SDA pin number"
range ENV_GPIO_RANGE_MIN ENV_GPIO_OUT_RANGE_MAX
default 6
help
Pin number for SDA pin.
config SCL_PIN
int "SCL pin number"
range ENV_GPIO_RANGE_MIN ENV_GPIO_OUT_RANGE_MAX
default 7
help
Pin number for SLC pin.
config MIN
int
default 0
config MAX
int
default 7
config N0_P0
int "N0_P0 pin number"
range MIN MAX
default 4
help
Pin number for N0_P0.
config N0_P1
int "N0_P1 pin number"
range MIN MAX
default 5
help
Pin number for N0_P1.
config N0_P2
int "N0_P2 pin number"
range MIN MAX
default 6
help
Pin number for N0_P2.
config N0_P3
int "N0_P3 pin number"
range MIN MAX
default 7
help
Pin number for N0_P3.
config N1_P0
int "N1_P0 pin number"
range MIN MAX
default 0
help
Pin number for N1_P0.
config N1_P1
int "N1_P1 pin number"
range MIN MAX
default 1
help
Pin number for N1_P1.
config N1_P2
int "N1_P2 pin number"
range MIN MAX
default 2
help
Pin number for N1_P2.
config N1_P3
int "N1_P3 pin number"
range MIN MAX
default 3
help
Pin number for N1_P3.
config N2_P0
int "N2_P0 pin number"
range MIN MAX
default 4
help
Pin number for N2_P0.
config N2_P1
int "N2_P1 pin number"
range MIN MAX
default 5
help
Pin number for N2_P1.
config N2_P2
int "N2_P2 pin number"
range MIN MAX
default 6
help
Pin number for N2_P2.
config N2_P3
int "N2_P3 pin number"
range MIN MAX
default 7
help
Pin number for N2_P3.
config N3_P0
int "N3_P0 pin number"
range MIN MAX
default 0
help
Pin number for N3_P0.
config N3_P1
int "N3_P1 pin number"
range MIN MAX
default 1
help
Pin number for N3_P1.
config N3_P2
int "N3_P2 pin number"
range MIN MAX
default 2
help
Pin number for N3_P2.
config N3_P3
int "N3_P3 pin number"
range MIN MAX
default 3
help
Pin number for N3_P3.
endmenu
|