libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
gpio.h
Go to the documentation of this file.
1/** @defgroup gpio_defines General Purpose I/O Defines
2 *
3 * @ingroup MSP432E4xx_defines
4 *
5 * @brief Defined Constants and Types for the MSP432E4 General Purpose I/O
6 *
7 * @version 1.0.0
8 *
9 * @date 23 September 2018
10 *
11 * LGPL License Terms @ref lgpl_license
12 */
13
14/*
15 * This file is part of the libopencm3 project.
16 *
17 * Copyright (C) 2011 Gareth McMullin <gareth@blacksphere.co.nz>
18 * Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
19 * Copyright (C) 2018 Dmitry Rezvanov <dmitry.rezvanov@yandex.ru>
20 *
21 * This library is free software: you can redistribute it and/or modify
22 * it under the terms of the GNU Lesser General Public License as published by
23 * the Free Software Foundation, either version 3 of the License, or
24 * (at your option) any later version.
25 *
26 * This library is distributed in the hope that it will be useful,
27 * but WITHOUT ANY WARRANTY; without even the implied warranty of
28 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29 * GNU Lesser General Public License for more details.
30 *
31 * You should have received a copy of the GNU Lesser General Public License
32 * along with this library. If not, see <http://www.gnu.org/licenses/>.
33 */
34
35#ifndef MSP432E4_GPIO_H
36#define MSP432E4_GPIO_H
37
38/**@{*/
39
42#include <stdbool.h>
43
44/** @defgroup gpio_reg_base GPIO Register Base Addresses
45 * @brief GPIO Register Base Addresses
46@{*/
47/** GPIOA Base Address */
48#define GPIOA GPIOA_BASE
49/** GPIOB Base Address */
50#define GPIOB GPIOB_BASE
51/** GPIOC Base Address */
52#define GPIOC GPIOC_BASE
53/** GPIOD Base Address */
54#define GPIOD GPIOD_BASE
55/** GPIOE Base Address */
56#define GPIOE GPIOE_BASE
57/** GPIOF Base Address */
58#define GPIOF GPIOF_BASE
59/** GPIOG Base Address */
60#define GPIOG GPIOG_BASE
61/** GPIOH Base Address */
62#define GPIOH GPIOH_BASE
63/** GPIOJ Base Address */
64#define GPIOJ GPIOJ_BASE
65/** GPIOK Base Address */
66#define GPIOK GPIOK_BASE
67/** GPIOL Base Address */
68#define GPIOL GPIOL_BASE
69/** GPIOM Base Address */
70#define GPIOM GPIOM_BASE
71/** GPION Base Address */
72#define GPION GPION_BASE
73/** GPIOP Base Address */
74#define GPIOP GPIOP_BASE
75/** GPIOQ Base Address */
76#define GPIOQ GPIOQ_BASE
77/**@}*/
78
79/** @defgroup gpio_pin_id GPIO Pin Identifiers
80 * @brief GPIO Pin Identifiers
81@{*/
82/** GPIO Pin 0 Identifier */
83#define GPIO0 (1 << 0)
84/** GPIO Pin 1 Identifier */
85#define GPIO1 (1 << 1)
86/** GPIO Pin 2 Identifier */
87#define GPIO2 (1 << 2)
88/** GPIO Pin 3 Identifier */
89#define GPIO3 (1 << 3)
90/** GPIO Pin 4 Identifier */
91#define GPIO4 (1 << 4)
92/** GPIO Pin 5 Identifier */
93#define GPIO5 (1 << 5)
94/** GPIO Pin 6 Identifier */
95#define GPIO6 (1 << 6)
96/** GPIO Pin 7 Identifier */
97#define GPIO7 (1 << 7)
98/** GPIO All Pins Identifier */
99#define GPIO_ALL (0xFF)
100/**@}*/
101
102/** @defgroup gpio_af_id GPIO Alternate Functions Identifiers
103 * @brief GPIO Alternate Functions Identifiers
104@{*/
105/** GPIO Alternate Function 1 Identifier */
106#define GPIO_AF1 0x1
107/** GPIO Alternate Function 2 Identifier */
108#define GPIO_AF2 0x2
109/** GPIO Alternate Function 3 Identifier */
110#define GPIO_AF3 0x3
111/** GPIO Alternate Function 4 Identifier */
112#define GPIO_AF4 0x4
113/** GPIO Alternate Function 5 Identifier */
114#define GPIO_AF5 0x5
115/** GPIO Alternate Function 6 Identifier */
116#define GPIO_AF6 0x6
117/** GPIO Alternate Function 7 Identifier */
118#define GPIO_AF7 0x7
119/** GPIO Alternate Function 8 Identifier */
120#define GPIO_AF8 0x8
121/** GPIO Alternate Function 11 Identifier */
122#define GPIO_AF11 0xB
123/** GPIO Alternate Function 13 Identifier */
124#define GPIO_AF13 0xD
125/** GPIO Alternate Function 14 Identifier */
126#define GPIO_AF14 0xE
127/** GPIO Alternate Function 15 Identifier */
128#define GPIO_AF15 0xF
129/** GPIO Alternate Function Disable */
130#define GPIO_AF_DISABLE 0x0
131/**@}*/
132
133/** @defgroup gpio_registers GPIO Registers
134 * @brief GPIO Registers
135@{*/
136/** GPIO Data */
137#define GPIO_DATA(port) (&MMIO32((port) + 0x000))
138/** GPIO Direction */
139#define GPIO_DIR(port) MMIO32((port) + 0x400)
140/** GPIO Interrupt Sense */
141#define GPIO_IS(port) MMIO32((port) + 0x404)
142/** GPIO Interrupt Both Edges */
143#define GPIO_IBE(port) MMIO32((port) + 0x408)
144/** GPIO Interrupt Event */
145#define GPIO_IEV(port) MMIO32((port) + 0x40C)
146/** GPIO Interrupt Mask */
147#define GPIO_IM(port) MMIO32((port) + 0x410)
148/** GPIO Raw Interrupt Status */
149#define GPIO_RIS(port) MMIO32((port) + 0x414)
150/** GPIO Masked Interrupt Status */
151#define GPIO_MIS(port) MMIO32((port) + 0x418)
152/** GPIO Interrupt Clear */
153#define GPIO_ICR(port) MMIO32((port) + 0x41C)
154/** GPIO Alternate Function Select */
155#define GPIO_AFSEL(port) MMIO32((port) + 0x420)
156/** GPIO 2-mA Drive Select */
157#define GPIO_DR2R(port) MMIO32((port) + 0x500)
158/** GPIO 4-mA Drive Select */
159#define GPIO_DR4R(port) MMIO32((port) + 0x504)
160/** GPIO 8-mA Drive Select */
161#define GPIO_DR8R(port) MMIO32((port) + 0x508)
162/** GPIO Open Drain Select */
163#define GPIO_ODR(port) MMIO32((port) + 0x50C)
164/** GPIO Pull-Up Select */
165#define GPIO_PUR(port) MMIO32((port) + 0x510)
166/** GPIO Pull-Down Select */
167#define GPIO_PDR(port) MMIO32((port) + 0x514)
168/** GPIO Slew Rate Control Select */
169#define GPIO_SLR(port) MMIO32((port) + 0x518)
170/** GPIO Digital Enable */
171#define GPIO_DEN(port) MMIO32((port) + 0x51C)
172/** GPIO Lock */
173#define GPIO_LOCK(port) MMIO32((port) + 0x520)
174/** GPIO Commit */
175#define GPIO_CR(port) MMIO32((port) + 0x524)
176/** GPIO Analog Mode Select */
177#define GPIO_AMSEL(port) MMIO32((port) + 0x528)
178/** GPIO Port Control */
179#define GPIO_PCTL(port) MMIO32((port) + 0x52C)
180/** GPIO ADC Control */
181#define GPIO_ADCCTL(port) MMIO32((port) + 0x530)
182/** GPIO DMA Control */
183#define GPIO_DMACTL(port) MMIO32((port) + 0x534)
184/** GPIO Select Interrupt */
185#define GPIO_SI(port) MMIO32((port) + 0x538)
186/** GPIO 12-mA Drive Select */
187#define GPIO_DR12R(port) MMIO32((port) + 0x53C)
188/** GPIO Wake Pin Enable
189 * @note This register is only available on Port K */
190#define GPIO_WAKEPEN(port) MMIO32((port) + 0x540)
191/** GPIO Wake Level
192 * @note This register is only available on Port K */
193#define GPIO_WAKELVL(port) MMIO32((port) + 0x544)
194/** GPIO Wake Status
195 * @note This register is only available on Port K */
196#define GPIO_WAKESTAT(port) MMIO32((port) + 0x548)
197/** GPIO Peripheral Property */
198#define GPIO_PP(port) MMIO32((port) + 0xFC0)
199/** GPIO Peripheral Configuration */
200#define GPIO_PC(port) MMIO32((port) + 0xFC4)
201
202/** GPIO Peripheral Identification 0 */
203#define GPIO_PERIPH_ID0(port) MMIO32((port) + 0xFE0)
204/** GPIO Peripheral Identification 1 */
205#define GPIO_PERIPH_ID1(port) MMIO32((port) + 0xFE4)
206/** GPIO Peripheral Identification 2 */
207#define GPIO_PERIPH_ID2(port) MMIO32((port) + 0xFE8)
208/** GPIO Peripheral Identification 3 */
209#define GPIO_PERIPH_ID3(port) MMIO32((port) + 0xFEC)
210/** GPIO Peripheral Identification 4 */
211#define GPIO_PERIPH_ID4(port) MMIO32((port) + 0xFD0)
212/** GPIO Peripheral Identification 5 */
213#define GPIO_PERIPH_ID5(port) MMIO32((port) + 0xFD4)
214/** GPIO Peripheral Identification 6 */
215#define GPIO_PERIPH_ID6(port) MMIO32((port) + 0xFD8)
216/** GPIO Peripheral Identification 7 */
217#define GPIO_PERIPH_ID7(port) MMIO32((port) + 0xFDC)
218
219/** GPIO PrimeCell Identification 0 */
220#define GPIO_PCELL_ID0(port) MMIO32((port) + 0xFF0)
221/** GPIO PrimeCell Identification 1 */
222#define GPIO_PCELL_ID1(port) MMIO32((port) + 0xFF4)
223/** GPIO PrimeCell Identification 2 */
224#define GPIO_PCELL_ID2(port) MMIO32((port) + 0xFF8)
225/** GPIO PrimeCell Identification 3 */
226#define GPIO_PCELL_ID3(port) MMIO32((port) + 0xFFC)
227/**@}*/
228
229/** @defgroup gpio_im_values GPIO_IM Values
230 * @brief GPIO Interrupt Mask Register Values
231@{*/
232/** GPIO Micro Direct Memory Access Done Interrupt Mask Enable */
233#define GPIO_IM_DMAIME (1 << 8)
234/**@}*/
235
236/** @defgroup gpio_ris_values GPIO_RIS Values
237 * @brief GPIO Raw Interrupt Status Register Values
238@{*/
239/** GPIO Micro Direct Memory Access Done Interrupt Raw Status */
240#define GPIO_RIS_DMARIS (1 << 8)
241/**@}*/
242
243/** @defgroup gpio_mis_values GPIO_MIS Values
244 * @brief GPIO Masked Interrupt Status Register Values
245@{*/
246/** GPIO Micro Direct Memory Access Done Masked Interrupt Status */
247#define GPIO_MIS_DMAMIS (1 << 8)
248/**@}*/
249
250/** @defgroup gpio_icr_values GPIO_RIS Values
251 * @brief GPIO Interrupt Clear Register Values
252@{*/
253/** GPIO Micro Direct Memory Access Interrupt Clear */
254#define GPIO_ICR_DMAIC (1 << 8)
255/**@}*/
256
257/** @defgroup gpio_lock_values GPIO_LOCK Values
258 * @brief GPIO Lock Register Values
259@{*/
260/* Value we need to write to unlock the GPIO commit register */
261#define GPIO_LOCK_UNLOCK_CODE (0x4C4F434B)
262/** GPIO Lock Status */
263#define GPIO_LOCK_STATUS (1 << 0)
264/**@}*/
265
266/** @defgroup gpio_pctl_values GPIO_PCTL Values
267 * @brief GPIO Port Control Register Values
268@{*/
269/** GPIO Port Control Set AF for Pin */
270#define GPIO_PCTL_AF(pin, af) ((af) << ((pin) * 4))
271/* GPIO Port Control Mask for Pin */
272#define GPIO_PCTL_MASK(pin) GPIO_PCTL_AF((pin), 0xf)
273/**@}*/
274
275/** @defgroup gpio_si_values GPIO_SI Values
276 * @brief GPIO Select Interrupt Register Values
277@{*/
278/** Summary Interrupt */
279#define GPIO_SI_SUM (1 << 0)
280/**@}*/
281
282/** @defgroup gpio_wakepen_values GPIO_WAKEPEN Values
283 * @brief GPIO Wake Pin Enable Register Values
284 * @note This register is only available on Port K
285@{*/
286/** PK7 Wake Enable */
287#define GPIO_WAKEPEN_WAKEP7 (1 << 7)
288/** PK6 Wake Enable */
289#define GPIO_WAKEPEN_WAKEP6 (1 << 6)
290/** PK5 Wake Enable */
291#define GPIO_WAKEPEN_WAKEP5 (1 << 5)
292/** PK4 Wake Enable */
293#define GPIO_WAKEPEN_WAKEP4 (1 << 4)
294/**@}*/
295
296/** @defgroup gpio_wakelvl_values GPIO_WAKELVL Values
297 * @brief GPIO Wake Level Register Values
298@{*/
299/** PK7 Wake Level */
300#define GPIO_WAKELVL_WAKELVL7 (1 << 7)
301/** PK6 Wake Level */
302#define GPIO_WAKELVL_WAKELVL6 (1 << 6)
303/** PK5 Wake Level */
304#define GPIO_WAKELVL_WAKELVL5 (1 << 5)
305/** PK4 Wake Level */
306#define GPIO_WAKELVL_WAKELVL4 (1 << 4)
307/**@}*/
308
309/** @defgroup gpio_wakestat_values GPIO_WAKESTAT Values
310 * @brief GPIO Wake Status Register Values
311@{*/
312/** PK7 Wake Status */
313#define GPIO_WAKESTAT_STAT7 (1 << 7)
314/** PK6 Wake Status */
315#define GPIO_WAKESTAT_STAT6 (1 << 6)
316/** PK5 Wake Status */
317#define GPIO_WAKESTAT_STAT5 (1 << 5)
318/** PK4 Wake Status */
319#define GPIO_WAKESTAT_STAT4 (1 << 4)
320/**@}*/
321
322/** @defgroup gpio_pp_values GPIO_PP Values
323 * @brief GPIO Peripheral Property Register Values
324@{*/
325/** Extended Drive Enable */
326#define GPIO_PP_EDE (1 << 0)
327/**@}*/
328
329/** @defgroup gpio_pc_values GPIO_PC Values
330 * @brief GPIO Peripheral Configuration Register Values
331@{*/
332/** Extended Drive Mode Bit N */
333#define GPIO_PC_EDM(n, mode) ((mode) << (2 * (n)))
334/** Extended Drive Mode Bit N Mask */
335#define GPIO_PC_EDM_MASK(n) (0x3 << (2 * (n)))
336/** Normal behavior, 2, 4 and 8 mA are available */
337#define GPIO_PC_EDM_NORMAL 0x0
338/** An additional 6 mA option is provided.
339 * Set one, clear other behavior is disabled */
340#define GPIO_PC_EDM_ADD_6MA 0x1
341/** Full range, 2, 4, 6, 8, 10 and 12 mA are available.
342 * Set one, clear other behavior is disabled */
343#define GPIO_PC_EDM_FULL_RANGE 0x3
344/**@}*/
345
346/** @defgroup gpio_af_pa0_values GPIO_AF_PA0 Values
347 * @brief GPIO PA0 Alternate Functions Values
348 * Package | Pin number |
349 * ----------- | -------------- |
350 * TQFP-128 | 33 |
351 * NFBGA-212 | V3 |
352@{*/
353/** UART module 0 receive */
354#define GPIO_AF_PA0_U0RX GPIO_AF1
355/** I2C module 9 clock */
356#define GPIO_AF_PA0_I2C9SCL GPIO_AF2
357/** 16- and 32-bit Timer 0 capture, compare, or PWM 0 */
358#define GPIO_AF_PA0_T0CCP0 GPIO_AF3
359/** CAN module 0 receive */
360#define GPIO_AF_PA0_CAN0RX GPIO_AF7
361/**@}*/
362
363/** @defgroup gpio_af_pa1_values GPIO_AF_PA1 Values
364 * @brief GPIO PA1 Alternate Functions Values
365 * Package | Pin number |
366 * ----------- | -------------- |
367 * TQFP-128 | 34 |
368 * NFBGA-212 | W3 |
369@{*/
370/** UART module 0 transmit */
371#define GPIO_AF_PA1_U0TX GPIO_AF1
372/** I2C module 9 data */
373#define GPIO_AF_PA1_I2C9SDA GPIO_AF2
374/** 16- and 32-bit Timer 0 capture, compare, or PWM 1 */
375#define GPIO_AF_PA1_T0CCP1 GPIO_AF3
376/** CAN module 0 transmit */
377#define GPIO_AF_PA1_CAN0TX GPIO_AF7
378/**@}*/
379
380/** @defgroup gpio_af_pa2_values GPIO_AF_PA2 Values
381 * @brief GPIO PA2 Alternate Functions Values
382 * Package | Pin number |
383 * ----------- | -------------- |
384 * TQFP-128 | 35 |
385 * NFBGA-212 | T6 |
386@{*/
387/** UART module 4 receive */
388#define GPIO_AF_PA2_U4RX GPIO_AF1
389/** I2C module 8 clock */
390#define GPIO_AF_PA2_I2C8SCL GPIO_AF2
391/** 16- and 32-bit Timer 1 capture, compare, or PWM 0 */
392#define GPIO_AF_PA2_T1CCP0 GPIO_AF3
393/** SSI module 0 clock */
394#define GPIO_AF_PA2_SSI0CLK GPIO_AF15
395/**@}*/
396
397/** @defgroup gpio_af_pa3_values GPIO_AF_PA3 Values
398 * @brief GPIO PA3 Alternate Functions Values
399 * Package | Pin number |
400 * ----------- | -------------- |
401 * TQFP-128 | 36 |
402 * NFBGA-212 | U5 |
403@{*/
404/** UART module 4 transmit */
405#define GPIO_AF_PA3_U4TX GPIO_AF1
406/** I2C module 8 data */
407#define GPIO_AF_PA3_I2C8SDA GPIO_AF2
408/** 16- and 32-bit Timer 1 capture, compare, or PWM 1 */
409#define GPIO_AF_PA3_T1CCP1 GPIO_AF3
410/** SSI module 0 frame signal */
411#define GPIO_AF_PA3_SSI0FSS GPIO_AF15
412/**@}*/
413
414/** @defgroup gpio_af_pa4_values GPIO_AF_PA4 Values
415 * @brief GPIO PA4 Alternate Functions Values
416 * Package | Pin number |
417 * ----------- | -------------- |
418 * TQFP-128 | 37 |
419 * NFBGA-212 | V4 |
420@{*/
421/** UART module 3 receive */
422#define GPIO_AF_PA4_U3RX GPIO_AF1
423/** I2C module 7 clock */
424#define GPIO_AF_PA4_I2C7SCL GPIO_AF2
425/** 16- and 32-bit Timer 2 capture, compare, or PWM 0 */
426#define GPIO_AF_PA4_T2CCP0 GPIO_AF3
427/** SSI Module 0 bidirectional data pin 0 */
428#define GPIO_AF_PA4_SSI0XDAT0 GPIO_AF15
429/**@}*/
430
431/** @defgroup gpio_af_pa5_values GPIO_AF_PA5 Values
432 * @brief GPIO PA5 Alternate Functions Values
433 * Package | Pin number |
434 * ----------- | -------------- |
435 * TQFP-128 | 38 |
436 * NFBGA-212 | W4 |
437@{*/
438/** UART module 3 transmit */
439#define GPIO_AF_PA5_U3TX GPIO_AF1
440/** I2C module 7 data */
441#define GPIO_AF_PA5_I2C7SDA GPIO_AF2
442/** 16- and 32-bit Timer 2 capture, compare, or PWM 1 */
443#define GPIO_AF_PA5_T2CCP1 GPIO_AF3
444/** SSI Module 0 bidirectional data pin 1 */
445#define GPIO_AF_PA5_SSI0XDAT1 GPIO_AF15
446/**@}*/
447
448/** @defgroup gpio_af_pa6_values GPIO_AF_PA6 Values
449 * @brief GPIO PA6 Alternate Functions Values
450 * Package | Pin number |
451 * ----------- | -------------- |
452 * TQFP-128 | 40 |
453 * NFBGA-212 | V5 |
454@{*/
455/** UART module 2 receive */
456#define GPIO_AF_PA6_U2RX GPIO_AF1
457/** I2C module 6 clock */
458#define GPIO_AF_PA6_I2C6SCL GPIO_AF2
459/** 16- and 32-bit Timer 3 capture, compare, or PWM 0 */
460#define GPIO_AF_PA6_T3CCP0 GPIO_AF3
461/** USB Control an external power source in host mode */
462#define GPIO_AF_PA6_USB0EPEN GPIO_AF5
463/** SSI Module 0 bidirectional data pin 2 */
464#define GPIO_AF_PA6_SSI0XDAT2 GPIO_AF13
465/** Ethernet 0 receive clock */
466#define GPIO_AF_PA6_EN0RXCK GPIO_AF14
467/** EPI module 0 signal 8 */
468#define GPIO_AF_PA6_EPI0S8 GPIO_AF15
469/**@}*/
470
471/** @defgroup gpio_af_pa7_values GPIO_AF_PA7 Values
472 * @brief GPIO PA7 Alternate Functions Values
473 * Package | Pin number |
474 * ----------- | -------------- |
475 * TQFP-128 | 41 |
476 * NFBGA-212 | R7 |
477@{*/
478/** UART module 2 transmit */
479#define GPIO_AF_PA7_U2TX GPIO_AF1
480/** I2C module 6 data */
481#define GPIO_AF_PA7_I2C6SDA GPIO_AF2
482/** 16- and 32-bit Timer 3 capture, compare, or PWM 1 */
483#define GPIO_AF_PA7_T3CCP1 GPIO_AF3
484/** USB Power Fault input in host mode */
485#define GPIO_AF_PA7_USB0PFLT GPIO_AF5
486/** USB Control an external power source in host mode */
487#define GPIO_AF_PA7_USB0EPEN GPIO_AF11
488/** SSI Module 0 bidirectional data pin 3 */
489#define GPIO_AF_PA7_SSI0XDAT3 GPIO_AF13
490/** EPI module 0 signal 9 */
491#define GPIO_AF_PA7_EPI0S9 GPIO_AF15
492/**@}*/
493
494/** @defgroup gpio_af_pb0_values GPIO_AF_PB0 Values
495 * @brief GPIO PB0 Alternate Functions Values
496 * Package | Pin number |
497 * ----------- | -------------- |
498 * TQFP-128 | 95 |
499 * NFBGA-212 | A16 |
500@{*/
501/** UART module 1 receive */
502#define GPIO_AF_PB0_U1RX GPIO_AF1
503/** I2C module 5 clock */
504#define GPIO_AF_PB0_I2C5SCL GPIO_AF2
505/** 16- and 32-bit Timer 4 capture, compare, or PWM 0 */
506#define GPIO_AF_PB0_T4CCP0 GPIO_AF3
507/** CAN module 1 receive */
508#define GPIO_AF_PB0_CAN1RX GPIO_AF7
509/**@}*/
510
511/** @defgroup gpio_af_pb1_values GPIO_AF_PB1 Values
512 * @brief GPIO PB1 Alternate Functions Values
513 * Package | Pin number |
514 * ----------- | -------------- |
515 * TQFP-128 | 96 |
516 * NFBGA-212 | B16 |
517@{*/
518/** UART module 1 transmit */
519#define GPIO_AF_PB1_U1TX GPIO_AF1
520/** I2C module 5 data */
521#define GPIO_AF_PB1_I2C5SDA GPIO_AF2
522/** 16- and 32-bit Timer 4 capture, compare, or PWM 1 */
523#define GPIO_AF_PB1_T4CCP1 GPIO_AF3
524/** CAN module 1 transmit */
525#define GPIO_AF_PB1_CAN1TX GPIO_AF7
526/**@}*/
527
528/** @defgroup gpio_af_pb2_values GPIO_AF_PB2 Values
529 * @brief GPIO PB2 Alternate Functions Values
530 * Package | Pin number |
531 * ----------- | -------------- |
532 * TQFP-128 | 91 |
533 * NFBGA-212 | A17 |
534@{*/
535/** I2C module 0 clock */
536#define GPIO_AF_PB2_I2C0SCL GPIO_AF2
537/** 16- and 32-bit Timer 5 capture, compare, or PWM 0 */
538#define GPIO_AF_PB2_T5CCP0 GPIO_AF3
539/** Ethernet 0 management data clock */
540#define GPIO_AF_PB2_EN0MDC GPIO_AF5
541/** USB Asserted by the USB controller to signal the end of a USB transmit
542 * packet or register write operation */
543#define GPIO_AF_PB2_USB0STP GPIO_AF14
544/** EPI module 0 signal 27 */
545#define GPIO_AF_PB2_EPI0S27 GPIO_AF15
546/**@}*/
547
548/** @defgroup gpio_af_pb3_values GPIO_AF_PB3 Values
549 * @brief GPIO PB3 Alternate Functions Values
550 * Package | Pin number |
551 * ----------- | -------------- |
552 * TQFP-128 | 92 |
553 * NFBGA-212 | B17 |
554@{*/
555/** I2C module 0 data */
556#define GPIO_AF_PB3_I2C0SDA GPIO_AF2
557/** 16- and 32-bit Timer 5 capture, compare, or PWM 1 */
558#define GPIO_AF_PB3_T5CCP1 GPIO_AF3
559/** Ethernet 0 management data input/output signal */
560#define GPIO_AF_PB3_EN0MDIO GPIO_AF5
561/** USB 60-MHz clock to the external PHY */
562#define GPIO_AF_PB3_USB0CLK GPIO_AF14
563/** EPI module 0 signal 28 */
564#define GPIO_AF_PB3_EPI0S28 GPIO_AF15
565/**@}*/
566
567/** @defgroup gpio_af_pb4_values GPIO_AF_PB4 Values
568 * @brief GPIO PB4 Alternate Functions Values
569 * Package | Pin number |
570 * ----------- | -------------- |
571 * TQFP-128 | 121 |
572 * NFBGA-212 | C6 |
573@{*/
574/** UART module 0 clear to send modem flow control input signal */
575#define GPIO_AF_PB4_U0CTS GPIO_AF1
576/** I2C module 5 clock */
577#define GPIO_AF_PB4_I2C5SCL GPIO_AF2
578/** SSI module 1 frame signal */
579#define GPIO_AF_PB4_SSI1FSS GPIO_AF15
580/**@}*/
581
582/** @defgroup gpio_af_pb5_values GPIO_AF_PB5 Values
583 * @brief GPIO PB5 Alternate Functions Values
584 * Package | Pin number |
585 * ----------- | -------------- |
586 * TQFP-128 | 120 |
587 * NFBGA-212 | B6 |
588@{*/
589/** UART module 0 request to send modem flow control output signal */
590#define GPIO_AF_PB5_U0RTS GPIO_AF1
591/** I2C module 5 data */
592#define GPIO_AF_PB5_I2C5SDA GPIO_AF2
593/** SSI module 1 clock */
594#define GPIO_AF_PB5_SSI1CLK GPIO_AF15
595/**@}*/
596
597/** @defgroup gpio_af_pb6_values GPIO_AF_PB6 Values
598 * @brief GPIO PB6 Alternate Functions Values
599 * Package | Pin number |
600 * ----------- | -------------- |
601 * TQFP-128 | Not available |
602 * NFBGA-212 | F2 |
603@{*/
604/** I2C module 6 clock */
605#define GPIO_AF_PB6_I2C6SCL GPIO_AF1
606/** 16- and 32-bit Timer 6 capture, compare, or PWM 0 */
607#define GPIO_AF_PB6_T6CCP0 GPIO_AF3
608/**@}*/
609
610/** @defgroup gpio_af_pb7_values GPIO_AF_PB7 Values
611 * @brief GPIO PB7 Alternate Functions Values
612 * Package | Pin number |
613 * ----------- | -------------- |
614 * TQFP-128 | Not available |
615 * NFBGA-212 | F1 |
616@{*/
617/** I2C module 6 data */
618#define GPIO_AF_PB7_I2C6SDA GPIO_AF1
619/** 16- and 32-bit Timer 6 capture, compare, or PWM 1 */
620#define GPIO_AF_PB7_T6CCP1 GPIO_AF3
621/**@}*/
622
623/** @defgroup gpio_af_pc0_values GPIO_AF_PC0 Values
624 * @brief GPIO PC0 Alternate Functions Values
625 * Package | Pin number |
626 * ----------- | -------------- |
627 * TQFP-128 | 100 |
628 * NFBGA-212 | B15 |
629@{*/
630/** JTAG and SWD clock */
631#define GPIO_AF_PC0_TCK GPIO_AF1
632/**@}*/
633
634/** @defgroup gpio_af_pc1_values GPIO_AF_PC1 Values
635 * @brief GPIO PC1 Alternate Functions Values
636 * Package | Pin number |
637 * ----------- | -------------- |
638 * TQFP-128 | 99 |
639 * NFBGA-212 | C15 |
640@{*/
641/** JTAG TMS and SWDIO */
642#define GPIO_AF_PC1_TMS GPIO_AF1
643/**@}*/
644
645/** @defgroup gpio_af_pc2_values GPIO_AF_PC2 Values
646 * @brief GPIO PC2 Alternate Functions Values
647 * Package | Pin number |
648 * ----------- | -------------- |
649 * TQFP-128 | 98 |
650 * NFBGA-212 | D14 |
651@{*/
652/** JTAG TDI */
653#define GPIO_AF_PC2_TDI GPIO_AF1
654/**@}*/
655
656/** @defgroup gpio_af_pc3_values GPIO_AF_PC3 Values
657 * @brief GPIO PC3 Alternate Functions Values
658 * Package | Pin number |
659 * ----------- | -------------- |
660 * TQFP-128 | 97 |
661 * NFBGA-212 | C14 |
662@{*/
663/** JTAG TDO and SWO */
664#define GPIO_AF_PC3_TDO GPIO_AF1
665/**@}*/
666
667/** @defgroup gpio_af_pc4_values GPIO_AF_PC4 Values
668 * @brief GPIO PC4 Alternate Functions Values
669 * Package | Pin number |
670 * ----------- | -------------- |
671 * TQFP-128 | 25 |
672 * NFBGA-212 | M2 |
673@{*/
674/** UART module 7 receive */
675#define GPIO_AF_PC4_U7RX GPIO_AF1
676/** 16- and 32-bit Timer 7 capture, compare, or PWM 0 */
677#define GPIO_AF_PC4_T7CCP0 GPIO_AF3
678/** EPI module 0 signal 7 */
679#define GPIO_AF_PC4_EPI0S7 GPIO_AF15
680/**@}*/
681
682/** @defgroup gpio_af_pc5_values GPIO_AF_PC5 Values
683 * @brief GPIO PC5 Alternate Functions Values
684 * Package | Pin number |
685 * ----------- | -------------- |
686 * TQFP-128 | 24 |
687 * NFBGA-212 | M1 |
688@{*/
689/** UART module 7 transmit */
690#define GPIO_AF_PC5_U7TX GPIO_AF1
691/** 16- and 32-bit Timer 7 capture, compare, or PWM 1 */
692#define GPIO_AF_PC5_T7CCP1 GPIO_AF3
693/** Buffered version of the 32.768-kHz clock of the Hibernation module */
694#define GPIO_AF_PC5_RTCCLK GPIO_AF7
695/** EPI module 0 signal 6 */
696#define GPIO_AF_PC5_EPI0S6 GPIO_AF15
697/**@}*/
698
699/** @defgroup gpio_af_pc6_values GPIO_AF_PC6 Values
700 * @brief GPIO PC6 Alternate Functions Values
701 * Package | Pin number |
702 * ----------- | -------------- |
703 * TQFP-128 | 22 |
704 * NFBGA-212 | L2 |
705@{*/
706/** UART module 5 receive */
707#define GPIO_AF_PC6_U5RX GPIO_AF1
708/** EPI module 0 signal 5 */
709#define GPIO_AF_PC6_EPI0S5 GPIO_AF15
710/**@}*/
711
712/** @defgroup gpio_af_pc7_values GPIO_AF_PC7 Values
713 * @brief GPIO PC7 Alternate Functions Values
714 * Package | Pin number |
715 * ----------- | -------------- |
716 * TQFP-128 | 22 |
717 * NFBGA-212 | K3 |
718@{*/
719/** UART module 5 transmit */
720#define GPIO_AF_PC7_U5TX GPIO_AF1
721/** EPI module 0 signal 4 */
722#define GPIO_AF_PC7_EPI0S4 GPIO_AF15
723/**@}*/
724
725/** @defgroup gpio_af_pd0_values GPIO_AF_PD0 Values
726 * @brief GPIO PD0 Alternate Functions Values
727 * Package | Pin number |
728 * ----------- | -------------- |
729 * TQFP-128 | 1 |
730 * NFBGA-212 | C2 |
731@{*/
732/** I2C module 7 clock */
733#define GPIO_AF_PD0_I2C7SCL GPIO_AF2
734/** 16- and 32-bit Timer 0 capture, compare, or PWM 0 */
735#define GPIO_AF_PD0_T0CCP0 GPIO_AF3
736/** Analog comparator 0 output */
737#define GPIO_AF_PD0_C0O GPIO_AF5
738/** SSI Module 2 bidirectional data pin 1 */
739#define GPIO_AF_PD0_SSI2XDAT1 GPIO_AF15
740/**@}*/
741
742/** @defgroup gpio_af_pd1_values GPIO_AF_PD1 Values
743 * @brief GPIO PD1 Alternate Functions Values
744 * Package | Pin number |
745 * ----------- | -------------- |
746 * TQFP-128 | 2 |
747 * NFBGA-212 | C1 |
748@{*/
749/** I2C module 7 data */
750#define GPIO_AF_PD1_I2C7SDA GPIO_AF2
751/** 16- and 32-bit Timer 0 capture, compare, or PWM 1 */
752#define GPIO_AF_PD1_T0CCP1 GPIO_AF3
753/** Analog comparator 1 output */
754#define GPIO_AF_PD1_C1O GPIO_AF5
755/** SSI Module 2 bidirectional data pin 0 */
756#define GPIO_AF_PD1_SSI2XDAT0 GPIO_AF15
757/**@}*/
758
759/** @defgroup gpio_af_pd2_values GPIO_AF_PD2 Values
760 * @brief GPIO PD2 Alternate Functions Values
761 * Package | Pin number |
762 * ----------- | -------------- |
763 * TQFP-128 | 3 |
764 * NFBGA-212 | D2 |
765@{*/
766/** I2C module 8 clock */
767#define GPIO_AF_PD2_I2C8SCL GPIO_AF2
768/** 16- and 32-bit Timer 1 capture, compare, or PWM 0 */
769#define GPIO_AF_PD2_T1CCP0 GPIO_AF3
770/** Analog comparator 2 output */
771#define GPIO_AF_PD2_C2O GPIO_AF5
772/** SSI module 2 frame signal */
773#define GPIO_AF_PD2_SSI2FSS GPIO_AF15
774/**@}*/
775
776/** @defgroup gpio_af_pd3_values GPIO_AF_PD3 Values
777 * @brief GPIO PD3 Alternate Functions Values
778 * Package | Pin number |
779 * ----------- | -------------- |
780 * TQFP-128 | 4 |
781 * NFBGA-212 | D1 |
782@{*/
783/** I2C module 8 data */
784#define GPIO_AF_PD3_I2C8SDA GPIO_AF2
785/** 16- and 32-bit Timer 1 capture, compare, or PWM 1 */
786#define GPIO_AF_PD3_T1CCP1 GPIO_AF3
787/** SSI module 2 clock */
788#define GPIO_AF_PD3_SSI2CLK GPIO_AF15
789/**@}*/
790
791/** @defgroup gpio_af_pd4_values GPIO_AF_PD4 Values
792 * @brief GPIO PD4 Alternate Functions Values
793 * Package | Pin number |
794 * ----------- | -------------- |
795 * TQFP-128 | 125 |
796 * NFBGA-212 | A4 |
797@{*/
798/** UART module 2 receive */
799#define GPIO_AF_PD4_U2RX GPIO_AF1
800/** 16- and 32-bit Timer 3 capture, compare, or PWM 0 */
801#define GPIO_AF_PD4_T3CCP0 GPIO_AF3
802/** SSI Module 1 bidirectional data pin 2 */
803#define GPIO_AF_PD4_SSI1XDAT2 GPIO_AF15
804/**@}*/
805
806/** @defgroup gpio_af_pd5_values GPIO_AF_PD5 Values
807 * @brief GPIO PD5 Alternate Functions Values
808 * Package | Pin number |
809 * ----------- | -------------- |
810 * TQFP-128 | 126 |
811 * NFBGA-212 | B4 |
812@{*/
813/** UART module 2 transmit */
814#define GPIO_AF_PD5_U2TX GPIO_AF1
815/** 16- and 32-bit Timer 3 capture, compare, or PWM 1 */
816#define GPIO_AF_PD5_T3CCP1 GPIO_AF3
817/** SSI Module 1 bidirectional data pin 3 */
818#define GPIO_AF_PD5_SSI1XDAT3 GPIO_AF15
819/**@}*/
820
821/** @defgroup gpio_af_pd6_values GPIO_AF_PD6 Values
822 * @brief GPIO PD6 Alternate Functions Values
823 * Package | Pin number |
824 * ----------- | -------------- |
825 * TQFP-128 | 127 |
826 * NFBGA-212 | B3 |
827@{*/
828/** UART module 2 request to send modem flow control output line */
829#define GPIO_AF_PD6_U2RTS GPIO_AF1
830/** 16- and 32-bit Timer 4 capture, compare, or PWM 0 */
831#define GPIO_AF_PD6_T4CCP0 GPIO_AF3
832/** USB Control an external power source in host mode */
833#define GPIO_AF_PD6_USB0EPEN GPIO_AF5
834/** SSI Module 2 bidirectional data pin 3 */
835#define GPIO_AF_PD6_SSI2XDAT3 GPIO_AF15
836/**@}*/
837
838/** @defgroup gpio_af_pd7_values GPIO_AF_PD7 Values
839 * @brief GPIO PD7 Alternate Functions Values
840 * Package | Pin number |
841 * ----------- | -------------- |
842 * TQFP-128 | 128 |
843 * NFBGA-212 | B2 |
844@{*/
845/** UART module 2 clear to send modem flow control input signal */
846#define GPIO_AF_PD7_U2CTS GPIO_AF1
847/** 16- and 32-bit Timer 4 capture, compare, or PWM 1 */
848#define GPIO_AF_PD7_T4CCP1 GPIO_AF3
849/** USB Power Fault input in host mode */
850#define GPIO_AF_PD7_USB0PFLT GPIO_AF5
851/** Nonmaskable interrupt */
852#define GPIO_AF_PD7_NMI GPIO_AF8
853/** SSI Module 2 bidirectional data pin 2 */
854#define GPIO_AF_PD7_SSI2XDAT2 GPIO_AF15
855/**@}*/
856
857/** @defgroup gpio_af_pe0_values GPIO_AF_PE0 Values
858 * @brief GPIO PE0 Alternate Functions Values
859 * Package | Pin number |
860 * ----------- | -------------- |
861 * TQFP-128 | 15 |
862 * NFBGA-212 | H3 |
863@{*/
864/** UART module 1 request to send modem flow control output line */
865#define GPIO_AF_PE0_U1RTS GPIO_AF1
866/**@}*/
867
868/** @defgroup gpio_af_pe1_values GPIO_AF_PE1 Values
869 * @brief GPIO PE1 Alternate Functions Values
870 * Package | Pin number |
871 * ----------- | -------------- |
872 * TQFP-128 | 14 |
873 * NFBGA-212 | H2 |
874@{*/
875/** UART module 1 data set ready modem output control line */
876#define GPIO_AF_PE1_U1DSR GPIO_AF1
877/**@}*/
878
879/** @defgroup gpio_af_pe2_values GPIO_AF_PE2 Values
880 * @brief GPIO PE2 Alternate Functions Values
881 * Package | Pin number |
882 * ----------- | -------------- |
883 * TQFP-128 | 13 |
884 * NFBGA-212 | G1 |
885@{*/
886/** UART module 1 data carrier detect modem status input signal */
887#define GPIO_AF_PE2_U1DCD GPIO_AF1
888/**@}*/
889
890/** @defgroup gpio_af_pe3_values GPIO_AF_PE3 Values
891 * @brief GPIO PE3 Alternate Functions Values
892 * Package | Pin number |
893 * ----------- | -------------- |
894 * TQFP-128 | 12 |
895 * NFBGA-212 | G2 |
896@{*/
897/** UART module 1 data terminal ready modem status input signal */
898#define GPIO_AF_PE3_U1DTR GPIO_AF1
899/** 1-Wire single bus pin */
900#define GPIO_AF_PE3_OWIRE GPIO_AF5
901/**@}*/
902
903/** @defgroup gpio_af_pe4_values GPIO_AF_PE4 Values
904 * @brief GPIO PE4 Alternate Functions Values
905 * Package | Pin number |
906 * ----------- | -------------- |
907 * TQFP-128 | 123 |
908 * NFBGA-212 | A5 |
909@{*/
910/** UART module 1 ring indicator modem status input signal */
911#define GPIO_AF_PE4_U1RI GPIO_AF1
912/** SSI Module 1 bidirectional data pin 0 */
913#define GPIO_AF_PE4_SSI1XDAT0 GPIO_AF15
914/**@}*/
915
916/** @defgroup gpio_af_pe5_values GPIO_AF_PE5 Values
917 * @brief GPIO PE5 Alternate Functions Values
918 * Package | Pin number |
919 * ----------- | -------------- |
920 * TQFP-128 | 124 |
921 * NFBGA-212 | B5 |
922@{*/
923/** SSI Module 1 bidirectional data pin 1 */
924#define GPIO_AF_PE5_SSI1XDAT1 GPIO_AF15
925/**@}*/
926
927/** @defgroup gpio_af_pe6_values GPIO_AF_PE6 Values
928 * @brief GPIO PE6 Alternate Functions Values
929 * Package | Pin number |
930 * ----------- | -------------- |
931 * TQFP-128 | Not available |
932 * NFBGA-212 | A7 |
933@{*/
934/** UART module 0 clear to send modem flow control input signal */
935#define GPIO_AF_PE6_U0CTS GPIO_AF1
936/** I2C module 9 clock */
937#define GPIO_AF_PE6_I2C9SCL GPIO_AF2
938/**@}*/
939
940/** @defgroup gpio_af_pe7_values GPIO_AF_PE7 Values
941 * @brief GPIO PE7 Alternate Functions Values
942 * Package | Pin number |
943 * ----------- | -------------- |
944 * TQFP-128 | Not available |
945 * NFBGA-212 | B7 |
946@{*/
947/** UART module 0 request to send modem flow control output signal */
948#define GPIO_AF_PE7_U0RTS GPIO_AF1
949/** I2C module 9 data */
950#define GPIO_AF_PE7_I2C9SDA GPIO_AF2
951/** Nonmaskable interrupt */
952#define GPIO_AF_PE7_NMI GPIO_AF8
953/**@}*/
954
955/** @defgroup gpio_af_pf0_values GPIO_AF_PF0 Values
956 * @brief GPIO PF0 Alternate Functions Values
957 * Package | Pin number |
958 * ----------- | -------------- |
959 * TQFP-128 | 42 |
960 * NFBGA-212 | U6 |
961@{*/
962/** Ethernet 0 LED 0 */
963#define GPIO_AF_PF0_EN0LED0 GPIO_AF5
964/** Motion control module 0 PWM 0 */
965#define GPIO_AF_PF0_M0PWM0 GPIO_AF6
966/** SSI Module 3 bidirectional data pin 1 */
967#define GPIO_AF_PF0_SSI3XDAT1 GPIO_AF14
968/** Trace data 2 */
969#define GPIO_AF_PF0_TRD2 GPIO_AF15
970/**@}*/
971
972/** @defgroup gpio_af_pf1_values GPIO_AF_PF1 Values
973 * @brief GPIO PF1 Alternate Functions Values
974 * Package | Pin number |
975 * ----------- | -------------- |
976 * TQFP-128 | 43 |
977 * NFBGA-212 | V6 |
978@{*/
979/** Ethernet 0 LED 2 */
980#define GPIO_AF_PF1_EN0LED2 GPIO_AF5
981/** Motion control module 0 PWM 1 */
982#define GPIO_AF_PF1_M0PWM1 GPIO_AF6
983/** SSI Module 3 bidirectional data pin 0 */
984#define GPIO_AF_PF1_SSI3XDAT0 GPIO_AF14
985/** Trace data 1 */
986#define GPIO_AF_PF1_TRD1 GPIO_AF15
987/**@}*/
988
989/** @defgroup gpio_af_pf2_values GPIO_AF_PF2 Values
990 * @brief GPIO PF2 Alternate Functions Values
991 * Package | Pin number |
992 * ----------- | -------------- |
993 * TQFP-128 | 44 |
994 * NFBGA-212 | W6 |
995@{*/
996/** Ethernet 0 management data clock */
997#define GPIO_AF_PF2_EN0MDC GPIO_AF5
998/** Motion control module 0 PWM 2 */
999#define GPIO_AF_PF2_M0PWM2 GPIO_AF6
1000/** SSI module 3 frame signal */
1001#define GPIO_AF_PF2_SSI3FSS GPIO_AF14
1002/** Trace data 0 */
1003#define GPIO_AF_PF2_TRD0 GPIO_AF15
1004/**@}*/
1005
1006/** @defgroup gpio_af_pf3_values GPIO_AF_PF3 Values
1007 * @brief GPIO PF3 Alternate Functions Values
1008 * Package | Pin number |
1009 * ----------- | -------------- |
1010 * TQFP-128 | 45 |
1011 * NFBGA-212 | T7 |
1012@{*/
1013/** Ethernet 0 management data input/output signal */
1014#define GPIO_AF_PF3_EN0MDIO GPIO_AF5
1015/** Motion control module 0 PWM 3 */
1016#define GPIO_AF_PF3_M0PWM3 GPIO_AF6
1017/** SSI module 3 clock */
1018#define GPIO_AF_PF3_SSI3CLK GPIO_AF14
1019/** Trace clock */
1020#define GPIO_AF_PF3_TRCLK GPIO_AF15
1021/**@}*/
1022
1023/** @defgroup gpio_af_pf4_values GPIO_AF_PF4 Values
1024 * @brief GPIO PF4 Alternate Functions Values
1025 * Package | Pin number |
1026 * ----------- | -------------- |
1027 * TQFP-128 | 46 |
1028 * NFBGA-212 | V7 |
1029@{*/
1030/** Ethernet 0 LED 1 */
1031#define GPIO_AF_PF4_EN0LED1 GPIO_AF5
1032/** Motion control module 0 PWM fault 0 */
1033#define GPIO_AF_PF4_M0FAULT0 GPIO_AF6
1034/** SSI Module 3 bidirectional data pin 2 */
1035#define GPIO_AF_PF4_SSI3XDAT2 GPIO_AF14
1036/** Trace data 3 */
1037#define GPIO_AF_PF4_TRD3 GPIO_AF15
1038/**@}*/
1039
1040/** @defgroup gpio_af_pf5_values GPIO_AF_PF5 Values
1041 * @brief GPIO PF5 Alternate Functions Values
1042 * Package | Pin number |
1043 * ----------- | -------------- |
1044 * TQFP-128 | Not available |
1045 * NFBGA-212 | W7 |
1046@{*/
1047/** SSI Module 3 bidirectional data pin 3 */
1048#define GPIO_AF_PF5_SSI3XDAT3 GPIO_AF14
1049/**@}*/
1050
1051/** @defgroup gpio_af_pf6_values GPIO_AF_PF6 Values
1052 * @brief GPIO PF6 Alternate Functions Values
1053 * Package | Pin number |
1054 * ----------- | -------------- |
1055 * TQFP-128 | Not available |
1056 * NFBGA-212 | T8 |
1057@{*/
1058/** LCD memory clock, secondary chip select (CS1), or secondary enable (E1) */
1059#define GPIO_AF_PF6_LCDMCLK GPIO_AF15
1060/**@}*/
1061
1062/** @defgroup gpio_af_pf7_values GPIO_AF_PF7 Values
1063 * @brief GPIO PF7 Alternate Functions Values
1064 * Package | Pin number |
1065 * ----------- | -------------- |
1066 * TQFP-128 | Not available |
1067 * NFBGA-212 | U8 |
1068@{*/
1069/** LCD data pin 2 input/output */
1070#define GPIO_AF_PF7_LCDDATA02 GPIO_AF15
1071/**@}*/
1072
1073/** @defgroup gpio_af_pg0_values GPIO_AF_PG0 Values
1074 * @brief GPIO PG0 Alternate Functions Values
1075 * Package | Pin number |
1076 * ----------- | -------------- |
1077 * TQFP-128 | 49 |
1078 * NFBGA-212 | N15 |
1079@{*/
1080/** I2C module 1 clock */
1081#define GPIO_AF_PG0_I2C1SCL GPIO_AF2
1082/** Ethernet 0 pulse-per-second (PPS) output */
1083#define GPIO_AF_PG0_EN0PPS GPIO_AF5
1084/** Motion control module 0 PWM 4 */
1085#define GPIO_AF_PG0_M0PWM4 GPIO_AF6
1086/** EPI module 0 signal 11 */
1087#define GPIO_AF_PG0_EPI0S11 GPIO_AF15
1088/**@}*/
1089
1090/** @defgroup gpio_af_pg1_values GPIO_AF_PG1 Values
1091 * @brief GPIO PG1 Alternate Functions Values
1092 * Package | Pin number |
1093 * ----------- | -------------- |
1094 * TQFP-128 | 50 |
1095 * NFBGA-212 | T14 |
1096@{*/
1097/** I2C module 1 data */
1098#define GPIO_AF_PG1_I2C1SDA GPIO_AF2
1099/** Motion control module 0 PWM 5 */
1100#define GPIO_AF_PG1_M0PWM5 GPIO_AF6
1101/** EPI module 0 signal 10 */
1102#define GPIO_AF_PG1_EPI0S10 GPIO_AF15
1103/**@}*/
1104
1105/** @defgroup gpio_af_pg2_values GPIO_AF_PG2 Values
1106 * @brief GPIO PG2 Alternate Functions Values
1107 * Package | Pin number |
1108 * ----------- | -------------- |
1109 * TQFP-128 | Not available |
1110 * NFBGA-212 | V11 |
1111@{*/
1112/** I2C module 2 clock */
1113#define GPIO_AF_PG2_I2C2SCL GPIO_AF2
1114/** Ethernet 0 transmit clock */
1115#define GPIO_AF_PG2_EN0TXCK GPIO_AF14
1116/** SSI Module 2 bidirectional data pin 3 */
1117#define GPIO_AF_PG2_SSI2XDAT3 GPIO_AF15
1118/**@}*/
1119
1120/** @defgroup gpio_af_pg3_values GPIO_AF_PG3 Values
1121 * @brief GPIO PG3 Alternate Functions Values
1122 * Package | Pin number |
1123 * ----------- | -------------- |
1124 * TQFP-128 | Not available |
1125 * NFBGA-212 | M16 |
1126@{*/
1127/** I2C module 2 data */
1128#define GPIO_AF_PG3_I2C2SDA GPIO_AF2
1129/** Ethernet 0 transmit enable */
1130#define GPIO_AF_PG3_EN0TXEN GPIO_AF14
1131/** SSI Module 2 bidirectional data pin 2 */
1132#define GPIO_AF_PG3_SSI2XDAT2 GPIO_AF15
1133/**@}*/
1134
1135/** @defgroup gpio_af_pg4_values GPIO_AF_PG4 Values
1136 * @brief GPIO PG4 Alternate Functions Values
1137 * Package | Pin number |
1138 * ----------- | -------------- |
1139 * TQFP-128 | Not available |
1140 * NFBGA-212 | K17 |
1141@{*/
1142/** UART module 0 clear to send modem flow control input signal */
1143#define GPIO_AF_PG4_U0CTS GPIO_AF1
1144/** I2C module 3 clock */
1145#define GPIO_AF_PG4_I2C3SCL GPIO_AF2
1146/** 1-Wire single bus pin */
1147#define GPIO_AF_PG4_OWIRE GPIO_AF5
1148/** Ethernet 0 transmit data 0 */
1149#define GPIO_AF_PG4_EN0TXD0 GPIO_AF14
1150/** SSI Module 2 bidirectional data pin 1 */
1151#define GPIO_AF_PG4_SSI2XDAT1 GPIO_AF15
1152/**@}*/
1153
1154/** @defgroup gpio_af_pg5_values GPIO_AF_PG5 Values
1155 * @brief GPIO PG5 Alternate Functions Values
1156 * Package | Pin number |
1157 * ----------- | -------------- |
1158 * TQFP-128 | Not available |
1159 * NFBGA-212 | K15 |
1160@{*/
1161/** UART module 0 request to send modem flow control output signal */
1162#define GPIO_AF_PG5_U0RTS GPIO_AF1
1163/** I2C module 3 data */
1164#define GPIO_AF_PG5_I2C3SDA GPIO_AF2
1165/** 1-Wire optional second signal to be used as output */
1166#define GPIO_AF_PG5_OWALT GPIO_AF5
1167/** Ethernet 0 transmit data 1 */
1168#define GPIO_AF_PG5_EN0TXD1 GPIO_AF14
1169/** SSI Module 2 bidirectional data pin 0 */
1170#define GPIO_AF_PG5_SSI2XDAT0 GPIO_AF15
1171/**@}*/
1172
1173/** @defgroup gpio_af_pg6_values GPIO_AF_PG6 Values
1174 * @brief GPIO PG6 Alternate Functions Values
1175 * Package | Pin number |
1176 * ----------- | -------------- |
1177 * TQFP-128 | Not available |
1178 * NFBGA-212 | V12 |
1179@{*/
1180/** I2C module 4 clock */
1181#define GPIO_AF_PG6_I2C4SCL GPIO_AF2
1182/** 1-Wire single bus pin */
1183#define GPIO_AF_PG6_OWIRE GPIO_AF5
1184/** Ethernet 0 receive error */
1185#define GPIO_AF_PG6_EN0RXER GPIO_AF14
1186/** SSI module 2 frame signal */
1187#define GPIO_AF_PG6_SSI2FSS GPIO_AF15
1188/**@}*/
1189
1190/** @defgroup gpio_af_pg7_values GPIO_AF_PG7 Values
1191 * @brief GPIO PG7 Alternate Functions Values
1192 * Package | Pin number |
1193 * ----------- | -------------- |
1194 * TQFP-128 | Not available |
1195 * NFBGA-212 | U14 |
1196@{*/
1197/** I2C module 4 data */
1198#define GPIO_AF_PG7_I2C4SDA GPIO_AF2
1199/** 1-Wire single bus pin */
1200#define GPIO_AF_PG7_OWIRE GPIO_AF5
1201/** Ethernet 0 receive data valid */
1202#define GPIO_AF_PG7_EN0RXDV GPIO_AF14
1203/** SSI module 2 clock */
1204#define GPIO_AF_PG7_SSI2CLK GPIO_AF15
1205/**@}*/
1206
1207/** @defgroup gpio_af_ph0_values GPIO_AF_PH0 Values
1208 * @brief GPIO PH0 Alternate Functions Values
1209 * Package | Pin number |
1210 * ----------- | -------------- |
1211 * TQFP-128 | 29 |
1212 * NFBGA-212 | P4 |
1213@{*/
1214/** UART module 0 request to send modem flow control output signal */
1215#define GPIO_AF_PH0_U0RTS GPIO_AF1
1216/** EPI module 0 signal 0 */
1217#define GPIO_AF_PH0_EPI0S0 GPIO_AF15
1218/**@}*/
1219
1220/** @defgroup gpio_af_ph1_values GPIO_AF_PH1 Values
1221 * @brief GPIO PH1 Alternate Functions Values
1222 * Package | Pin number |
1223 * ----------- | -------------- |
1224 * TQFP-128 | 30 |
1225 * NFBGA-212 | R2 |
1226@{*/
1227/** UART module 0 clear to send modem flow control input signal */
1228#define GPIO_AF_PH1_U0CTS GPIO_AF1
1229/** EPI module 0 signal 1 */
1230#define GPIO_AF_PH1_EPI0S1 GPIO_AF15
1231/**@}*/
1232
1233/** @defgroup gpio_af_ph2_values GPIO_AF_PH2 Values
1234 * @brief GPIO PH2 Alternate Functions Values
1235 * Package | Pin number |
1236 * ----------- | -------------- |
1237 * TQFP-128 | 31 |
1238 * NFBGA-212 | R1 |
1239@{*/
1240/** UART module 0 data carrier detect modem status input signal */
1241#define GPIO_AF_PH2_U0DCD GPIO_AF1
1242/** EPI module 0 signal 2 */
1243#define GPIO_AF_PH2_EPI0S2 GPIO_AF15
1244/**@}*/
1245
1246/** @defgroup gpio_af_ph3_values GPIO_AF_PH3 Values
1247 * @brief GPIO PH3 Alternate Functions Values
1248 * Package | Pin number |
1249 * ----------- | -------------- |
1250 * TQFP-128 | 32 |
1251 * NFBGA-212 | T1 |
1252@{*/
1253/** UART module 0 data set ready modem output control line */
1254#define GPIO_AF_PH3_U0DSR GPIO_AF1
1255/** EPI module 0 signal 3 */
1256#define GPIO_AF_PH3_EPI0S3 GPIO_AF15
1257/**@}*/
1258
1259/** @defgroup gpio_af_ph4_values GPIO_AF_PH4 Values
1260 * @brief GPIO PH4 Alternate Functions Values
1261 * Package | Pin number |
1262 * ----------- | -------------- |
1263 * TQFP-128 | Not available |
1264 * NFBGA-212 | R3 |
1265@{*/
1266/** UART module 0 data terminal ready modem status input signal */
1267#define GPIO_AF_PH4_U0DTR GPIO_AF1
1268/**@}*/
1269
1270/** @defgroup gpio_af_ph5_values GPIO_AF_PH5 Values
1271 * @brief GPIO PH5 Alternate Functions Values
1272 * Package | Pin number |
1273 * ----------- | -------------- |
1274 * TQFP-128 | Not available |
1275 * NFBGA-212 | T2 |
1276@{*/
1277/** UART module 0 ring indicator modem status input signal */
1278#define GPIO_AF_PH5_U0RI GPIO_AF1
1279/** Ethernet 0 pulse-per-second (PPS) output */
1280#define GPIO_AF_PH5_EN0PPS GPIO_AF15
1281/**@}*/
1282
1283/** @defgroup gpio_af_ph6_values GPIO_AF_PH6 Values
1284 * @brief GPIO PH6 Alternate Functions Values
1285 * Package | Pin number |
1286 * ----------- | -------------- |
1287 * TQFP-128 | Not available |
1288 * NFBGA-212 | U2 |
1289@{*/
1290/** UART module 5 receive */
1291#define GPIO_AF_PH6_U5RX GPIO_AF1
1292/** UART module 7 receive */
1293#define GPIO_AF_PH6_U7RX GPIO_AF2
1294/**@}*/
1295
1296/** @defgroup gpio_af_ph7_values GPIO_AF_PH7 Values
1297 * @brief GPIO PH7 Alternate Functions Values
1298 * Package | Pin number |
1299 * ----------- | -------------- |
1300 * TQFP-128 | Not available |
1301 * NFBGA-212 | V2 |
1302@{*/
1303/** UART module 5 transmit */
1304#define GPIO_AF_PH7_U5TX GPIO_AF1
1305/** UART module 7 transmit */
1306#define GPIO_AF_PH7_U7TX GPIO_AF2
1307/**@}*/
1308
1309/** @defgroup gpio_af_pj0_values GPIO_AF_PJ0 Values
1310 * @brief GPIO PJ0 Alternate Functions Values
1311 * Package | Pin number |
1312 * ----------- | -------------- |
1313 * TQFP-128 | 116 |
1314 * NFBGA-212 | C8 |
1315@{*/
1316/** UART module 3 receive */
1317#define GPIO_AF_PJ0_U3RX GPIO_AF1
1318/** Ethernet 0 pulse-per-second (PPS) output */
1319#define GPIO_AF_PJ0_EN0PPS GPIO_AF5
1320/**@}*/
1321
1322/** @defgroup gpio_af_pj1_values GPIO_AF_PJ1 Values
1323 * @brief GPIO PJ1 Alternate Functions Values
1324 * Package | Pin number |
1325 * ----------- | -------------- |
1326 * TQFP-128 | 117 |
1327 * NFBGA-212 | E7 |
1328@{*/
1329/** UART module 3 transmit */
1330#define GPIO_AF_PJ1_U3TX GPIO_AF1
1331/**@}*/
1332
1333/** @defgroup gpio_af_pj2_values GPIO_AF_PJ2 Values
1334 * @brief GPIO PJ2 Alternate Functions Values
1335 * Package | Pin number |
1336 * ----------- | -------------- |
1337 * TQFP-128 | Not available |
1338 * NFBGA-212 | H17 |
1339@{*/
1340/** UART module 2 request to send modem flow control output line */
1341#define GPIO_AF_PJ2_U2RTS GPIO_AF1
1342/** LCD data pin 14 input/output */
1343#define GPIO_AF_PJ2_LCDDATA14 GPIO_AF15
1344/**@}*/
1345
1346/** @defgroup gpio_af_pj3_values GPIO_AF_PJ3 Values
1347 * @brief GPIO PJ3 Alternate Functions Values
1348 * Package | Pin number |
1349 * ----------- | -------------- |
1350 * TQFP-128 | Not available |
1351 * NFBGA-212 | F16 |
1352@{*/
1353/** UART module 2 clear to send modem flow control input signal */
1354#define GPIO_AF_PJ3_U2CTS GPIO_AF1
1355/** LCD data pin 15 input/output */
1356#define GPIO_AF_PJ3_LCDDATA15 GPIO_AF15
1357/**@}*/
1358
1359/** @defgroup gpio_af_pj4_values GPIO_AF_PJ4 Values
1360 * @brief GPIO PJ4 Alternate Functions Values
1361 * Package | Pin number |
1362 * ----------- | -------------- |
1363 * TQFP-128 | Not available |
1364 * NFBGA-212 | F18 |
1365@{*/
1366/** UART module 3 request to send modem flow control output line */
1367#define GPIO_AF_PJ4_U3RTS GPIO_AF1
1368/** LCD data pin 16 output */
1369#define GPIO_AF_PJ4_LCDDATA16 GPIO_AF15
1370/**@}*/
1371
1372/** @defgroup gpio_af_pj5_values GPIO_AF_PJ5 Values
1373 * @brief GPIO PJ5 Alternate Functions Values
1374 * Package | Pin number |
1375 * ----------- | -------------- |
1376 * TQFP-128 | Not available |
1377 * NFBGA-212 | E17 |
1378@{*/
1379/** UART module 3 clear to send modem flow control input signal */
1380#define GPIO_AF_PJ5_U3CTS GPIO_AF1
1381/** LCD data pin 17 output */
1382#define GPIO_AF_PJ5_LCDDATA17 GPIO_AF15
1383/**@}*/
1384
1385/** @defgroup gpio_af_pj6_values GPIO_AF_PJ6 Values
1386 * @brief GPIO PJ6 Alternate Functions Values
1387 * Package | Pin number |
1388 * ----------- | -------------- |
1389 * TQFP-128 | Not available |
1390 * NFBGA-212 | N1 |
1391@{*/
1392/** UART module 4 request to send modem flow control output line */
1393#define GPIO_AF_PJ6_U4RTS GPIO_AF1
1394/** LCD AC bias or latch enable in raster mode */
1395#define GPIO_AF_PJ6_LCDAC GPIO_AF15
1396/**@}*/
1397
1398/** @defgroup gpio_af_pj7_values GPIO_AF_PJ7 Values
1399 * @brief GPIO PJ7 Alternate Functions Values
1400 * Package | Pin number |
1401 * ----------- | -------------- |
1402 * TQFP-128 | Not available |
1403 * NFBGA-212 | K5 |
1404@{*/
1405/** UART module 4 clear to send modem flow control input signal */
1406#define GPIO_AF_PJ7_U4CTS GPIO_AF1
1407/**@}*/
1408
1409/** @defgroup gpio_af_pk0_values GPIO_AF_PK0 Values
1410 * @brief GPIO PK0 Alternate Functions Values
1411 * Package | Pin number |
1412 * ----------- | -------------- |
1413 * TQFP-128 | 18 |
1414 * NFBGA-212 | J1 |
1415@{*/
1416/** UART module 4 receive */
1417#define GPIO_AF_PK0_U4RX GPIO_AF1
1418/** EPI module 0 signal 0 */
1419#define GPIO_AF_PK0_EPI0S0 GPIO_AF15
1420/**@}*/
1421
1422/** @defgroup gpio_af_pk1_values GPIO_AF_PK1 Values
1423 * @brief GPIO PK1 Alternate Functions Values
1424 * Package | Pin number |
1425 * ----------- | -------------- |
1426 * TQFP-128 | 19 |
1427 * NFBGA-212 | J2 |
1428@{*/
1429/** UART module 4 transmit */
1430#define GPIO_AF_PK1_U4TX GPIO_AF1
1431/** EPI module 0 signal 1 */
1432#define GPIO_AF_PK1_EPI0S1 GPIO_AF15
1433/**@}*/
1434
1435/** @defgroup gpio_af_pk2_values GPIO_AF_PK2 Values
1436 * @brief GPIO PK2 Alternate Functions Values
1437 * Package | Pin number |
1438 * ----------- | -------------- |
1439 * TQFP-128 | 20 |
1440 * NFBGA-212 | K1 |
1441@{*/
1442/** UART module 4 request to send modem flow control output line */
1443#define GPIO_AF_PK2_U4RTS GPIO_AF1
1444/** EPI module 0 signal 2 */
1445#define GPIO_AF_PK2_EPI0S2 GPIO_AF15
1446/**@}*/
1447
1448/** @defgroup gpio_af_pk3_values GPIO_AF_PK3 Values
1449 * @brief GPIO PK3 Alternate Functions Values
1450 * Package | Pin number |
1451 * ----------- | -------------- |
1452 * TQFP-128 | 21 |
1453 * NFBGA-212 | K2 |
1454@{*/
1455/** UART module 4 clear to send modem flow control input signal */
1456#define GPIO_AF_PK3_U4CTS GPIO_AF1
1457/** EPI module 0 signal 3 */
1458#define GPIO_AF_PK3_EPI0S3 GPIO_AF15
1459/**@}*/
1460
1461/** @defgroup gpio_af_pk4_values GPIO_AF_PK4 Values
1462 * @brief GPIO PK4 Alternate Functions Values
1463 * Package | Pin number |
1464 * ----------- | -------------- |
1465 * TQFP-128 | 63 |
1466 * NFBGA-212 | U19 |
1467@{*/
1468/** I2C module 3 clock */
1469#define GPIO_AF_PK4_I2C3SCL GPIO_AF2
1470/** Ethernet 0 LED 0 */
1471#define GPIO_AF_PK4_EN0LED0 GPIO_AF5
1472/** Motion control module 0 PWM 6 */
1473#define GPIO_AF_PK4_M0PWM6 GPIO_AF6
1474/** Ethernet 0 interrupt from the Ethernet PHY */
1475#define GPIO_AF_PK4_EN0INTRN GPIO_AF7
1476/** Ethernet 0 receive data 3 */
1477#define GPIO_AF_PK4_EN0RXD3 GPIO_AF14
1478/** EPI module 0 signal 32 */
1479#define GPIO_AF_PK4_EPI0S32 GPIO_AF15
1480/**@}*/
1481
1482/** @defgroup gpio_af_pk5_values GPIO_AF_PK5 Values
1483 * @brief GPIO PK5 Alternate Functions Values
1484 * Package | Pin number |
1485 * ----------- | -------------- |
1486 * TQFP-128 | 62 |
1487 * NFBGA-212 | V17 |
1488@{*/
1489/** I2C module 3 data */
1490#define GPIO_AF_PK5_I2C3SDA GPIO_AF2
1491/** Ethernet 0 LED 2 */
1492#define GPIO_AF_PK5_EN0LED2 GPIO_AF5
1493/** Motion control module 0 PWM 7 */
1494#define GPIO_AF_PK5_M0PWM7 GPIO_AF6
1495/** Ethernet 0 receive data 2 */
1496#define GPIO_AF_PK5_EN0RXD2 GPIO_AF14
1497/** EPI module 0 signal 31 */
1498#define GPIO_AF_PK5_EPI0S31 GPIO_AF15
1499/**@}*/
1500
1501/** @defgroup gpio_af_pk6_values GPIO_AF_PK6 Values
1502 * @brief GPIO PK6 Alternate Functions Values
1503 * Package | Pin number |
1504 * ----------- | -------------- |
1505 * TQFP-128 | 61 |
1506 * NFBGA-212 | V16 |
1507@{*/
1508/** I2C module 4 clock */
1509#define GPIO_AF_PK6_I2C4SCL GPIO_AF2
1510/** Ethernet 0 LED 1 */
1511#define GPIO_AF_PK6_EN0LED1 GPIO_AF5
1512/** Motion control module 0 PWM fault 1 */
1513#define GPIO_AF_PK6_M0FAULT1 GPIO_AF6
1514/** Ethernet 0 transmit data 2 */
1515#define GPIO_AF_PK6_EN0TXD2 GPIO_AF14
1516/** EPI module 0 signal 25 */
1517#define GPIO_AF_PK6_EPI0S25 GPIO_AF15
1518/**@}*/
1519
1520/** @defgroup gpio_af_pk7_values GPIO_AF_PK7 Values
1521 * @brief GPIO PK7 Alternate Functions Values
1522 * Package | Pin number |
1523 * ----------- | -------------- |
1524 * TQFP-128 | 60 |
1525 * NFBGA-212 | W16 |
1526@{*/
1527/** UART module 0 ring indicator modem status input signal */
1528#define GPIO_AF_PK7_U0RI GPIO_AF1
1529/** I2C module 4 data */
1530#define GPIO_AF_PK7_I2C4SDA GPIO_AF2
1531/** Buffered version of the 32.768-kHz clock of the Hibernation module */
1532#define GPIO_AF_PK7_RTCCLK GPIO_AF5
1533/** Motion control module 0 PWM fault 2 */
1534#define GPIO_AF_PK7_M0FAULT2 GPIO_AF6
1535/** Ethernet 0 transmit data 3 */
1536#define GPIO_AF_PK7_EN0TXD3 GPIO_AF14
1537/** EPI module 0 signal 24 */
1538#define GPIO_AF_PK7_EPI0S24 GPIO_AF15
1539/**@}*/
1540
1541/** @defgroup gpio_af_pl0_values GPIO_AF_PL0 Values
1542 * @brief GPIO PL0 Alternate Functions Values
1543 * Package | Pin number |
1544 * ----------- | -------------- |
1545 * TQFP-128 | 81 |
1546 * NFBGA-212 | G16 |
1547@{*/
1548/** I2C module 2 data */
1549#define GPIO_AF_PL0_I2C2SDA GPIO_AF2
1550/** Motion control module 0 PWM fault 3 */
1551#define GPIO_AF_PL0_M0FAULT3 GPIO_AF6
1552/** USB data 0 */
1553#define GPIO_AF_PL0_USB0D0 GPIO_AF14
1554/** EPI module 0 signal 16 */
1555#define GPIO_AF_PL0_EPI0S16 GPIO_AF15
1556/**@}*/
1557
1558/** @defgroup gpio_af_pl1_values GPIO_AF_PL1 Values
1559 * @brief GPIO PL1 Alternate Functions Values
1560 * Package | Pin number |
1561 * ----------- | -------------- |
1562 * TQFP-128 | 82 |
1563 * NFBGA-212 | H19 |
1564@{*/
1565/** I2C module 2 clock */
1566#define GPIO_AF_PL1_I2C2SCL GPIO_AF2
1567/** QEI module 0 phase A */
1568#define GPIO_AF_PL1_PHA0 GPIO_AF6
1569/** USB data 1 */
1570#define GPIO_AF_PL1_USB0D1 GPIO_AF14
1571/** EPI module 0 signal 17 */
1572#define GPIO_AF_PL1_EPI0S17 GPIO_AF15
1573/**@}*/
1574
1575/** @defgroup gpio_af_pl2_values GPIO_AF_PL2 Values
1576 * @brief GPIO PL2 Alternate Functions Values
1577 * Package | Pin number |
1578 * ----------- | -------------- |
1579 * TQFP-128 | 83 |
1580 * NFBGA-212 | G18 |
1581@{*/
1582/** Analog comparator 0 output */
1583#define GPIO_AF_PL2_C0O GPIO_AF5
1584/** QEI module 0 phase B */
1585#define GPIO_AF_PL2_PHB0 GPIO_AF6
1586/** USB data 2 */
1587#define GPIO_AF_PL2_USB0D2 GPIO_AF14
1588/** EPI module 0 signal 18 */
1589#define GPIO_AF_PL2_EPI0S18 GPIO_AF15
1590/**@}*/
1591
1592/** @defgroup gpio_af_pl3_values GPIO_AF_PL3 Values
1593 * @brief GPIO PL3 Alternate Functions Values
1594 * Package | Pin number |
1595 * ----------- | -------------- |
1596 * TQFP-128 | 84 |
1597 * NFBGA-212 | J18 |
1598@{*/
1599/** Analog comparator 1 output */
1600#define GPIO_AF_PL3_C1O GPIO_AF5
1601/** QEI module 0 index */
1602#define GPIO_AF_PL3_IDX0 GPIO_AF6
1603/** USB data 3 */
1604#define GPIO_AF_PL3_USB0D3 GPIO_AF14
1605/** EPI module 0 signal 19 */
1606#define GPIO_AF_PL3_EPI0S19 GPIO_AF15
1607/**@}*/
1608
1609/** @defgroup gpio_af_pl4_values GPIO_AF_PL4 Values
1610 * @brief GPIO PL4 Alternate Functions Values
1611 * Package | Pin number |
1612 * ----------- | -------------- |
1613 * TQFP-128 | 85 |
1614 * NFBGA-212 | H18 |
1615@{*/
1616/** 16- and 32-bit Timer 0 capture, compare, or PWM 0 */
1617#define GPIO_AF_PL4_T0CCP0 GPIO_AF3
1618/** USB data 4 */
1619#define GPIO_AF_PL4_USB0D4 GPIO_AF14
1620/** EPI module 0 signal 26 */
1621#define GPIO_AF_PL4_EPI0S26 GPIO_AF15
1622/**@}*/
1623
1624/** @defgroup gpio_af_pl5_values GPIO_AF_PL5 Values
1625 * @brief GPIO PL5 Alternate Functions Values
1626 * Package | Pin number |
1627 * ----------- | -------------- |
1628 * TQFP-128 | 86 |
1629 * NFBGA-212 | G19 |
1630@{*/
1631/** 16- and 32-bit Timer 0 capture, compare, or PWM 1 */
1632#define GPIO_AF_PL5_T0CCP1 GPIO_AF3
1633/** USB data 5 */
1634#define GPIO_AF_PL5_USB0D5 GPIO_AF14
1635/** EPI module 0 signal 33 */
1636#define GPIO_AF_PL5_EPI0S33 GPIO_AF15
1637/**@}*/
1638
1639/** @defgroup gpio_af_pl6_values GPIO_AF_PL6 Values
1640 * @brief GPIO PL6 Alternate Functions Values
1641 * Package | Pin number |
1642 * ----------- | -------------- |
1643 * TQFP-128 | 94 |
1644 * NFBGA-212 | C18 |
1645@{*/
1646/** 16- and 32-bit Timer 1 capture, compare, or PWM 0 */
1647#define GPIO_AF_PL6_T1CCP0 GPIO_AF3
1648/**@}*/
1649
1650/** @defgroup gpio_af_pl7_values GPIO_AF_PL7 Values
1651 * @brief GPIO PL7 Alternate Functions Values
1652 * Package | Pin number |
1653 * ----------- | -------------- |
1654 * TQFP-128 | 93 |
1655 * NFBGA-212 | B18 |
1656@{*/
1657/** 16- and 32-bit Timer 1 capture, compare, or PWM 1 */
1658#define GPIO_AF_PL7_T1CCP1 GPIO_AF3
1659/**@}*/
1660
1661/** @defgroup gpio_af_pm0_values GPIO_AF_PM0 Values
1662 * @brief GPIO PM0 Alternate Functions Values
1663 * Package | Pin number |
1664 * ----------- | -------------- |
1665 * TQFP-128 | 78 |
1666 * NFBGA-212 | K18 |
1667@{*/
1668/** 16- and 32-bit Timer 2 capture, compare, or PWM 0 */
1669#define GPIO_AF_PM0_T2CCP0 GPIO_AF3
1670/** EPI module 0 signal 15 */
1671#define GPIO_AF_PM0_EPI0S15 GPIO_AF15
1672/**@}*/
1673
1674/** @defgroup gpio_af_pm1_values GPIO_AF_PM1 Values
1675 * @brief GPIO PM1 Alternate Functions Values
1676 * Package | Pin number |
1677 * ----------- | -------------- |
1678 * TQFP-128 | 77 |
1679 * NFBGA-212 | K19 |
1680@{*/
1681/** 16- and 32-bit Timer 2 capture, compare, or PWM 1 */
1682#define GPIO_AF_PM1_T2CCP1 GPIO_AF3
1683/** EPI module 0 signal 14 */
1684#define GPIO_AF_PM1_EPI0S14 GPIO_AF15
1685/**@}*/
1686
1687/** @defgroup gpio_af_pm2_values GPIO_AF_PM2 Values
1688 * @brief GPIO PM2 Alternate Functions Values
1689 * Package | Pin number |
1690 * ----------- | -------------- |
1691 * TQFP-128 | 76 |
1692 * NFBGA-212 | L18 |
1693@{*/
1694/** 16- and 32-bit Timer 3 capture, compare, or PWM 0 */
1695#define GPIO_AF_PM2_T3CCP0 GPIO_AF3
1696/** EPI module 0 signal 13 */
1697#define GPIO_AF_PM2_EPI0S13 GPIO_AF15
1698/**@}*/
1699
1700/** @defgroup gpio_af_pm3_values GPIO_AF_PM3 Values
1701 * @brief GPIO PM3 Alternate Functions Values
1702 * Package | Pin number |
1703 * ----------- | -------------- |
1704 * TQFP-128 | 75 |
1705 * NFBGA-212 | L19 |
1706@{*/
1707/** 16- and 32-bit Timer 3 capture, compare, or PWM 1 */
1708#define GPIO_AF_PM3_T3CCP1 GPIO_AF3
1709/** EPI module 0 signal 12 */
1710#define GPIO_AF_PM3_EPI0S12 GPIO_AF15
1711/**@}*/
1712
1713/** @defgroup gpio_af_pm4_values GPIO_AF_PM4 Values
1714 * @brief GPIO PM4 Alternate Functions Values
1715 * Package | Pin number |
1716 * ----------- | -------------- |
1717 * TQFP-128 | 74 |
1718 * NFBGA-212 | M18 |
1719@{*/
1720/** UART module 0 clear to send modem flow control input signal */
1721#define GPIO_AF_PM4_U0CTS GPIO_AF1
1722/** 16- and 32-bit Timer 4 capture, compare, or PWM 0 */
1723#define GPIO_AF_PM4_T4CCP0 GPIO_AF3
1724/** Ethernet 0 reference clock */
1725#define GPIO_AF_PM4_EN0RREF_CLK GPIO_AF14
1726/**@}*/
1727
1728/** @defgroup gpio_af_pm5_values GPIO_AF_PM5 Values
1729 * @brief GPIO PM5 Alternate Functions Values
1730 * Package | Pin number |
1731 * ----------- | -------------- |
1732 * TQFP-128 | 73 |
1733 * NFBGA-212 | G15 |
1734@{*/
1735/** UART module 0 data carrier detect modem status input signal */
1736#define GPIO_AF_PM5_U0DCD GPIO_AF1
1737/** 16- and 32-bit Timer 4 capture, compare, or PWM 1 */
1738#define GPIO_AF_PM5_T4CCP1 GPIO_AF3
1739/**@}*/
1740
1741/** @defgroup gpio_af_pm6_values GPIO_AF_PM6 Values
1742 * @brief GPIO PM6 Alternate Functions Values
1743 * Package | Pin number |
1744 * ----------- | -------------- |
1745 * TQFP-128 | 72 |
1746 * NFBGA-212 | N19 |
1747@{*/
1748/** UART module 0 data set ready modem output control line */
1749#define GPIO_AF_PM6_U0DSR GPIO_AF1
1750/** 16- and 32-bit Timer 5 capture, compare, or PWM 0 */
1751#define GPIO_AF_PM6_T5CCP0 GPIO_AF3
1752/** Ethernet 0 carrier sense */
1753#define GPIO_AF_PM6_EN0CRS GPIO_AF14
1754/**@}*/
1755
1756/** @defgroup gpio_af_pm7_values GPIO_AF_PM7 Values
1757 * @brief GPIO PM7 Alternate Functions Values
1758 * Package | Pin number |
1759 * ----------- | -------------- |
1760 * TQFP-128 | 71 |
1761 * NFBGA-212 | N18 |
1762@{*/
1763/** UART module 0 ring indicator modem status input signal */
1764#define GPIO_AF_PM7_U0RI GPIO_AF1
1765/** 16- and 32-bit Timer 5 capture, compare, or PWM 1 */
1766#define GPIO_AF_PM7_T5CCP1 GPIO_AF3
1767/** Ethernet 0 collision detect */
1768#define GPIO_AF_PM7_EN0COL GPIO_AF14
1769/**@}*/
1770
1771/** @defgroup gpio_af_pn0_values GPIO_AF_PN0 Values
1772 * @brief GPIO PN0 Alternate Functions Values
1773 * Package | Pin number |
1774 * ----------- | -------------- |
1775 * TQFP-128 | 107 |
1776 * NFBGA-212 | C10 |
1777@{*/
1778/** UART module 1 request to send modem flow control output line */
1779#define GPIO_AF_PN0_U1RTS GPIO_AF1
1780/**@}*/
1781
1782/** @defgroup gpio_af_pn1_values GPIO_AF_PN1 Values
1783 * @brief GPIO PN1 Alternate Functions Values
1784 * Package | Pin number |
1785 * ----------- | -------------- |
1786 * TQFP-128 | 108 |
1787 * NFBGA-212 | B11 |
1788@{*/
1789/** UART module 1 clear to send modem flow control input signal */
1790#define GPIO_AF_PN1_U1CTS GPIO_AF1
1791/**@}*/
1792
1793/** @defgroup gpio_af_pn2_values GPIO_AF_PN2 Values
1794 * @brief GPIO PN2 Alternate Functions Values
1795 * Package | Pin number |
1796 * ----------- | -------------- |
1797 * TQFP-128 | 109 |
1798 * NFBGA-212 | A11 |
1799@{*/
1800/** UART module 1 data carrier detect modem status input signal */
1801#define GPIO_AF_PN2_U1DCD GPIO_AF1
1802/** UART module 2 request to send modem flow control output line */
1803#define GPIO_AF_PN2_U2RTS GPIO_AF2
1804/** EPI module 0 signal 29 */
1805#define GPIO_AF_PN2_EPI0S29 GPIO_AF15
1806/**@}*/
1807
1808/** @defgroup gpio_af_pn3_values GPIO_AF_PN3 Values
1809 * @brief GPIO PN3 Alternate Functions Values
1810 * Package | Pin number |
1811 * ----------- | -------------- |
1812 * TQFP-128 | 110 |
1813 * NFBGA-212 | B10 |
1814@{*/
1815/** UART module 1 data set ready modem output control line */
1816#define GPIO_AF_PN3_U1DSR GPIO_AF1
1817/** UART module 2 clear to send modem flow control input signal */
1818#define GPIO_AF_PN3_U2CTS GPIO_AF2
1819/** EPI module 0 signal 30 */
1820#define GPIO_AF_PN3_EPI0S30 GPIO_AF15
1821/**@}*/
1822
1823/** @defgroup gpio_af_pn4_values GPIO_AF_PN4 Values
1824 * @brief GPIO PN4 Alternate Functions Values
1825 * Package | Pin number |
1826 * ----------- | -------------- |
1827 * TQFP-128 | 111 |
1828 * NFBGA-212 | A10 |
1829@{*/
1830/** UART module 1 data terminal ready modem status input signal */
1831#define GPIO_AF_PN4_U1DTR GPIO_AF1
1832/** UART module 3 request to send modem flow control output line */
1833#define GPIO_AF_PN4_U3RTS GPIO_AF2
1834/** I2C module 2 data */
1835#define GPIO_AF_PN4_I2C2SDA GPIO_AF3
1836/** EPI module 0 signal 34 */
1837#define GPIO_AF_PN4_EPI0S34 GPIO_AF15
1838/**@}*/
1839
1840/** @defgroup gpio_af_pn5_values GPIO_AF_PN5 Values
1841 * @brief GPIO PN5 Alternate Functions Values
1842 * Package | Pin number |
1843 * ----------- | -------------- |
1844 * TQFP-128 | 112 |
1845 * NFBGA-212 | B9 |
1846@{*/
1847/** UART module 1 ring indicator modem status input signal */
1848#define GPIO_AF_PN5_U1RI GPIO_AF1
1849/** UART module 3 clear to send modem flow control input signal */
1850#define GPIO_AF_PN5_U3CTS GPIO_AF2
1851/** I2C module 2 clock */
1852#define GPIO_AF_PN5_I2C2SCL GPIO_AF3
1853/** EPI module 0 signal 35 */
1854#define GPIO_AF_PN5_EPI0S35 GPIO_AF15
1855/**@}*/
1856
1857/** @defgroup gpio_af_pn6_values GPIO_AF_PN7 Values
1858 * @brief GPIO PN6 Alternate Functions Values
1859 * Package | Pin number |
1860 * ----------- | -------------- |
1861 * TQFP-128 | Not available |
1862 * NFBGA-212 | T12 |
1863@{*/
1864/** UART module 4 request to send modem flow control output line */
1865#define GPIO_AF_PN6_U4RTS GPIO_AF2
1866/** Ethernet 0 transmit error */
1867#define GPIO_AF_PN6_EN0TXER GPIO_AF14
1868/** LCD data pin 13 input/output */
1869#define GPIO_AF_PN6_LCDDATA13 GPIO_AF15
1870/**@}*/
1871
1872/** @defgroup gpio_af_pn7_values GPIO_AF_PN7 Values
1873 * @brief GPIO PN7 Alternate Functions Values
1874 * Package | Pin number |
1875 * ----------- | -------------- |
1876 * TQFP-128 | Not available |
1877 * NFBGA-212 | U12 |
1878@{*/
1879/** UART module 1 request to send modem flow control output line */
1880#define GPIO_AF_PN7_U1RTS GPIO_AF1
1881/** UART module 4 clear to send modem flow control input signal */
1882#define GPIO_AF_PN7_U4CTS GPIO_AF2
1883/** LCD data pin 12 input/output */
1884#define GPIO_AF_PN7_LCDDATA12 GPIO_AF15
1885/**@}*/
1886
1887/** @defgroup gpio_af_pp0_values GPIO_AF_PP0 Values
1888 * @brief GPIO PP0 Alternate Functions Values
1889 * Package | Pin number |
1890 * ----------- | -------------- |
1891 * TQFP-128 | 118 |
1892 * NFBGA-212 | D6 |
1893@{*/
1894/** UART module 6 receive */
1895#define GPIO_AF_PP0_U6RX GPIO_AF1
1896/** 16- and 32-bit Timer 6 capture, compare, or PWM 0 */
1897#define GPIO_AF_PP0_T6CCP0 GPIO_AF5
1898/** Ethernet 0 interrupt from the Ethernet PHY */
1899#define GPIO_AF_PP0_EN0INTRN GPIO_AF7
1900/** SSI Module 3 bidirectional data pin 2 */
1901#define GPIO_AF_PP0_SSI3XDAT2 GPIO_AF15
1902/**@}*/
1903
1904/** @defgroup gpio_af_pp1_values GPIO_AF_PP1 Values
1905 * @brief GPIO PP1 Alternate Functions Values
1906 * Package | Pin number |
1907 * ----------- | -------------- |
1908 * TQFP-128 | 119 |
1909 * NFBGA-212 | D7 |
1910@{*/
1911/** UART module 6 transmit */
1912#define GPIO_AF_PP1_U6TX GPIO_AF1
1913/** 16- and 32-bit Timer 6 capture, compare, or PWM 1 */
1914#define GPIO_AF_PP1_T6CCP1 GPIO_AF5
1915/** SSI Module 3 bidirectional data pin 3 */
1916#define GPIO_AF_PP1_SSI3XDAT3 GPIO_AF15
1917/**@}*/
1918
1919/** @defgroup gpio_af_pp2_values GPIO_AF_PP2 Values
1920 * @brief GPIO PP2 Alternate Functions Values
1921 * Package | Pin number |
1922 * ----------- | -------------- |
1923 * TQFP-128 | 103 |
1924 * NFBGA-212 | B13 |
1925@{*/
1926/** UART module 0 data terminal ready modem status input signal */
1927#define GPIO_AF_PP2_U0DTR GPIO_AF1
1928/** USB Asserted by the external PHY to throttle all data types */
1929#define GPIO_AF_PP2_USB0NXT GPIO_AF14
1930/** EPI module 0 signal 29 */
1931#define GPIO_AF_PP2_EPI0S29 GPIO_AF15
1932/**@}*/
1933
1934/** @defgroup gpio_af_pp3_values GPIO_AF_PP3 Values
1935 * @brief GPIO PP3 Alternate Functions Values
1936 * Package | Pin number |
1937 * ----------- | -------------- |
1938 * TQFP-128 | 104 |
1939 * NFBGA-212 | C12 |
1940@{*/
1941/** UART module 1 clear to send modem flow control input signal */
1942#define GPIO_AF_PP3_U1CTS GPIO_AF1
1943/** UART module 0 data carrier detect modem status input signal */
1944#define GPIO_AF_PP3_U0DCD GPIO_AF2
1945/** Buffered version of the 32.768-kHz clock of the Hibernation module */
1946#define GPIO_AF_PP3_RTCCLK GPIO_AF7
1947/** USB Indicates that the external PHY is able to accept data
1948 * from the USB controller */
1949#define GPIO_AF_PP3_USB0DIR GPIO_AF14
1950/** EPI module 0 signal 30 */
1951#define GPIO_AF_PP3_EPI0S30 GPIO_AF15
1952/**@}*/
1953
1954/** @defgroup gpio_af_pp4_values GPIO_AF_PP4 Values
1955 * @brief GPIO PP4 Alternate Functions Values
1956 * Package | Pin number |
1957 * ----------- | -------------- |
1958 * TQFP-128 | 105 |
1959 * NFBGA-212 | D8 |
1960@{*/
1961/** UART module 3 request to send modem flow control output line */
1962#define GPIO_AF_PP4_U3RTS GPIO_AF1
1963/** UART module 0 data set ready modem output control line */
1964#define GPIO_AF_PP4_U0DSR GPIO_AF2
1965/** 1-Wire single bus pin */
1966#define GPIO_AF_PP4_OWIRE GPIO_AF4
1967/** USB data 7 */
1968#define GPIO_AF_PP4_USB0D7 GPIO_AF14
1969/**@}*/
1970
1971/** @defgroup gpio_af_pp5_values GPIO_AF_PP5 Values
1972 * @brief GPIO PP5 Alternate Functions Values
1973 * Package | Pin number |
1974 * ----------- | -------------- |
1975 * TQFP-128 | 106 |
1976 * NFBGA-212 | B12 |
1977@{*/
1978/** UART module 3 clear to send modem flow control input signal */
1979#define GPIO_AF_PP5_U3CTS GPIO_AF1
1980/** I2C module 2 clock */
1981#define GPIO_AF_PP5_I2C2SCL GPIO_AF2
1982/** 1-Wire optional second signal to be used as output */
1983#define GPIO_AF_PP5_OWALT GPIO_AF4
1984/** USB data 6 */
1985#define GPIO_AF_PP5_USB0D6 GPIO_AF14
1986/**@}*/
1987
1988/** @defgroup gpio_af_pp6_values GPIO_AF_PP6 Values
1989 * @brief GPIO PP6 Alternate Functions Values
1990 * Package | Pin number |
1991 * ----------- | -------------- |
1992 * TQFP-128 | Not available |
1993 * NFBGA-212 | B8 |
1994@{*/
1995/** UART module 1 data carrier detect modem status input signal */
1996#define GPIO_AF_PP6_U1DCD GPIO_AF1
1997/** I2C module 2 data */
1998#define GPIO_AF_PP6_I2C2SDA GPIO_AF2
1999/**@}*/
2000
2001/** @defgroup gpio_af_pp7_values GPIO_AF_PP7 Values
2002 * @brief GPIO PP7 Alternate Functions Values
2003 * Package | Pin number |
2004 * ----------- | -------------- |
2005 * TQFP-128 | Not available |
2006 * NFBGA-212 | A8 |
2007@{*/
2008/** 1-Wire single bus pin */
2009#define GPIO_AF_PP7_OWIRE GPIO_AF5
2010/**@}*/
2011
2012/** @defgroup gpio_af_pq0_values GPIO_AF_PQ0 Values
2013 * @brief GPIO PQ0 Alternate Functions Values
2014 * Package | Pin number |
2015 * ----------- | -------------- |
2016 * TQFP-128 | 5 |
2017 * NFBGA-212 | E3 |
2018@{*/
2019/** 16- and 32-bit Timer 6 capture, compare, or PWM 0 */
2020#define GPIO_AF_PQ0_T6CCP0 GPIO_AF3
2021/** SSI module 3 clock */
2022#define GPIO_AF_PQ0_SSI3CLK GPIO_AF14
2023/** EPI module 0 signal 20 */
2024#define GPIO_AF_PQ0_EPI0S20 GPIO_AF15
2025/**@}*/
2026
2027/** @defgroup gpio_af_pq1_values GPIO_AF_PQ1 Values
2028 * @brief GPIO PQ1 Alternate Functions Values
2029 * Package | Pin number |
2030 * ----------- | -------------- |
2031 * TQFP-128 | 6 |
2032 * NFBGA-212 | E2 |
2033@{*/
2034/** 16- and 32-bit Timer 6 capture, compare, or PWM 1 */
2035#define GPIO_AF_PQ1_T6CCP1 GPIO_AF3
2036/** SSI module 3 frame signal */
2037#define GPIO_AF_PQ1_SSI3FSS GPIO_AF14
2038/** EPI module 0 signal 21 */
2039#define GPIO_AF_PQ1_EPI0S21 GPIO_AF15
2040/**@}*/
2041
2042/** @defgroup gpio_af_pq2_values GPIO_AF_PQ2 Values
2043 * @brief GPIO PQ2 Alternate Functions Values
2044 * Package | Pin number |
2045 * ----------- | -------------- |
2046 * TQFP-128 | 11 |
2047 * NFBGA-212 | H4 |
2048@{*/
2049/** 16- and 32-bit Timer 7 capture, compare, or PWM 0 */
2050#define GPIO_AF_PQ2_T7CCP0 GPIO_AF3
2051/** SSI Module 3 bidirectional data pin 0 */
2052#define GPIO_AF_PQ2_SSI3XDAT0 GPIO_AF14
2053/** EPI module 0 signal 22 */
2054#define GPIO_AF_PQ2_EPI0S22 GPIO_AF15
2055/**@}*/
2056
2057/** @defgroup gpio_af_pq3_values GPIO_AF_PQ3 Values
2058 * @brief GPIO PQ3 Alternate Functions Values
2059 * Package | Pin number |
2060 * ----------- | -------------- |
2061 * TQFP-128 | 27 |
2062 * NFBGA-212 | M4 |
2063@{*/
2064/** 16- and 32-bit Timer 7 capture, compare, or PWM 1 */
2065#define GPIO_AF_PQ3_T7CCP1 GPIO_AF3
2066/** SSI Module 3 bidirectional data pin 1 */
2067#define GPIO_AF_PQ3_SSI3XDAT1 GPIO_AF14
2068/** EPI module 0 signal 23 */
2069#define GPIO_AF_PQ3_EPI0S23 GPIO_AF15
2070/**@}*/
2071
2072/** @defgroup gpio_af_pq4_values GPIO_AF_PQ4 Values
2073 * @brief GPIO PQ4 Alternate Functions Values
2074 * Package | Pin number |
2075 * ----------- | -------------- |
2076 * TQFP-128 | 102 |
2077 * NFBGA-212 | A13 |
2078@{*/
2079/** UART module 1 receive */
2080#define GPIO_AF_PQ4_U1RX GPIO_AF1
2081/** Divided reference clock output */
2082#define GPIO_AF_PQ4_DIVSCLK GPIO_AF7
2083/**@}*/
2084
2085/** @defgroup gpio_af_pq5_values GPIO_AF_PQ5 Values
2086 * @brief GPIO PQ5 Alternate Functions Values
2087 * Package | Pin number |
2088 * ----------- | -------------- |
2089 * TQFP-128 | Not available |
2090 * NFBGA-212 | W12 |
2091@{*/
2092/** UART module 1 transmit */
2093#define GPIO_AF_PQ5_U1TX GPIO_AF1
2094/** Ethernet 0 receive data 0 */
2095#define GPIO_AF_PQ5_EN0RXD0 GPIO_AF14
2096/**@}*/
2097
2098/** @defgroup gpio_af_pq6_values GPIO_AF_PQ6 Values
2099 * @brief GPIO PQ6 Alternate Functions Values
2100 * Package | Pin number |
2101 * ----------- | -------------- |
2102 * TQFP-128 | Not available |
2103 * NFBGA-212 | U15 |
2104@{*/
2105/** UART module 1 data terminal ready modem status input signal */
2106#define GPIO_AF_PQ6_U1DTR GPIO_AF1
2107/** Ethernet 0 receive data 1 */
2108#define GPIO_AF_PQ6_EN0RXD1 GPIO_AF14
2109/**@}*/
2110
2111/** @defgroup gpio_af_pq7_values GPIO_AF_PQ7 Values
2112 * @brief GPIO PQ7 Alternate Functions Values
2113 * Package | Pin number |
2114 * ----------- | -------------- |
2115 * TQFP-128 | Not available |
2116 * NFBGA-212 | M3 |
2117@{*/
2118/** UART module 1 ring indicator modem status input signal */
2119#define GPIO_AF_PQ7_U1RI GPIO_AF1
2120/**@}*/
2121
2122/** @defgroup gpio_af_pr0_values GPIO_AF_PR0 Values
2123 * @brief GPIO PR0 Alternate Functions Values
2124 * Package | Pin number |
2125 * ----------- | -------------- |
2126 * TQFP-128 | Not available |
2127 * NFBGA-212 | N5 |
2128@{*/
2129/** UART module 4 transmit */
2130#define GPIO_AF_PR0_U4TX GPIO_AF1
2131/** I2C module 1 clock */
2132#define GPIO_AF_PR0_I2C1SCL GPIO_AF2
2133/** Motion control module 0 PWM 0 */
2134#define GPIO_AF_PR0_M0PWM0 GPIO_AF6
2135/** LCD pixel clock in raster mode */
2136#define GPIO_AF_PR0_LCDCP GPIO_AF15
2137/**@}*/
2138
2139/** @defgroup gpio_af_pr1_values GPIO_AF_PR1 Values
2140 * @brief GPIO PR1 Alternate Functions Values
2141 * Package | Pin number |
2142 * ----------- | -------------- |
2143 * TQFP-128 | Not available |
2144 * NFBGA-212 | N4 |
2145@{*/
2146/** UART module 4 receive */
2147#define GPIO_AF_PR1_U4RX GPIO_AF1
2148/** I2C module 1 data */
2149#define GPIO_AF_PR1_I2C1SDA GPIO_AF2
2150/** Motion control module 0 PWM 1 */
2151#define GPIO_AF_PR1_M0PWM1 GPIO_AF6
2152/** LCD frame clock or VSYNC in raster mode */
2153#define GPIO_AF_PR1_LCDFP GPIO_AF15
2154/**@}*/
2155
2156/** @defgroup gpio_af_pr2_values GPIO_AF_PR2 Values
2157 * @brief GPIO PR2 Alternate Functions Values
2158 * Package | Pin number |
2159 * ----------- | -------------- |
2160 * TQFP-128 | Not available |
2161 * NFBGA-212 | N2 |
2162@{*/
2163/** I2C module 2 clock */
2164#define GPIO_AF_PR2_I2C2SCL GPIO_AF2
2165/** Motion control module 0 PWM 2 */
2166#define GPIO_AF_PR2_M0PWM2 GPIO_AF6
2167/** LCD line clock or HSYNC in raster mode */
2168#define GPIO_AF_PR2_LCDLP GPIO_AF15
2169/**@}*/
2170
2171/** @defgroup gpio_af_pr3_values GPIO_AF_PR3 Values
2172 * @brief GPIO PR3 Alternate Functions Values
2173 * Package | Pin number |
2174 * ----------- | -------------- |
2175 * TQFP-128 | Not available |
2176 * NFBGA-212 | V8 |
2177@{*/
2178/** I2C module 2 data */
2179#define GPIO_AF_PR3_I2C2SDA GPIO_AF2
2180/** Motion control module 0 PWM 3 */
2181#define GPIO_AF_PR3_M0PWM3 GPIO_AF6
2182/** LCD data pin 3 input/output */
2183#define GPIO_AF_PR3_LCDDATA03 GPIO_AF15
2184/**@}*/
2185
2186/** @defgroup gpio_af_pr4_values GPIO_AF_PR4 Values
2187 * @brief GPIO PR4 Alternate Functions Values
2188 * Package | Pin number |
2189 * ----------- | -------------- |
2190 * TQFP-128 | Not available |
2191 * NFBGA-212 | P3 |
2192@{*/
2193/** I2C module 3 clock */
2194#define GPIO_AF_PR4_I2C3SCL GPIO_AF2
2195/** 16- and 32-bit Timer 0 capture, compare, or PWM 0 */
2196#define GPIO_AF_PR4_T0CCP0 GPIO_AF3
2197/** Motion control module 0 PWM 4 */
2198#define GPIO_AF_PR4_M0PWM4 GPIO_AF6
2199/** LCD data pin 0 input/output */
2200#define GPIO_AF_PR4_LCDDATA00 GPIO_AF15
2201/**@}*/
2202
2203/** @defgroup gpio_af_pr5_values GPIO_AF_PR5 Values
2204 * @brief GPIO PR5 Alternate Functions Values
2205 * Package | Pin number |
2206 * ----------- | -------------- |
2207 * TQFP-128 | Not available |
2208 * NFBGA-212 | P2 |
2209@{*/
2210/** UART module 1 receive */
2211#define GPIO_AF_PR5_U1RX GPIO_AF1
2212/** I2C module 3 data */
2213#define GPIO_AF_PR5_I2C3SDA GPIO_AF2
2214/** 16- and 32-bit Timer 0 capture, compare, or PWM 1 */
2215#define GPIO_AF_PR5_T0CCP1 GPIO_AF3
2216/** Motion control module 0 PWM 5 */
2217#define GPIO_AF_PR5_M0PWM5 GPIO_AF6
2218/** LCD data pin 1 input/output */
2219#define GPIO_AF_PR5_LCDDATA01 GPIO_AF15
2220/**@}*/
2221
2222/** @defgroup gpio_af_pr6_values GPIO_AF_PR6 Values
2223 * @brief GPIO PR6 Alternate Functions Values
2224 * Package | Pin number |
2225 * ----------- | -------------- |
2226 * TQFP-128 | Not available |
2227 * NFBGA-212 | W9 |
2228@{*/
2229/** UART module 1 transmit */
2230#define GPIO_AF_PR6_U1TX GPIO_AF1
2231/** I2C module 4 clock */
2232#define GPIO_AF_PR6_I2C4SCL GPIO_AF2
2233/** 16- and 32-bit Timer 1 capture, compare, or PWM 0 */
2234#define GPIO_AF_PR6_T1CCP0 GPIO_AF3
2235/** Motion control module 0 PWM 6 */
2236#define GPIO_AF_PR6_M0PWM6 GPIO_AF6
2237/** LCD data pin 4 input/output */
2238#define GPIO_AF_PR6_LCDDATA04 GPIO_AF15
2239/**@}*/
2240
2241/** @defgroup gpio_af_pr7_values GPIO_AF_PR7 Values
2242 * @brief GPIO PR7 Alternate Functions Values
2243 * Package | Pin number |
2244 * ----------- | -------------- |
2245 * TQFP-128 | Not available |
2246 * NFBGA-212 | R10 |
2247@{*/
2248/** I2C module 4 data */
2249#define GPIO_AF_PR7_I2C4SDA GPIO_AF2
2250/** 16- and 32-bit Timer 1 capture, compare, or PWM 1 */
2251#define GPIO_AF_PR7_T1CCP1 GPIO_AF3
2252/** Motion control module 0 PWM 7 */
2253#define GPIO_AF_PR7_M0PWM7 GPIO_AF6
2254/** Ethernet 0 transmit enable */
2255#define GPIO_AF_PR7_EN0TXEN GPIO_AF14
2256/** LCD data pin 5 input/output */
2257#define GPIO_AF_PR7_LCDDATA05 GPIO_AF15
2258/**@}*/
2259
2260/** @defgroup gpio_af_ps0_values GPIO_AF_PS0 Values
2261 * @brief GPIO PS0 Alternate Functions Values
2262 * Package | Pin number |
2263 * ----------- | -------------- |
2264 * TQFP-128 | Not available |
2265 * NFBGA-212 | D12 |
2266@{*/
2267/** 16- and 32-bit Timer 2 capture, compare, or PWM 0 */
2268#define GPIO_AF_PS0_T2CCP0 GPIO_AF3
2269/** Motion control module 0 PWM fault 0 */
2270#define GPIO_AF_PS0_M0FAULT0 GPIO_AF6
2271/** LCD data pin 20 output */
2272#define GPIO_AF_PS0_LCDDATA20 GPIO_AF15
2273/**@}*/
2274
2275/** @defgroup gpio_af_ps1_values GPIO_AF_PS1 Values
2276 * @brief GPIO PS1 Alternate Functions Values
2277 * Package | Pin number |
2278 * ----------- | -------------- |
2279 * TQFP-128 | Not available |
2280 * NFBGA-212 | D13 |
2281@{*/
2282/** 16- and 32-bit Timer 2 capture, compare, or PWM 1 */
2283#define GPIO_AF_PS1_T2CCP1 GPIO_AF3
2284/** Motion control module 0 PWM fault 1 */
2285#define GPIO_AF_PS1_M0FAULT1 GPIO_AF6
2286/** LCD data pin 21 output */
2287#define GPIO_AF_PS1_LCDDATA21 GPIO_AF15
2288/**@}*/
2289
2290/** @defgroup gpio_af_ps2_values GPIO_AF_PS2 Values
2291 * @brief GPIO PS2 Alternate Functions Values
2292 * Package | Pin number |
2293 * ----------- | -------------- |
2294 * TQFP-128 | Not available |
2295 * NFBGA-212 | B14 |
2296@{*/
2297/** UART module 1 data set ready modem output control line */
2298#define GPIO_AF_PS2_U1DSR GPIO_AF1
2299/** 16- and 32-bit Timer 3 capture, compare, or PWM 0 */
2300#define GPIO_AF_PS2_T3CCP0 GPIO_AF3
2301/** Motion control module 0 PWM fault 2 */
2302#define GPIO_AF_PS2_M0FAULT2 GPIO_AF6
2303/** LCD data pin 22 output */
2304#define GPIO_AF_PS2_LCDDATA22 GPIO_AF15
2305/**@}*/
2306
2307/** @defgroup gpio_af_ps3_values GPIO_AF_PS3 Values
2308 * @brief GPIO PS3 Alternate Functions Values
2309 * Package | Pin number |
2310 * ----------- | -------------- |
2311 * TQFP-128 | Not available |
2312 * NFBGA-212 | A14 |
2313@{*/
2314/** 16- and 32-bit Timer 3 capture, compare, or PWM 1 */
2315#define GPIO_AF_PS3_T3CCP1 GPIO_AF3
2316/** Motion control module 0 PWM fault 3 */
2317#define GPIO_AF_PS3_M0FAULT3 GPIO_AF6
2318/** LCD data pin 23 output */
2319#define GPIO_AF_PS3_LCDDATA23 GPIO_AF15
2320/**@}*/
2321
2322/** @defgroup gpio_af_ps4_values GPIO_AF_PS4 Values
2323 * @brief GPIO PS4 Alternate Functions Values
2324 * Package | Pin number |
2325 * ----------- | -------------- |
2326 * TQFP-128 | Not available |
2327 * NFBGA-212 | V9 |
2328@{*/
2329/** 16- and 32-bit Timer 4 capture, compare, or PWM 0 */
2330#define GPIO_AF_PS4_T4CCP0 GPIO_AF3
2331/** QEI module 0 phase A */
2332#define GPIO_AF_PS4_PHA0 GPIO_AF6
2333/** Ethernet 0 transmit data 0 */
2334#define GPIO_AF_PS4_EN0TXD0 GPIO_AF14
2335/** LCD data pin 6 input/output */
2336#define GPIO_AF_PS4_LCDDATA06 GPIO_AF15
2337/**@}*/
2338
2339/** @defgroup gpio_af_ps5_values GPIO_AF_PS5 Values
2340 * @brief GPIO PS5 Alternate Functions Values
2341 * Package | Pin number |
2342 * ----------- | -------------- |
2343 * TQFP-128 | Not available |
2344 * NFBGA-212 | T13 |
2345@{*/
2346/** 16- and 32-bit Timer 4 capture, compare, or PWM 1 */
2347#define GPIO_AF_PS5_T4CCP1 GPIO_AF3
2348/** QEI module 0 phase B */
2349#define GPIO_AF_PS5_PHB0 GPIO_AF6
2350/** Ethernet 0 transmit data 1 */
2351#define GPIO_AF_PS5_EN0TXD1 GPIO_AF14
2352/** LCD data pin 7 input/output */
2353#define GPIO_AF_PS5_LCDDATA07 GPIO_AF15
2354/**@}*/
2355
2356/** @defgroup gpio_af_ps6_values GPIO_AF_PS6 Values
2357 * @brief GPIO PS6 Alternate Functions Values
2358 * Package | Pin number |
2359 * ----------- | -------------- |
2360 * TQFP-128 | Not available |
2361 * NFBGA-212 | U10 |
2362@{*/
2363/** 16- and 32-bit Timer 5 capture, compare, or PWM 0 */
2364#define GPIO_AF_PS6_T5CCP0 GPIO_AF3
2365/** QEI module 0 index */
2366#define GPIO_AF_PS6_IDX0 GPIO_AF6
2367/** Ethernet 0 receive error */
2368#define GPIO_AF_PS6_EN0RXER GPIO_AF14
2369/** LCD data pin 8 input/output */
2370#define GPIO_AF_PS6_LCDDATA08 GPIO_AF15
2371/**@}*/
2372
2373/** @defgroup gpio_af_ps7_values GPIO_AF_PS7 Values
2374 * @brief GPIO PS7 Alternate Functions Values
2375 * Package | Pin number |
2376 * ----------- | -------------- |
2377 * TQFP-128 | Not available |
2378 * NFBGA-212 | R13 |
2379@{*/
2380/** 16- and 32-bit Timer 5 capture, compare, or PWM 1 */
2381#define GPIO_AF_PS7_T5CCP1 GPIO_AF3
2382/** Ethernet 0 receive data valid */
2383#define GPIO_AF_PS7_EN0RXDV GPIO_AF14
2384/** LCD data pin 9 input/output */
2385#define GPIO_AF_PS7_LCDDATA09 GPIO_AF15
2386/**@}*/
2387
2388/** @defgroup gpio_af_pt0_values GPIO_AF_PT0 Values
2389 * @brief GPIO PT0 Alternate Functions Values
2390 * Package | Pin number |
2391 * ----------- | -------------- |
2392 * TQFP-128 | Not available |
2393 * NFBGA-212 | W10 |
2394@{*/
2395/** 16- and 32-bit Timer 6 capture, compare, or PWM 0 */
2396#define GPIO_AF_PT0_T6CCP0 GPIO_AF3
2397/** CAN module 0 receive */
2398#define GPIO_AF_PT0_CAN0RX GPIO_AF7
2399/** Ethernet 0 receive data 0 */
2400#define GPIO_AF_PT0_EN0RXD0 GPIO_AF14
2401/** LCD data pin 10 input/output */
2402#define GPIO_AF_PT0_LCDDATA10 GPIO_AF15
2403/**@}*/
2404
2405/** @defgroup gpio_af_pt1_values GPIO_AF_PT1 Values
2406 * @brief GPIO PT1 Alternate Functions Values
2407 * Package | Pin number |
2408 * ----------- | -------------- |
2409 * TQFP-128 | Not available |
2410 * NFBGA-212 | V10 |
2411@{*/
2412/** 16- and 32-bit Timer 6 capture, compare, or PWM 1 */
2413#define GPIO_AF_PT1_T6CCP1 GPIO_AF3
2414/** CAN module 0 transmit */
2415#define GPIO_AF_PT1_CAN0TX GPIO_AF7
2416/** Ethernet 0 receive data 1 */
2417#define GPIO_AF_PT1_EN0RXD1 GPIO_AF14
2418/** LCD data pin 11 input/output */
2419#define GPIO_AF_PT1_LCDDATA11 GPIO_AF15
2420/**@}*/
2421
2422/** @defgroup gpio_af_pt2_values GPIO_AF_PT2 Values
2423 * @brief GPIO PT2 Alternate Functions Values
2424 * Package | Pin number |
2425 * ----------- | -------------- |
2426 * TQFP-128 | Not available |
2427 * NFBGA-212 | E18 |
2428@{*/
2429/** 16- and 32-bit Timer 7 capture, compare, or PWM 0 */
2430#define GPIO_AF_PT2_T7CCP0 GPIO_AF3
2431/** CAN module 1 receive */
2432#define GPIO_AF_PT2_CAN1RX GPIO_AF7
2433/** LCD data pin 18 output */
2434#define GPIO_AF_PT2_LCDDATA18 GPIO_AF15
2435/**@}*/
2436
2437/** @defgroup gpio_af_pt3_values GPIO_AF_PT3 Values
2438 * @brief GPIO PT3 Alternate Functions Values
2439 * Package | Pin number |
2440 * ----------- | -------------- |
2441 * TQFP-128 | Not available |
2442 * NFBGA-212 | F17 |
2443@{*/
2444/** 16- and 32-bit Timer 7 capture, compare, or PWM 1 */
2445#define GPIO_AF_PT3_T7CCP1 GPIO_AF3
2446/** CAN module 1 transmit */
2447#define GPIO_AF_PT3_CAN1TX GPIO_AF7
2448/** LCD data pin 19 output */
2449#define GPIO_AF_PT3_LCDDATA19 GPIO_AF15
2450/**@}*/
2451
2452/** @brief GPIO Mode Definitions */
2454 GPIO_MODE_OUTPUT, /**< Configure pin as output */
2455 GPIO_MODE_INPUT, /**< Configure pin as input */
2456 GPIO_MODE_ANALOG /**< Configure pin as analog function */
2458
2459/** @brief GPIO Pull-Up/Pull-Down Definitions */
2461 GPIO_PUPD_NONE, /**< Do not pull the pin high or low */
2462 GPIO_PUPD_PULLUP, /**< Pull the pin high */
2463 GPIO_PUPD_PULLDOWN, /**< Pull the pin low */
2464};
2465
2466/** @brief GPIO Output Type Definitions */
2468 GPIO_OTYPE_PP, /**< Push-pull configuration */
2469 GPIO_OTYPE_OD, /**< Open drain configuration */
2470};
2471
2472/** @brief GPIO Drive Strength Definitions */
2474 GPIO_DRIVE_2MA, /**< 2mA drive */
2475 GPIO_DRIVE_4MA, /**< 4mA drive */
2476 GPIO_DRIVE_6MA, /**< 6mA drive */
2477 GPIO_DRIVE_8MA, /**< 8mA drive */
2478 GPIO_DRIVE_10MA, /**< 10mA drive */
2479 GPIO_DRIVE_12MA /**< 12mA drive */
2481
2482/** @brief GPIO Slew Control Definitions */
2484 GPIO_SLEW_CTL_ENABLE, /**< Slew rate control enable */
2485 GPIO_SLEW_CTL_DISABLE /**< Slew rate control disable */
2487
2488/** @brief GPIO Trigger Level/Edge Definitions */
2490 GPIO_TRIG_LVL_LOW, /**< Level trigger, signal low */
2491 GPIO_TRIG_LVL_HIGH, /**< Level trigger, signal high */
2492 GPIO_TRIG_EDGE_FALL, /**< Falling edge trigger */
2493 GPIO_TRIG_EDGE_RISE, /**< Rising edge trigger */
2494 GPIO_TRIG_EDGE_BOTH /**< Both edges trigger */
2496
2498
2499void gpio_mode_setup(uint32_t gpioport, enum gpio_mode mode,
2500 enum gpio_pull_up_down pull_up_down, uint8_t gpios);
2501void gpio_set_output_options(uint32_t gpioport, enum gpio_output_type otype,
2502 enum gpio_drive_strength drive,
2503 enum gpio_slew_ctl slewctl,
2504 uint8_t gpios);
2505void gpio_set_af(uint32_t gpioport, uint8_t alt_func_num, uint8_t gpios);
2506void gpio_configure_trigger(uint32_t gpioport, enum gpio_trigger trigger,
2507 uint8_t gpios);
2508void gpio_set(uint32_t gpioport, uint8_t gpios);
2509void gpio_clear(uint32_t gpioport, uint8_t gpios);
2510uint8_t gpio_get(uint32_t gpioport, uint8_t gpios);
2511void gpio_toggle(uint32_t gpioport, uint8_t gpios);
2512uint8_t gpio_port_read(uint32_t gpioport);
2513void gpio_port_write(uint32_t gpioport, uint8_t data);
2514void gpio_enable_interrupts(uint32_t gpioport, uint8_t gpios);
2515void gpio_disable_interrupts(uint32_t gpioport, uint8_t gpios);
2516void gpio_unlock_commit(uint32_t gpioport, uint8_t gpios);
2517uint8_t gpio_is_interrupt_source(uint32_t gpioport, uint8_t gpios);
2518void gpio_clear_interrupt_flag(uint32_t gpioport, uint8_t gpios);
2519
2521
2522/**@}*/
2523
2524#endif /* MSP432E4_GPIO_H */
#define END_DECLS
Definition: common.h:34
#define BEGIN_DECLS
Definition: common.h:33
void gpio_unlock_commit(uint32_t gpioport, uint8_t gpios)
General Purpose Input/Outputs Unlock The Commit Control.
Definition: gpio.c:409
void gpio_set_af(uint32_t gpioport, uint8_t alt_func_num, uint8_t gpios)
General Purpose Input/Outputs Set Alternate Function Selection.
Definition: gpio.c:208
gpio_drive_strength
GPIO Drive Strength Definitions.
Definition: gpio.h:2473
void gpio_clear(uint32_t gpioport, uint8_t gpios)
General Purpose Input/Outputs Clear a Group of Pins Atomic.
Definition: gpio.c:306
void gpio_clear_interrupt_flag(uint32_t gpioport, uint8_t gpios)
General Purpose Input/Outputs Mark Interrupt as Serviced.
Definition: gpio.c:445
void gpio_port_write(uint32_t gpioport, uint8_t data)
General Purpose Input/Outputs Write to a Port.
Definition: gpio.c:360
gpio_mode
GPIO Mode Definitions.
Definition: gpio.h:2453
void gpio_enable_interrupts(uint32_t gpioport, uint8_t gpios)
General Purpose Input/Outputs Enable Interrupts on specified pins.
Definition: gpio.c:378
void gpio_configure_trigger(uint32_t gpioport, enum gpio_trigger trigger, uint8_t gpios)
General Purpose Input/Outputs Configure Interrupt Trigger.
Definition: gpio.c:253
uint8_t gpio_is_interrupt_source(uint32_t gpioport, uint8_t gpios)
General Purpose Input/Outputs Determine if interrupt is generated by the given pin.
Definition: gpio.c:430
void gpio_mode_setup(uint32_t gpioport, enum gpio_mode mode, enum gpio_pull_up_down pull_up_down, uint8_t gpios)
General Purpose Input/Outputs Set Pin Mode.
Definition: gpio.c:55
uint8_t gpio_port_read(uint32_t gpioport)
General Purpose Input/Outputs Read from a Port.
Definition: gpio.c:348
uint8_t gpio_get(uint32_t gpioport, uint8_t gpios)
General Purpose Input/Outputs Read a Group of Pins.
Definition: gpio.c:320
void gpio_disable_interrupts(uint32_t gpioport, uint8_t gpios)
General Purpose Input/Outputs Disable interrupts on specified pins.
Definition: gpio.c:393
gpio_pull_up_down
GPIO Pull-Up/Pull-Down Definitions.
Definition: gpio.h:2460
void gpio_toggle(uint32_t gpioport, uint8_t gpios)
General Purpose Input/Outputs Toggle a Group of Pins.
Definition: gpio.c:334
gpio_output_type
GPIO Output Type Definitions.
Definition: gpio.h:2467
void gpio_set(uint32_t gpioport, uint8_t gpios)
General Purpose Input/Outputs Set a Group of Pins Atomic.
Definition: gpio.c:293
gpio_trigger
GPIO Trigger Level/Edge Definitions.
Definition: gpio.h:2489
void gpio_set_output_options(uint32_t gpioport, enum gpio_output_type otype, enum gpio_drive_strength drive, enum gpio_slew_ctl slewctl, uint8_t gpios)
General Purpose Input/Outputs Set Output Options.
Definition: gpio.c:126
gpio_slew_ctl
GPIO Slew Control Definitions.
Definition: gpio.h:2483
@ GPIO_DRIVE_6MA
6mA drive
Definition: gpio.h:2476
@ GPIO_DRIVE_8MA
8mA drive
Definition: gpio.h:2477
@ GPIO_DRIVE_10MA
10mA drive
Definition: gpio.h:2478
@ GPIO_DRIVE_12MA
12mA drive
Definition: gpio.h:2479
@ GPIO_DRIVE_2MA
2mA drive
Definition: gpio.h:2474
@ GPIO_DRIVE_4MA
4mA drive
Definition: gpio.h:2475
@ GPIO_MODE_ANALOG
Configure pin as analog function.
Definition: gpio.h:2456
@ GPIO_MODE_INPUT
Configure pin as input.
Definition: gpio.h:2455
@ GPIO_MODE_OUTPUT
Configure pin as output.
Definition: gpio.h:2454
@ GPIO_PUPD_PULLUP
Pull the pin high.
Definition: gpio.h:2462
@ GPIO_PUPD_PULLDOWN
Pull the pin low.
Definition: gpio.h:2463
@ GPIO_PUPD_NONE
Do not pull the pin high or low.
Definition: gpio.h:2461
@ GPIO_OTYPE_OD
Open drain configuration.
Definition: gpio.h:2469
@ GPIO_OTYPE_PP
Push-pull configuration.
Definition: gpio.h:2468
@ GPIO_TRIG_EDGE_BOTH
Both edges trigger.
Definition: gpio.h:2494
@ GPIO_TRIG_EDGE_FALL
Falling edge trigger.
Definition: gpio.h:2492
@ GPIO_TRIG_LVL_LOW
Level trigger, signal low.
Definition: gpio.h:2490
@ GPIO_TRIG_LVL_HIGH
Level trigger, signal high.
Definition: gpio.h:2491
@ GPIO_TRIG_EDGE_RISE
Rising edge trigger.
Definition: gpio.h:2493
@ GPIO_SLEW_CTL_ENABLE
Slew rate control enable.
Definition: gpio.h:2484
@ GPIO_SLEW_CTL_DISABLE
Slew rate control disable.
Definition: gpio.h:2485