https://suchprogramming.com/epoll-in-3-easy-steps/

https://www.quora.com/What-are-the-key-differences-between-edge-triggered-and-level-triggered-interrupts#

Pratik Gajbe, works at Larsen & Toubro Infotech (2018-present)
 
 

Edge triggered is like a revolver trigger . When the trigger of revolver is pulled a bullet is fired . So even if the trigger is not released from pulled position no bullets are fired . Edge triggered is concerned only from the signal going 0 to 1 or vice versa.

Now think of a machine gun . Once I pull the trigger , bullets would be fired till it comes to its original position .. this refers to level triggered

.

.

A better example is a smartphone keypad and a keyboard .

In a keypad if you press a key it would still display a single character no matter how many seconds you press it for . ( for e.g. if I press 6 for 5 seconds smartphone would still display 6 once ). This is edge triggered . We perform a particular action only if signal changes from 0 t0 1 or 1 to 0 . For e.g. if a signal is active high and edge triggered action would be performed only when it goes from 0 to 1

But in a keyboard if you press a key it would give a string of that character or number till you don't stop pressing the key. ( for e.g. 666666....) this is level triggered . We perform the particular action till the signal is available . That is if a signal is active high task will be performed till its active high . That is only when it is 1 .

 
 
 
 
 
 

最新文章

  1. Team Leader 你不再只是编码, 来炖一锅石头汤吧
  2. 安装Windows 10后PDF补丁丁等程序界面变得模糊的解决办法
  3. ERROR 1872 (HY000): Slave failed to initialize relay log info structure from the repository
  4. requests的安装与简单运用
  5. 测试秒杀新版本3.5 stieserver cms
  6. js大小写转换
  7. CSS 布局Float 【2】
  8. 版本管理神器git上手
  9. s7-300 第一讲
  10. AngularJS数据建模(转载)
  11. Go - Struct
  12. [PHP] sys_get_temp_dir()和tempnam()函数报错与环境变量的配置问题
  13. 我们是如何通过全球第一免费开源ERP Odoo做到项目100%交付
  14. liteos 从入门到放弃
  15. SpringMVC 请求全过程漫谈
  16. TensorFlow 运行模型--会话(Session)
  17. [转]ASP.NET MVC学习系列(二)-WebAPI请求 传参
  18. mysql 唯一索引UNIQUE使用方法详解
  19. 《第一本Docker书》
  20. 墨刀 vs Axure RP

热门文章

  1. openwrt配置strongswan对接hillstone ipsec的笔记
  2. 快速构建ceph可视化监控系统-转载
  3. 使用Cloudera Manager搭建HBase环境
  4. 在动态sql的使用where时,if标签判断中,如果实体类中的某一个属性是String类型,那么就可以这样来判断连接语句:
  5. arcgis api for js 出现跨域问题
  6. Python的安装以及编译器推荐
  7. Oracle字符串中包含数字、特殊符号的排序
  8. C# winform Panel 添加 滚动条
  9. ElasticSearch 初识ES
  10. (30)打鸡儿教你Vue.js