LPC43xx MCU PIN Name and GPIO PIN Name Table
//--------------------------------------------------------------------------------+
// LPC43xx Pin Names, All pins defined. |
// Package determines which are available. |
//-------+---------+----------------+----------------+------------+---------------+
// | LBGA256 | LQFP208 | TFBGA180 | LQFP144 | TFBGA100 |
//-------+---------+----------------+----------------+------------+---------------+
// GPIO1 | [15:0] | [15:0] | [15:0] | [15:0] | [15:0] |
// GPIO0 | [15:0] | [15:0] | [15:0] | [15:0] | [15:6][4:0] |
// GPIO3 | [15:0] | [15:0] | [15:0] | [15:0] | [7][5:3][1:0] |
// GPIO5 | [26:0] | [25:0] | [26:0] | [18][16:0] | [11:0] |
//-------+---------+----------------+----------------+------------+---------------+
// GPIO2 | [15:0] | [15:0] | [15:0] | [15:0] | |
// GPIO4 | [15:0] | [15:0] | [15:0] | [11] | |
//-------+---------+----------------+----------------+------------+---------------+
// GPIO6 | [30:0] | [30:20][5:0] | [30:28][26:25] | | |
// GPIO7 | [25:0] | [25:23][21:17] | [4:0] | | |
//-------+---------+----------------+----------------+------------+---------------+
// Total | 164 | 131 | 117 | 83 | 49 |
//-------+---------+----------------+----------------+------------+---------------+
//--------------------------------------------------------------------------------+
// LPC43xx Pin Names, All pins defined. |
// Package determines which are available. |
//-------+---------+----------------+----------------+------------+---------------+
// | LBGA256 | LQFP208 | TFBGA180 | LQFP144 | TFBGA100 |
//-------+---------+----------------+----------------+------------+---------------+
// GPIO0 | [15:0] | [15:0] | [15:0] | [15:0] | [15:6][4:0] |
// GPIO1 | [15:0] | [15:0] | [15:0] | [15:0] | [15:0] |
// GPIO2 | [15:0] | [15:0] | [15:0] | [15:0] | |
// GPIO3 | [15:0] | [15:0] | [15:0] | [15:0] | [7][5:3][1:0] |
// GPIO4 | [15:0] | [15:0] | [15:0] | [11] | |
// GPIO5 | [26:0] | [25:0] | [26:0] | [18][16:0] | [11:0] |
// GPIO6 | [30:0] | [30:20][5:0] | [30:28][26:25] | | |
// GPIO7 | [25:0] | [25:23][21:17] | [4:0] | | |
//-------+---------+----------------+----------------+------------+---------------+
// Total | 164 | 131 | 117 | 83 | 49 |
//-------+---------+----------------+----------------+------------+---------------+
/* GPIO number definitions (for convenience) */
#define GPIOPIN0 (1 << 0)
#define GPIOPIN1 (1 << 1)
#define GPIOPIN2 (1 << 2)
#define GPIOPIN3 (1 << 3)
#define GPIOPIN4 (1 << 4)
#define GPIOPIN5 (1 << 5)
#define GPIOPIN6 (1 << 6)
#define GPIOPIN7 (1 << 7)
#define GPIOPIN8 (1 << 8)
#define GPIOPIN9 (1 << 9)
#define GPIOPIN10 (1 << 10)
#define GPIOPIN11 (1 << 11)
#define GPIOPIN12 (1 << 12)
#define GPIOPIN13 (1 << 13)
#define GPIOPIN14 (1 << 14)
#define GPIOPIN15 (1 << 15)
#define GPIOPIN16 (1 << 16)
#define GPIOPIN17 (1 << 17)
#define GPIOPIN18 (1 << 18)
#define GPIOPIN19 (1 << 19)
#define GPIOPIN20 (1 << 20)
#define GPIOPIN21 (1 << 21)
#define GPIOPIN22 (1 << 22)
#define GPIOPIN23 (1 << 23)
#define GPIOPIN24 (1 << 24)
#define GPIOPIN25 (1 << 25)
#define GPIOPIN26 (1 << 26)
#define GPIOPIN27 (1 << 27)
#define GPIOPIN28 (1 << 28)
#define GPIOPIN29 (1 << 29)
#define GPIOPIN30 (1 << 30)
#define GPIOPIN31 (1 << 31)
//------------------------------------------------------------------------------
P0_0 GPIO0_0
P0_1 GPIO0_1
//------------------------------------------------------------------------------
P1_0 GPIO0_4
P1_1 GPIO0_8
P1_2 GPIO0_9
P1_3 GPIO0_10
P1_4 GPIO0_11
P1_5 GPIO1_8
P1_6 GPIO1_9
P1_7 GPIO1_0
P1_8 GPIO1_1
P1_9 GPIO1_2
P1_10 GPIO1_3
P1_11 GPIO1_4
P1_12 GPIO1_5
P1_13 GPIO1_6
P1_14 GPIO1_7
P1_15 GPIO0_2
P1_16 GPIO0_3
P1_17 GPIO0_12
P1_18 GPIO0_13
P1_20 GPIO0_15
//------------------------------------------------------------------------------
P2_0 GPIO5_0
P2_1 GPIO5_1
P2_2 GPIO5_2
P2_3 GPIO5_3
P2_4 GPIO5_4
P2_5 GPIO5_5
P2_6 GPIO5_6
P2_7 GPIO0_7
P2_8 GPIO5_7
P2_9 GPIO1_10
P2_10 GPIO0_14
P2_11 GPIO1_11
P2_12 GPIO1_12
P2_13 GPIO1_13
//------------------------------------------------------------------------------
P3_1 GPIO5_8
P3_2 GPIO5_9
P3_4 GPIO1_14
P3_5 GPIO1_15
P3_6 GPIO0_6
P3_7 GPIO5_10
P3_8 GPIO5_11
//------------------------------------------------------------------------------
P4_0 GPIO2_0
P4_1 GPIO2_1
P4_2 GPIO2_2
P4_3 GPIO2_3
P4_4 GPIO2_4
P4_5 GPIO2_5
P4_6 GPIO2_6
P4_8 GPIO5_12
P4_9 GPIO5_13
P4_10 GPIO5_14
//------------------------------------------------------------------------------
P5_0 GPIO2_9
P5_1 GPIO2_10
P5_2 GPIO2_11
P5_3 GPIO2_12
P5_4 GPIO2_13
P5_5 GPIO2_14
P5_6 GPIO2_15
P5_7 GPIO2_7
//------------------------------------------------------------------------------
P6_1 GPIO3_0
P6_2 GPIO3_1
P6_3 GPIO3_2
P6_4 GPIO3_3
P6_5 GPIO3_4
P6_6 GPIO0_5
P6_7 GPIO5_15
P6_8 GPIO5_16
P6_9 GPIO3_5
P6_10 GPIO3_6
P6_11 GPIO3_7
P6_12 GPIO2_8
//------------------------------------------------------------------------------
P7_0 GPIO3_8
P7_1 GPIO3_9
P7_2 GPIO3_10
P7_3 GPIO3_11
P7_4 GPIO3_12
P7_5 GPIO3_13
P7_6 GPIO3_14
P7_7 GPIO3_15
//------------------------------------------------------------------------------
P8_0 GPIO4_0
P8_1 GPIO4_1
P8_2 GPIO4_2
P8_3 GPIO4_3
P8_4 GPIO4_4
P8_5 GPIO4_5
P8_6 GPIO4_6
P8_7 GPIO4_7
//------------------------------------------------------------------------------
P9_0 GPIO4_12
P9_1 GPIO4_13
P9_2 GPIO4_14
P9_3 GPIO4_15
P9_4 GPIO5_17
P9_5 GPIO5_18
P9_6 GPIO4_11
//------------------------------------------------------------------------------
PA_1 GPIO4_8
PA_2 GPIO4_9
PA_3 GPIO4_10
PA_4 GPIO5_19
//------------------------------------------------------------------------------
PB_0 GPIO5_20
PB_1 GPIO5_21
PB_2 GPIO5_22
PB_3 GPIO5_23
PB_4 GPIO5_24
PB_5 GPIO5_25
PB_6 GPIO5_26
//------------------------------------------------------------------------------
PC_1 GPIO6_0
PC_2 GPIO6_1
PC_3 GPIO6_2
PC_4 GPIO6_3
PC_5 GPIO6_4
PC_6 GPIO6_5
PC_7 GPIO6_6
PC_8 GPIO6_7
PC_9 GPIO6_8
PC_10 GPIO6_9
PC_11 GPIO6_10
PC_12 GPIO6_11
PC_13 GPIO6_12
PC_14 GPIO6_13
//------------------------------------------------------------------------------
PD_0 GPIO6_14
PD_1 GPIO6_15
PD_2 GPIO6_16
PD_3 GPIO6_17
PD_4 GPIO6_18
PD_5 GPIO6_19
PD_6 GPIO6_20
PD_7 GPIO6_21
PD_8 GPIO6_22
PD_9 GPIO6_23
PD_10 GPIO6_24
PD_11 GPIO6_25
PD_12 GPIO6_26
PD_13 GPIO6_27
PD_14 GPIO6_28
PD_15 GPIO6_29
PD_16 GPIO6_30
//------------------------------------------------------------------------------
PE_0 GPIO7_0
PE_1 GPIO7_1
PE_2 GPIO7_2
PE_3 GPIO7_3
PE_4 GPIO7_4
PE_5 GPIO7_5
PE_7 GPIO7_7
PE_8 GPIO7_8
PE_9 GPIO7_9
PE_10 GPIO7_10
PE_11 GPIO7_11
PE_12 GPIO7_12
PE_13 GPIO7_13
PE_14 GPIO7_14
PE_15 GPIO7_15
//------------------------------------------------------------------------------
PF_1 GPIO7_16
PF_2 GPIO7_17
PF_3 GPIO7_18
PF_5 GPIO7_19
PF_6 GPIO7_20
PF_7 GPIO7_21
PF_8 GPIO7_22
PF_9 GPIO7_23
PF_10 GPIO7_24
PF_11 GPIO7_25
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
GPIO0_0 P0_0
GPIO0_1 P0_1
GPIO0_2 P1_15
GPIO0_3 P1_16
GPIO0_4 P1_0
GPIO0_5 P6_6
GPIO0_6 P3_6
GPIO0_7 P2_7
GPIO0_8 P1_1
GPIO0_9 P1_2
GPIO0_10 P1_3
GPIO0_11 P1_4
GPIO0_12 P1_17
GPIO0_13 P1_18
GPIO0_14 P2_10
GPIO0_15 P1_20
//------------------------------------------------------------------------------
GPIO1_0 P1_7
GPIO1_1 P1_8
GPIO1_2 P1_9
GPIO1_3 P1_10
GPIO1_4 P1_11
GPIO1_5 P1_12
GPIO1_6 P1_13
GPIO1_7 P1_14
GPIO1_8 P1_5
GPIO1_9 P1_6
GPIO1_10 P2_9
GPIO1_11 P2_11
GPIO1_12 P2_12
GPIO1_13 P2_13
GPIO1_14 P3_4
GPIO1_15 P3_5
//------------------------------------------------------------------------------
GPIO2_0 P4_0
GPIO2_1 P4_1
GPIO2_2 P4_2
GPIO2_3 P4_3
GPIO2_4 P4_4
GPIO2_5 P4_5
GPIO2_6 P4_6
GPIO2_7 P5_7
GPIO2_8 P6_12
GPIO2_9 P5_0
GPIO2_10 P5_1
GPIO2_11 P5_2
GPIO2_12 P5_3
GPIO2_13 P5_4
GPIO2_14 P5_5
GPIO2_15 P5_6
//------------------------------------------------------------------------------
GPIO3_0 P6_1
GPIO3_1 P6_2
GPIO3_2 P6_3
GPIO3_3 P6_4
GPIO3_4 P6_5
GPIO3_5 P6_9
GPIO3_6 P6_10
GPIO3_7 P6_11
GPIO3_8 P7_0
GPIO3_9 P7_1
GPIO3_10 P7_2
GPIO3_11 P7_3
GPIO3_12 P7_4
GPIO3_13 P7_5
GPIO3_14 P7_6
GPIO3_15 P7_7
//------------------------------------------------------------------------------
GPIO4_0 P8_0
GPIO4_1 P8_1
GPIO4_2 P8_2
GPIO4_3 P8_3
GPIO4_4 P8_4
GPIO4_5 P8_5
GPIO4_6 P8_6
GPIO4_7 P8_7
GPIO4_8 PA_1
GPIO4_9 PA_2
GPIO4_10 PA_3
GPIO4_11 P9_6
GPIO4_12 P9_0
GPIO4_13 P9_1
GPIO4_14 P9_2
GPIO4_15 P9_3
//------------------------------------------------------------------------------
GPIO5_0 P2_0
GPIO5_1 P2_1
GPIO5_2 P2_2
GPIO5_3 P2_3
GPIO5_4 P2_4
GPIO5_5 P2_5
GPIO5_6 P2_6
GPIO5_7 P2_8
GPIO5_8 P3_1
GPIO5_9 P3_2
GPIO5_10 P3_7
GPIO5_11 P3_8
GPIO5_12 P4_8
GPIO5_13 P4_9
GPIO5_14 P4_10
GPIO5_15 P6_7
GPIO5_16 P6_8
GPIO5_17 P9_4
GPIO5_18 P9_5
GPIO5_19 PA_4
GPIO5_20 PB_0
GPIO5_21 PB_1
GPIO5_22 PB_2
GPIO5_23 PB_3
GPIO5_24 PB_4
GPIO5_25 PB_5
GPIO5_26 PB_6
//------------------------------------------------------------------------------
GPIO6_0 PC_1
GPIO6_1 PC_2
GPIO6_2 PC_3
GPIO6_3 PC_4
GPIO6_4 PC_5
GPIO6_5 PC_6
GPIO6_6 PC_7
GPIO6_7 PC_8
GPIO6_8 PC_9
GPIO6_9 PC_10
GPIO6_10 PC_11
GPIO6_11 PC_12
GPIO6_12 PC_13
GPIO6_13 PC_14
GPIO6_14 PD_0
GPIO6_15 PD_1
GPIO6_16 PD_2
GPIO6_17 PD_3
GPIO6_18 PD_4
GPIO6_19 PD_5
GPIO6_20 PD_6
GPIO6_21 PD_7
GPIO6_22 PD_8
GPIO6_23 PD_9
GPIO6_24 PD_10
GPIO6_25 PD_11
GPIO6_26 PD_12
GPIO6_27 PD_13
GPIO6_28 PD_14
GPIO6_29 PD_15
GPIO6_30 PD_16
//------------------------------------------------------------------------------
GPIO7_0 PE_0
GPIO7_1 PE_1
GPIO7_2 PE_2
GPIO7_3 PE_3
GPIO7_4 PE_4
GPIO7_5 PE_5
GPIO7_6 PE_5
GPIO7_7 PE_7
GPIO7_8 PE_8
GPIO7_9 PE_9
GPIO7_10 PE_10
GPIO7_11 PE_11
GPIO7_12 PE_12
GPIO7_13 PE_13
GPIO7_14 PE_14
GPIO7_15 PE_15
GPIO7_16 PF_1
GPIO7_17 PF_2
GPIO7_18 PF_3
GPIO7_19 PF_5
GPIO7_20 PF_6
GPIO7_21 PF_7
GPIO7_22 PF_8
GPIO7_23 PF_9
GPIO7_24 PF_10
GPIO7_25 PF_11
//------------------------------------------------------------------------------
LPC43xx MCU PIN Name and GPIO PIN Name Table的更多相关文章
- I.MX6 KEY_ROW4 can't as GPIO pin
/********************************************************************** * I.MX6 KEY_ROW4 can't as GP ...
- ANSI X9.8标准 PIN xor PAN获取PIN BlOCK
ANSI X9.8标准 PIN xor PAN获取PIN BlOCK 之前看到几篇介绍,把ANSI说成16个字节,真心扯淡,各种误人子弟,真正的ANSI算法其实是8个字节,具体格式如下: (1) AN ...
- Win10 IoT C#开发 3 - GPIO Pin 控制发光二极管
Windows 10 IoT Core 是微软针对物联网市场的一个重要产品,与以往的Windows版本不同,是为物联网设备专门设计的,硬件也不仅仅限于x86架构,同时可以在ARM架构上运行. 上一篇文 ...
- cursor pin s和cursor pin s wait on x
1.cursor pin s是一个共享锁,一般情况下是因为发生在SQL短时间内大量执行 案例:在生产库中,突然出现大量的cursor pin s的等待,询问是否有动作后,同事说有编译存储过程(被误导了 ...
- 【框架】SPI四种模式+通用设备驱动实现-源码
目录 前言 bsp_spi.c bsp_spi.h bsp_flash.c bsp_flash.h 前言 SPI 介绍为搜集百度资料+个人理解 其余为原创(有误请指正) 集四种模式于一身 demo 采 ...
- Linux内核中的GPIO系统之(3):pin controller driver代码分析
一.前言 对于一个嵌入式软件工程师,我们的软件模块经常和硬件打交道,pin control subsystem也不例外,被它驱动的硬件叫做pin controller(一般ARM soc的datash ...
- linux内核中的GPIO系统之(2):pin control subsystem
一.前言 在linux2.6内核上工作的嵌入式软件工程师在pin control上都会遇到这样的状况: (1)启动一个新的项目后,需要根据硬件平台的设定进行pin control相关的编码.例如:在b ...
- 痞子衡嵌入式:飞思卡尔Kinetis系列MCU启动那些事(3)- KBOOT配置(FOPT/BOOT Pin/BCA)
大家好,我是痞子衡,是正经搞技术的痞子.今天痞子衡给大家介绍的是飞思卡尔Kinetis系列MCU的KBOOT配置. KBOOT是支持配置功能的,配置功能可分为两方面:一.芯片系统的启动配置:二.KBO ...
- Linux内核中的GPIO系统之(3):pin controller driver代码分析--devm_kzalloc使用【转】
转自:http://www.wowotech.net/linux_kenrel/pin-controller-driver.html 一.前言 对于一个嵌入式软件工程师,我们的软件模块经常和硬件打交道 ...
随机推荐
- [机器学习&数据挖掘]SVM---核函数
1.核函数概述: 核函数通俗的来说是通过一个函数将向量的低维空间映射到一个高维空间,从而将低维空间的非线性问题转换为高维空间的线性问题来求解,从而再利用之前说的一系列线性支持向量机,常用的核函数如下: ...
- networkManger介绍
http://www.linuxidc.com/Linux/2013-08/88809.htm
- CodeForces Contest #1114: Round #538 (Div. 2)
比赛传送门:CF #1114. 比赛记录:点我. 又 FST 了. [A]Got Any Grapes? 题意简述: 有三个人,第一个人需要吃绿色葡萄至少 \(a\) 个,第二个人需要吃绿色和紫色葡萄 ...
- Linux DRM KMS 驱动简介【转】
转自:https://blog.csdn.net/yangkuanqaz85988/article/details/48689521 Whoops,上次写完<Linux DRM Graphic ...
- USB枚举过程【转】
转自:http://blog.csdn.net/myarrow/article/details/8270029 1. 枚举是什么? 枚举就是从设备读取一些信息,知道设备是什么样的设备,如 ...
- Java 把异常传递给控制台
最简答而又不用写多少代码就能保护异常信息的方法,就是把它们从main()传递到控制台,对于简单的程序可以像这样: package exceptions; //: exceptions/MainExce ...
- python tar.gz格式压缩、解压
一.压缩 需求描述 现在有一个目录,需要将此目录打包成tar.gz文件.因为有一个Django项目,需要用到此功能! tar.gz 目录结构如下: ./ ├── folder │ ├── .doc ...
- 为K8S集群建立只读权限帐号
参考URL: https://www.jianshu.com/p/a1a0d64f1245 https://mritd.me/2018/03/20/use-rbac-to-control-kubect ...
- CDM中添加Hive服务时Gateway是什么?
参考这里http://grokbase.com/t/cloudera/scm-users/12aayq5cyh/what-is-gateway-in-cloudera-manager 实际上Gatew ...
- tail -f 与 tail -F的区别
使用tail -f监控某个文件,将在另一个窗口将该文件删除后,然后再新创建,那么我们会发现tail -f的监制失效了.而使用tail -F会再次进行监控.