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