hybridgroup.gobot/platforms/chip/chippro_pinmap.go

169 lines
1.9 KiB
Go
Raw Normal View History

package chip
var chipProPins = map[string]sysfsPin{
"PWM0": {
pin: 34,
pwmPin: 0,
},
"PWM1": {
pin: 205,
pwmPin: 1,
},
"LCD-D2": {
pin: 98,
pwmPin: -1,
},
"LCD-D3": {
pin: 99,
pwmPin: -1,
},
"LCD-D4": {
pin: 100,
pwmPin: -1,
},
"LCD-D5": {
pin: 101,
pwmPin: -1,
},
"LCD-D6": {
pin: 102,
pwmPin: -1,
},
"LCD-D7": {
pin: 103,
pwmPin: -1,
},
"LCD-D10": {
pin: 106,
pwmPin: -1,
},
"LCD-D11": {
pin: 107,
pwmPin: -1,
},
"LCD-D12": {
pin: 108,
pwmPin: -1,
},
"LCD-D13": {
pin: 109,
pwmPin: -1,
},
"LCD-D14": {
pin: 110,
pwmPin: -1,
},
"LCD-D15": {
pin: 111,
pwmPin: -1,
},
"LCD-D18": {
pin: 114,
pwmPin: -1,
},
"LCD-D19": {
pin: 115,
pwmPin: -1,
},
"LCD-D20": {
pin: 116,
pwmPin: -1,
},
"LCD-D21": {
pin: 117,
pwmPin: -1,
},
"LCD-D22": {
pin: 118,
pwmPin: -1,
},
"LCD-D23": {
pin: 119,
pwmPin: -1,
},
"LCD-CLK": {
pin: 120,
pwmPin: -1,
},
"LCD-HSYNC": {
pin: 122,
pwmPin: -1,
},
"LCD-VSYNC": {
pin: 123,
pwmPin: -1,
},
"UART1-TX": {
pin: 195,
pwmPin: -1,
},
"UART1-RX": {
pin: 196,
pwmPin: -1,
},
"AP-EINT1": {
pin: 193,
pwmPin: -1,
},
"AP-EINT3": {
pin: 35,
pwmPin: -1,
},
"TWI2-SCK": {
pin: 49,
pwmPin: -1,
},
"TWI2-SDA": {
pin: 50,
pwmPin: -1,
},
"CSIPCK": {
pin: 128,
pwmPin: -1,
},
"CSICK": {
pin: 129,
pwmPin: -1,
},
"CSIHSYNC": {
pin: 130,
pwmPin: -1,
},
"CSIVSYNC": {
pin: 131,
pwmPin: -1,
},
"CSID0": {
pin: 132,
pwmPin: -1,
},
"CSID1": {
pin: 133,
pwmPin: -1,
},
"CSID2": {
pin: 134,
pwmPin: -1,
},
"CSID3": {
pin: 135,
pwmPin: -1,
},
"CSID4": {
pin: 136,
pwmPin: -1,
},
"CSID5": {
pin: 137,
pwmPin: -1,
},
"CSID6": {
pin: 138,
pwmPin: -1,
},
"CSID7": {
pin: 139,
pwmPin: -1,
},
}