-
Notifications
You must be signed in to change notification settings - Fork 14
/
UserPinConfig.h
94 lines (87 loc) · 3.86 KB
/
UserPinConfig.h
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
/*
This file is a part of the wiringBone library
Copyright (C) 2015 Abhraneel Bera
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 3 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA
*/
// Usage:
// Replace 'disabled' with required valid pin modes
#ifndef USERPINCONFIG_H
#define USERPINCONFIG_H
// Valid Modes
#define P8_3_MODE disabled // gpio
#define P8_4_MODE disabled // gpio
#define P8_5_MODE disabled // gpio
#define P8_6_MODE disabled // gpio
#define P8_7_MODE disabled // gpio
#define P8_8_MODE disabled // gpio
#define P8_9_MODE disabled // gpio
#define P8_10_MODE disabled // gpio
#define P8_11_MODE disabled // gpio, pruout
#define P8_12_MODE disabled // gpio, pruout
#define P8_13_MODE disabled // gpio, pwm
#define P8_14_MODE disabled // gpio
#define P8_15_MODE disabled // gpio, pruin
#define P8_16_MODE disabled // gpio, pruin
#define P8_17_MODE disabled // gpio
#define P8_18_MODE disabled // gpio
#define P8_19_MODE disabled // gpio, pwm
#define P8_20_MODE disabled // gpio, pruout, pruin
#define P8_21_MODE disabled // gpio, pruout, pruin
#define P8_22_MODE disabled // gpio
#define P8_23_MODE disabled // gpio
#define P8_24_MODE disabled // gpio
#define P8_25_MODE disabled // gpio
#define P8_26_MODE disabled // gpio
#define P8_27_MODE disabled // gpio, pruout, pruin
#define P8_28_MODE disabled // gpio, pruout, pruin
#define P8_29_MODE disabled // gpio, pruout, pruin
#define P8_30_MODE disabled // gpio, pruout, pruin
#define P8_31_MODE disabled // gpio
#define P8_32_MODE disabled // gpio
#define P8_33_MODE disabled // gpio
#define P8_34_MODE disabled // gpio, pwm
#define P8_35_MODE disabled // gpio
#define P8_36_MODE disabled // gpio, pwm
#define P8_37_MODE disabled // gpio, uart
#define P8_38_MODE disabled // gpio, uart
#define P8_39_MODE disabled // gpio, pruout, pruin
#define P8_40_MODE disabled // gpio, pruout, pruin
#define P8_41_MODE disabled // gpio, pruout, pruin
#define P8_42_MODE disabled // gpio, pruout, pruin
#define P8_43_MODE disabled // gpio, pruout, pruin
#define P8_44_MODE disabled // gpio, pruout, pruin
#define P8_45_MODE disabled // gpio, pruout, pruin
#define P8_46_MODE disabled // gpio, pruout, pruin
#define P9_11_MODE disabled // gpio, uart
#define P9_12_MODE disabled // gpio
#define P9_13_MODE disabled // gpio, uart
#define P9_14_MODE disabled // gpio, pwm
#define P9_15_MODE disabled // gpio
#define P9_16_MODE disabled // gpio, pwm
#define P9_17_MODE disabled // gpio, spi, i2c
#define P9_18_MODE disabled // gpio, spi, i2c
#define P9_21_MODE disabled // gpio, pwm, uart, spi, i2c
#define P9_22_MODE disabled // gpio, pwm, uart, spi, i2c
#define P9_23_MODE disabled // gpio
#define P9_24_MODE disabled // gpio, pruin, uart, i2c
#define P9_25_MODE disabled // gpio, pruout, pruin
#define P9_26_MODE disabled // gpio, pruin, uart, i2c
#define P9_27_MODE disabled // gpio, pruout, pruin
#define P9_28_MODE disabled // gpio, pruout, pruin, pwm, spi
#define P9_29_MODE disabled // gpio, pruout, pruin, pwm, spi
#define P9_30_MODE disabled // gpio, pruout, pruin, spi
#define P9_31_MODE disabled // gpio, pruout, pruin, pwm, spi
#define P9_41_MODE disabled // gpio, pruout, pruin
#define P9_42_MODE disabled // gpio, pruout, pruin, pwm, spi
#endif