1 /* 2 * Copyright (C) 2017-2019 Alibaba Group Holding Limited 3 */ 4 5 6 /****************************************************************************** 7 * @file pin_name.h 8 * @brief header file for the pin_name 9 * @version V1.0 10 * @date 02. June 2017 11 ******************************************************************************/ 12 #ifndef _PINNAMES_H 13 #define _PINNAMES_H 14 15 16 #ifdef __cplusplus 17 extern "C" { 18 #endif 19 20 21 typedef enum { 22 PA0 = 0, 23 PA1, 24 PA2, 25 PA3, 26 PA4, 27 PA5, 28 PA6, 29 PA7, 30 PAD_UART0_SIN, 31 PAD_UART0_SOUT 32 } 33 pin_name_e; 34 35 typedef enum { 36 PORTA = 0, 37 PORTB = 1, 38 PORTC = 2, 39 PORTD = 3, 40 PORTE = 4, 41 PORTF = 5, 42 PORTG = 6, 43 PORTH = 7 44 } port_name_e; 45 46 typedef enum { 47 NONE = 0 48 } pin_func_e; 49 50 #ifdef __cplusplus 51 } 52 #endif 53 54 #endif 55