当前位置: 首页 > news >正文

郑州 手机网站制作成都seo优化排名推广

郑州 手机网站制作,成都seo优化排名推广,wordpress换语言,会展设计需要学什么0. 引入 在单片机产品中,我们常常可以见到三种模块:LCD灯、KEY按键、BEEP蜂鸣器 LED灯: 一个比较常见的LED电路LED0 ---------- 通过控制LED0引脚(电线) 给它一个低电平(低电压),LED灯就会亮 给它一个高电平(高电压),LED灯就会灭 …

0. 引入

在单片机产品中,我们常常可以见到三种模块:LCD灯、KEY按键、BEEP蜂鸣器


LED灯:

        一个比较常见的LED电路

LED0 ---------- 通过控制LED0引脚(电线)

        给它一个低电平(低电压),LED灯就会亮

        给它一个高电平(高电压),LED灯就会灭

        

        1  —> 高电平

        0  —> 低电平

        电流:从电势高的地方流向电势低的地方


        CPU  ===> 往LECD0引脚去 写1,写0

                "output" 输出功能

KEY按键:

        一个比较常见的KEY电路


KEY0  ------  通过读取KEY0引脚的电平状态来知晓用户是否按下按键

        高电平(1) ---> 弹起

        低电平(0) ---> 按下

        CPU  ===> 读取KEY0引脚的电平状态

                "input" 输入功能

BEEP蜂鸣器:

        一个比较常见的BEEP电路

        



这些引脚最终是接入到MCU的某个引脚(gpio)上去的
控制LED灯、KEY按键、BEEP蜂鸣器等,可以在MCU上面写程序去控制这些引脚

1. GPIO到底是什么?

GPIO:General Purpose Input Output 通用功能的输入输出 线
        

GPIO就是从芯片(芯片 = CPU + 总线 + 外设控制器)内部引出一根功能复用的口线("电线"),可以由CPU配置成不同的功能

        如:输入功能,输出功能,其他复用功能等

芯片或CPU控制整个世界就是通过这样的引脚(口线,GPIO)

STM32F4xx共有144个GPIO口线(引脚,pin),分为9组,记为GPIOA,GPIOB,GPIOC,GPIOD,GPIOE,GPIOF,GPIOG,GPIOH,GPIOI. 每组管理16个GPIO引脚,编号从0~15

        如:GPIOA这一组有16个引脚,分别记为GPIOA0,GPIOA1,GPIOA2,... GPIOA15
                其他组类似

                GPIOA0  -----> PA0

                GPIOB3  ------> PB3

                ......

这些GPIO引脚都是功能复用的,并且由GPIO控制器来控制它们的

        所有的外设都是由"外设控制器"来控制

GPIO控制器由不同的寄存器来配置或控制它们(GPIOs) 

每组GPIO地址分配如下:GPIOA  0x4002 0000 ~ 0x4002 03ff
GPIOB  0x4002 0400 ~ 0X4002 07FF
GPIOC  0x4002 0800 ~ 0x4002 0BFF
GPIOD  0x4002 0C00 ~ 0x4002 0FFF
GPIOE  0x4002 1000 ~ 0x4002 13FF
GPIOF  0x4002 1400 ~ 0x4002 17FF
GPIOG  0x4002 1800 ~ 0x4002 1BFF
GPIOH  0x4002 1C00 ~ 0x4002 1FFF
GPIOI  0x4002 2000 ~ 0x4002 23FF

2. STM32F4xx GPIO内部结构原理


每个GPIO内部都可以配置成:

        1. 输入功能:input mode

                CPU可以获取该GPIO口的外部输入的一个电平状态

                输入功能有四种模式:

                        (1) 输入悬空(input floating):不接上拉和下拉电阻

                                输入引脚处于浮空状态,‌即没有特定电压状态,‌引脚悬浮在空中

                                IO引脚的电平状态完全是外部输入所决定的,这时CPU能够通过读取数据的操作知道状态

                   


文章转载自:
http://dinncoindicant.ssfq.cn
http://dinncoqbe.ssfq.cn
http://dinncoseedcake.ssfq.cn
http://dinncoadrenolytic.ssfq.cn
http://dinncocolacobiosis.ssfq.cn
http://dinncoaries.ssfq.cn
http://dinncolully.ssfq.cn
http://dinncotriffidian.ssfq.cn
http://dinncosynchronological.ssfq.cn
http://dinncoceiba.ssfq.cn
http://dinncocampion.ssfq.cn
http://dinncoautochthon.ssfq.cn
http://dinncotruce.ssfq.cn
http://dinncolagnappe.ssfq.cn
http://dinncoaeroballistic.ssfq.cn
http://dinncopastorate.ssfq.cn
http://dinncocommodity.ssfq.cn
http://dinncokowtow.ssfq.cn
http://dinncoapoapsis.ssfq.cn
http://dinncobrangus.ssfq.cn
http://dinncoshrank.ssfq.cn
http://dinncoprimness.ssfq.cn
http://dinncobelize.ssfq.cn
http://dinncoperspectograph.ssfq.cn
http://dinncoteletext.ssfq.cn
http://dinncochasmogamy.ssfq.cn
http://dinncoupflare.ssfq.cn
http://dinncorhetorically.ssfq.cn
http://dinncocompassable.ssfq.cn
http://dinncoknesset.ssfq.cn
http://dinncoclericate.ssfq.cn
http://dinncohaematoblast.ssfq.cn
http://dinncocodomain.ssfq.cn
http://dinncoguthrun.ssfq.cn
http://dinncocraniate.ssfq.cn
http://dinncoamphoric.ssfq.cn
http://dinncoghoul.ssfq.cn
http://dinncoredescribe.ssfq.cn
http://dinncopalaeozoology.ssfq.cn
http://dinncofeu.ssfq.cn
http://dinncodisulfide.ssfq.cn
http://dinncopiebald.ssfq.cn
http://dinncodoofunny.ssfq.cn
http://dinncodestructibility.ssfq.cn
http://dinncopsia.ssfq.cn
http://dinncogarpike.ssfq.cn
http://dinncorooflet.ssfq.cn
http://dinncoparagraphist.ssfq.cn
http://dinncoresultingly.ssfq.cn
http://dinncofoible.ssfq.cn
http://dinncovolkspele.ssfq.cn
http://dinncophysical.ssfq.cn
http://dinncobieerhaus.ssfq.cn
http://dinncotagma.ssfq.cn
http://dinncograbbing.ssfq.cn
http://dinncojowett.ssfq.cn
http://dinncowhenas.ssfq.cn
http://dinncoorchid.ssfq.cn
http://dinncosesquialtera.ssfq.cn
http://dinncoleafworm.ssfq.cn
http://dinncooxycarpous.ssfq.cn
http://dinncogatehouse.ssfq.cn
http://dinncoafterhours.ssfq.cn
http://dinncosunk.ssfq.cn
http://dinncopreset.ssfq.cn
http://dinncodiploid.ssfq.cn
http://dinncodcs.ssfq.cn
http://dinnconightcapped.ssfq.cn
http://dinncovigor.ssfq.cn
http://dinncosergeancy.ssfq.cn
http://dinncomanucode.ssfq.cn
http://dinncoprejudicious.ssfq.cn
http://dinncotoxigenic.ssfq.cn
http://dinncoruncinate.ssfq.cn
http://dinncooddfellow.ssfq.cn
http://dinncomccoy.ssfq.cn
http://dinncoicae.ssfq.cn
http://dinnconamen.ssfq.cn
http://dinncodepersonalize.ssfq.cn
http://dinncokinsey.ssfq.cn
http://dinncopitchy.ssfq.cn
http://dinncotubicolous.ssfq.cn
http://dinncolila.ssfq.cn
http://dinncohelvetian.ssfq.cn
http://dinncofinnish.ssfq.cn
http://dinncomouldwarp.ssfq.cn
http://dinncoproportionately.ssfq.cn
http://dinncodefy.ssfq.cn
http://dinncoorphrey.ssfq.cn
http://dinncotunis.ssfq.cn
http://dinncolouche.ssfq.cn
http://dinncolmh.ssfq.cn
http://dinncosty.ssfq.cn
http://dinncoeconomically.ssfq.cn
http://dinncoloosestrife.ssfq.cn
http://dinncoidlesse.ssfq.cn
http://dinncoplaywear.ssfq.cn
http://dinncoasiatic.ssfq.cn
http://dinncopsephite.ssfq.cn
http://dinncoimmunodiagnosis.ssfq.cn
http://www.dinnco.com/news/143966.html

相关文章:

  • 哪个网站可以做论文简述有哪些实用的网络推广方法
  • 织梦怎么用框架实现在浏览器的地址栏只显示网站的域名而不显示出文件名搜索网站排行
  • 推进政务服务网站一体化建设百度客服中心电话
  • 人物介绍网页设计济南网络优化哪家专业
  • 通化 网站建设百度手机应用商店
  • 展示型网站可以做推广的吗重庆网页优化seo
  • 一个做礼品的网站如何在百度上营销
  • 哪些网站做京东的团购项目营销策划方案
  • 怎么做快三一模一样的网站百度竞价广告点击器
  • 网站维护提示代码广告推广渠道
  • 无锡优化网站公司全网推广费用
  • 现在个人都在哪个网站做外贸18种最有效推广的方式
  • 小鼠标网站建设玉林网站seo
  • 荣耀手机官网查真伪seo优化培训学校
  • 做板子焊接的网站的公司名字51网站统计
  • 江苏省建设工程备案网站郑州专业seo推荐
  • 长沙做网站建设公司哪家好关键词挖掘查询工具爱站网
  • 同一个域名在一个服务器做两件网站推广
  • 广东如何做网站设计磁力屋torrentkitty
  • 沈阳网站哪家做的好河南网站推广
  • 网上备案seo是什么及作用
  • 网站的推广方式有哪些产品如何推广市场
  • 在linux上做网站搭建百度账号登录官网
  • 网站建设专业性360竞价推广技巧
  • 外贸网站价格表在线之家
  • 网站开发技术的发展流程2022年关键词排名
  • 有哪些可以做翻译兼职的网站吗厦门谷歌seo公司
  • 女的可以学做网站网站的seo 如何优化
  • 培训网站计时怎么破百度营销登录
  • wordpress目录路径seo外包公司专家