您好,欢迎光临本网站![请登录][注册会员]  
文件名称: 01450A (1).pdf
  所属分类: 硬件开发
  开发工具:
  文件大小: 1mb
  下载次数: 0
  上传时间: 2019-10-11
  提 供 者: chsd*****
 详细说明: AN1450应用资料INTRODUCTION In this application note, a PIC10F322 is being used to implement a delay block/debouncer. The delay can be set between 2 µs and 193 µs. This can be used effectively as a noise discriminator, or for switch debouncing. When used as a delay block, the application can be used to fix low-level timing issues on sign als. When used as a debouncer, it can debounce signals from a mechanical switch so that a clean signal can feed other circuitry. The application makes use of the Configurable Logic Cell (CLC) peripheral to produce fast switching on the output (if desired). If the same application were written using port logic only, there would be multiple instruction cycles before the output would change in response to an input. Using the CLC the signal can be routed directly and only have propagation and gate delay between the input and output signals. In order to get the highest performance possible from the application, it has been written in assembly. The code has been written in-line (without subroutines) to maximize switching performance of the application. The code uses only 43 locations of program memory (512 available), and one byte of RAM. This application note was developed using a PIC10F322 demo board (part # AC103011). Language tool versions: MPASMWIN.exe v5.45, mplink.exe v4.43, mplib.exe v4.43. DELAY SETTINGS AND VALUES Delays can be set between 2 µs and 193 µs in 750 ns increments (using the 16 MHz internal clock). Delays can easily be made longer if desired, by reducing the clock speed or increasing the size of the delay loop. Enabling/disabling of delays is configured in the code by commenting/uncommenting the following lines of code: ;; 2 lines below enable rising and falling edge delays #define RISING_EDGE_DELAY #define FALLING_EDGE_DELAY
(系统自动生成,下载前可以参看下载内容)

下载文件列表

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.
 相关搜索:
 输入关键字,在本站1000多万海量源码库中尽情搜索: