Go to the documentation of this file.
27 #ifndef LPC17XX_PINSEL_H_
28 #define LPC17XX_PINSEL_H_
47 #define PINSEL_PORT_0 ((0))
48 #define PINSEL_PORT_1 ((1))
49 #define PINSEL_PORT_2 ((2))
50 #define PINSEL_PORT_3 ((3))
51 #define PINSEL_PORT_4 ((4))
56 #define PINSEL_FUNC_0 ((0))
57 #define PINSEL_FUNC_1 ((1))
58 #define PINSEL_FUNC_2 ((2))
59 #define PINSEL_FUNC_3 ((3))
64 #define PINSEL_PIN_0 ((0))
65 #define PINSEL_PIN_1 ((1))
66 #define PINSEL_PIN_2 ((2))
67 #define PINSEL_PIN_3 ((3))
68 #define PINSEL_PIN_4 ((4))
69 #define PINSEL_PIN_5 ((5))
70 #define PINSEL_PIN_6 ((6))
71 #define PINSEL_PIN_7 ((7))
72 #define PINSEL_PIN_8 ((8))
73 #define PINSEL_PIN_9 ((9))
74 #define PINSEL_PIN_10 ((10))
75 #define PINSEL_PIN_11 ((11))
76 #define PINSEL_PIN_12 ((12))
77 #define PINSEL_PIN_13 ((13))
78 #define PINSEL_PIN_14 ((14))
79 #define PINSEL_PIN_15 ((15))
80 #define PINSEL_PIN_16 ((16))
81 #define PINSEL_PIN_17 ((17))
82 #define PINSEL_PIN_18 ((18))
83 #define PINSEL_PIN_19 ((19))
84 #define PINSEL_PIN_20 ((20))
85 #define PINSEL_PIN_21 ((21))
86 #define PINSEL_PIN_22 ((22))
87 #define PINSEL_PIN_23 ((23))
88 #define PINSEL_PIN_24 ((24))
89 #define PINSEL_PIN_25 ((25))
90 #define PINSEL_PIN_26 ((26))
91 #define PINSEL_PIN_27 ((27))
92 #define PINSEL_PIN_28 ((28))
93 #define PINSEL_PIN_29 ((29))
94 #define PINSEL_PIN_30 ((30))
95 #define PINSEL_PIN_31 ((31))
100 #define PINSEL_PINMODE_PULLUP ((0))
101 #define PINSEL_PINMODE_TRISTATE ((2))
102 #define PINSEL_PINMODE_PULLDOWN ((3))
107 #define PINSEL_PINMODE_NORMAL ((0))
108 #define PINSEL_PINMODE_OPENDRAIN ((1))
113 #define PINSEL_I2C_Normal_Mode ((0))
114 #define PINSEL_I2C_Fast_Mode ((1))
127 #define PINSEL_I2CPADCFG_SDADRV0 _BIT(0)
128 #define PINSEL_I2CPADCFG_SDAI2C0 _BIT(1)
129 #define PINSEL_I2CPADCFG_SCLDRV0 _BIT(2)
130 #define PINSEL_I2CPADCFG_SCLI2C0 _BIT(3)