文件名称:easyarm1138GPIO

  • 所属分类:
  • 微处理器(ARM/PowerPC等)
  • 资源属性:
  • [C/C++] [源码]
  • 上传时间:
  • 2012-11-26
  • 文件大小:
  • 80kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • 曾**
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

是easyarm1138的通用输入输出口实例

例程是基于《Stellaris系列驱动库》编写的。



对LED和KEY的编程,采用封装好“驱动库”模式,只要在工程里添加LED和KEY的驱动程序,就能运用自如。



例如对LED的操作就很简单:

LED_Init(LED1) // 只初始化LED1,而对LED2和LED3所在的GPIO管脚无影响

LED_Init(LED1 | LED2 | LED3) // 同时初始化3只LED

LED_On(LED2 | LED3) // 同时点亮LED2和LED3,而LED1的状态保持不变



此外还有LED_Off()和LED_Toggle()两个操作函数,用法都是类似的。

-Is a common input and output easyarm1138 mouth routine is based on the examples of Stellaris Series driver library prepared. KEY on the LED and programming, using a good package, Treasury-driven model, as long as the engineering and KEY add LED driver can be with ease. For example, LED operation is very simple: LED_Init (LED1)// only initialize LED1, while LED2 and LED3 pin GPIO where no effect LED_Init (LED1 | LED2 | LED3)// At the same time initialization 3 LED LED_On (LED2 | LED3)// At the same time, lit LED2 and LED3, and LED1 status remains unchanged in addition to LED_Off () and LED_Toggle () function of the two operations, usage are similar.
相关搜索: Stellaris
驱动库

(系统自动生成,下载前可以参看下载内容)

下载文件列表

01 GPIO(通用输入输出)

.....................\1 两只LED交替闪烁

.....................\.................\TwoLED

.....................\.................\......\Debug

.....................\.................\......\Demo.dep

.....................\.................\......\Demo.ewd

.....................\.................\......\Demo.ewp

.....................\.................\......\Demo.eww

.....................\.................\......\LED.C

.....................\.................\......\LED.H

.....................\.................\......\main.c

.....................\.................\......\settings

.....................\.................\......\........\Demo.cspy.bat

.....................\.................\......\........\Demo.dbgdt

.....................\.................\......\........\Demo.dni

.....................\.................\......\........\Demo.wsdt

.....................\.................\......\startup_ewarm.c

.....................\.................\TwoLED.bin

.....................\.................\说明.txt

.....................\2 按键控制LED

.....................\.............\KEY_LED

.....................\.............\.......\Debug

.....................\.............\.......\Demo.dep

.....................\.............\.......\Demo.ewd

.....................\.............\.......\Demo.ewp

.....................\.............\.......\Demo.eww

.....................\.............\.......\KEY.C

.....................\.............\.......\KEY.H

.....................\.............\.......\LED.C

.....................\.............\.......\LED.H

.....................\.............\.......\main.c

.....................\.............\.......\settings

.....................\.............\.......\........\Demo.cspy.bat

.....................\.............\.......\........\Demo.dbgdt

.....................\.............\.......\........\Demo.dni

.....................\.............\.......\startup_ewarm.c

.....................\.............\KEY_LED.bin

.....................\.............\说明.txt

.....................\说明.txt

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org