开发工具:
文件大小: 17kb
下载次数: 0
上传时间: 2014-04-29
详细说明: 讲了F2812的一个GPIO的例子 // FILE: Example_281xGpio.c // // TITLE: DSP281x GPIO Loopback Test // // // This program requires the DSP281x V1.00 header files. // As supplied, this project is configured for "boot to H0" operation. // // To work properly this test requires hardware configuration described // below. // // In this test, 8 bits of a GPIO Port are configured as outputs // and 8 bits of the same port are configured as inputs. The pins // configured as outputs need t o be externally looped back to the // pins configured as inputs. The output data is read back on the // input pins. These tests are repeated for various qualifier // values and for GPIO ports A, B and F. // // Similar tests could be written for GPIO ports D, E and G. // Tests for ports A, D and F are called by separate functions // An external loopback has to be established before a testcase for // a given port is executed. // Refer to the .ebss space for global variables for test status // If PASS_flag = 0xDOBE then all tests have passed. // If PASS_flag = 0xDEAD then some tests have failed. // Tests are self validating. If a test passes, Test_status array // will have Test code 0x00xx. If this array has 0xDEAD, the test // has failed. ...展开收缩
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.