【ADSP-BF561 EZ-KIT Lite】LEDs and Push Buttons
来源:互联网 发布:px4源码nsh 编辑:程序博客网 时间:2024/05/22 14:46
The EZ-KIT Lite provides four push buttonsand sixteen LEDs for general-purpose IO.
Sixteen LEDs, labeled LED5 through LED20,are controlled by the processor’s programmable flags PF32 through PF47(equivalent to PPI0_D15-8 and PPI1_D15-8). These LEDs are accessed though theFLAG 2 registers. First, the direction must be configured to output by settingthe bits of the FIO2_DIR register to 1. Then the value of the LEDs are modifiedusing one of the FIO2_FLAG_D, FIO2_FLAG_C, FIO2_FLAG_S, or FIO2_FLAG_Tregisters.
The four general-purpose push buttons arelabeled SW6 through SW9. The buttons connect to the programmable flags PF8-5. Astatus of each individual button can be read through the FIO0_FLAG_D register.A switch is being pressed-on when the corresponding bit of the register reads1. When the switch is release, the bit reads 0. A connection between the pushbutton and PF input is established through the SW4 DIP switch. For informationon how to disconnect the switch from the programmable and use it for anotherobjective, see “Push Button Enable Switch (SW4)”.
Anexample program is included in the EZ-KIT installation directory to demonstratethe functionality of the LEDs and push buttons.
- 【ADSP-BF561 EZ-KIT Lite】LEDs and Push Buttons
- 【ADSP-BF561 EZ-KIT Lite】GENERAL DESCRIPTION
- 【ADSP-BF561 EZ-KIT Lite】DMA
- 【ADSP-BF561 EZ-KIT Lite】PROGRAMMABLE FLAGS(PFx)
- Learning ADSP-TS201系列--EZ-KIT Lite评估板硬件资源
- Using Push Buttons and Hyperlinks
- ADSP BF561 short-name (to be updating)
- Tool comand language for ADSP-BF561
- ADSP-BF561软件优化(1):开篇
- 基于ADSP-BF561的H.264视频编码器的实现
- ADSP-BF561软件优化(2):移植x264
- 在ADSP-BF561上使用x264(3):正确性验证
- 在ADSP-BF561上使用x264(4):打开cache
- 在ADSP-BF561上使用x264(4):确认热点
- 在ADSP-BF561上使用x264(6):get_ref
- 在ADSP-BF561上使用x264(7):x264_pixel_satd_8x4
- 在ADSP-BF561上使用x264(8):再看x264_pixel_satd_8x4
- 在ADSP-BF561上使用x264(9):mc_chroma
- 函数指针和指针函数
- 一个我自己拼凑的Base64编码/解码模块
- 项目管理 - 客户参与
- typedef 的用法
- reactos操作系统实现(36)
- 【ADSP-BF561 EZ-KIT Lite】LEDs and Push Buttons
- 第一篇文章
- 想跟我上床吗?
- 高效的RGB类型到整型的转换
- Subversion使用
- Linux的目录结构
- 我的作息时间表
- 国产的5个最好的杀毒软件下载
- java提取rar文档中的文本数据