当前位置:网站首页>GPIO operation method of imx6ull
GPIO operation method of imx6ull
2022-06-22 17:45:00 【Proficient in embedded】
List of articles
Preface
This article will take you to learn how to operate imx6ull Of GPIO port , I'm sure you're interested in GPIO Now I will take you to learn how to operate imx6ull Of GPIO.
One 、CCM Clock Controller Module ( Clock control module )
Want to use GPIO The first step is to enable GPIO 了 ,CCM It is a clock controller. Under the chip manual, we can find its location as follows .
1. First navigate to the... Of the directory 18 Chapter
2. find CCM Clock tree
3. find GPIOn
4. find GPIOn Post view corresponding GPIO Group 
Two 、IOMUXC : IOMUX Controller,IO Multiplex controller
The second step is to set the pin to GPIO Pattern .
In chapter of the chip manual 32 Chapter can be found IOMUX Set the corresponding pin to GPIO Pattern 
3、 ... and 、GPIO: General-purpose input/output, Universal input and output port
The third step is to set GPIO Input or output mode
Find chapter of the chip manual 28 Chapter
find GPIO_GDIR This register is GPIO Direction register for , By setting this register GPIO Set to input or output mode .
Four 、 Read GPIO state
Find No 28 Chapter GPIO_PSR Register read the contents of this register to read GPIO The state of .
5、 ... and 、 Write GPIO state
Find No 28 Chapter GPIO_DR Register read this register and write the level you want to control into this pin to control GPIO Output level of .
summary
Specific operation GPIO Methods let's move on to the next article , This article mainly wants to let you know how to read the chip manual to control GPIO port .
边栏推荐
- 当线上线下的融合加速,当信息对接渠道的多样化,传统意义上的中心将没有必要
- Source code of live video system, hiding and Title Modification of the top title bar
- Seeing the big from the small: a simple example of domain modeling, understanding "domain driven".
- Which platform is safer to buy stocks on?
- 缺失值處理
- Some difficulties in making web pages
- Redis implements the correct posture of the delay queue
- Qt Notes - qmap Custom key
- 无心剑中文随感《探求真谛》
- 来厦门了!线上交流限额免费报名中
猜你喜欢

测试组的任务职责和测试的基本概念

How to do well in R & D efficiency measurement and index selection

Application description of DAP fact table processing summary function

Gridhome, a must-have static site generator for beginners

UI automation positioning edge -xpath actual combat

Hello Playwright:(7)模拟键盘和鼠标

诺亚财富拟登陆港交所:第一季度业绩大幅下滑,曾踩雷“承兴案”

Xshell 7(SSH远程终端工具) v7.0.0109 官方中文正式版(附文件+安装教程)

Team management | how to improve the thinking skills of technical leaders?

快速掌握 ASP.NET 身份认证框架 Identity - 用户注册
随机推荐
Fluentd is easy to get started. Combined with the rainbow plug-in market, log collection is faster
一文带你掌握Tcpdump命令的使用
Ad20/altium Designer - oil for manhole cover
Mybaits:常用数据库操作(东软的操作)
Cloud minimalist deployment svelte3 chat room
You call this crap high availability?
Blazor University (30) form - derived from inputbase
How to do well in R & D efficiency measurement and index selection
Hello Playwright:(7)模拟键盘和鼠标
C#-Linq源码解析之DefaultIfEmpty
STM32系列(HAL库)——F103C8T6硬件SPI点亮带字库OLED屏
Docker 之MySQL 重启,提示Error response from daemon: driver failed programming external connectivity on **
Application description of DAP fact table processing summary function
可能是全网最全的Matplotlib可视化教程
. NETCORE enables image scaling and cropping - based on imagesharp
Come to Xiamen! Online communication quota free registration
[fpga+pwm] design and implementation of phase shift trigger circuit for three-phase PWM rectifier based on FPGA
Scala equality
Simple integration of client go gin -update
基于.NetCore开发博客项目 StarBlog - (12) Razor页面动态编译