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 .

 
 
 
 
 
 

https://suchprogramming.com/epoll-in-3-easy-steps/的更多相关文章

  1. 转载:10 Easy Steps to a Complete Understanding of SQL

    10 Easy Steps to a Complete Understanding of SQL 原文地址:http://tech.pro/tutorial/1555/10-easy-steps-to ...

  2. 10 Easy Steps to a Complete Understanding of SQL

    原文出处:http://tech.pro/tutorial/1555/10-easy-steps-to-a-complete-understanding-of-sql(已经失效,现在收集如下) Too ...

  3. 6 Easy Steps to Learn Naive Bayes Algorithm (with code in Python)

    6 Easy Steps to Learn Naive Bayes Algorithm (with code in Python) Introduction Here’s a situation yo ...

  4. Switching from Redhat Linux to Oracle Linux in about 5,000 easy steps

    Wayback When I remember being at Oracle Open World when Larry Ellison unveiled Oracle Enterprise Lin ...

  5. Easy steps to create a System Tray Application with C# z

    Hiding the C# application to the system tray is quiet straight forward. With a few line of codes in ...

  6. Creating a NuGet Package in 7 easy steps - Plus using NuGet to integrate ASP.NET MVC 3 into existing Web Forms applications

    UPDATE: Check out my follow up post where I remove the need for editing the Global.asax.cs and show ...

  7. leetcode easy problem set

     *勿以浮沙筑高台* 持续更新........     题目网址:https://leetcode.com/problemset/all/?difficulty=Easy 1. Two Sum [4m ...

  8. Easy way to change collation of all database objects in SQL Server

    This info is from: http://www.codeproject.com/Articles/302405/The-Easy-way-of-changing-Collation-of- ...

  9. HDU4565 So Easy! —— 共轭构造、二阶递推数列、矩阵快速幂

    题目链接:https://vjudge.net/problem/HDU-4565 So Easy! Time Limit: 2000/1000 MS (Java/Others)    Memory L ...

随机推荐

  1. Mybatis,返回Map的时候,将Map内的Key转换为驼峰的命名

    每次使用mybatis的时候,简单的连表查询,用Map接收的时候,都是像DB定义的字段一样,类似以下 student_name,student_id,没有转换为驼峰,但是又不能因为这一个定义一个jav ...

  2. Android自动化测试探索(二)常用自动化工具

    Android常用自动化工具 ADB - 是Google提供的为Android编写UI测试用例的自动化工具, Android开发/测试人员不可替代的强大工具 uiautomator - 是Google ...

  3. c# 日期和时间System.DateTime

  4. 【HICP Gauss】数据库 数据库管理(调优 启动流程)-4

    数据库参数: 创建数据库 调优数据库 其他---->控制资源使用 控制数据库内部机制 设置重要属性 参数数据保存在cfg/Zengine.ini 文件中 参数保存使用 key=value的保存形 ...

  5. jmeter性能测试监控

    Jmeter监控服务器资源配置如下: 1.进入https://jmeter-plugins.org/downloads/all/下载plugins-manager.jar,放置到jmeter安装目录/ ...

  6. Java精通并发-自旋对于synchronized关键字的底层意义与价值分析以及互斥锁属性详解与Monitor对象特性解说【纯理论】

    自旋对于synchronized关键字的底层意义与价值分析: 对于synchronized关键字的底层意义和价值分析,下面用纯理论的方式来对它进行阐述,自旋这个概念就会应运而生,还是很重要的,下面阐述 ...

  7. Ffmpeg常用转码命令

    H264视频转ts视频流 ffmpeg -i test.h264 -vcodec copy -f mpegts test.ts H264视频转mp4 ffmpeg -i test.h264 -vcod ...

  8. BOM常用属性与方法

    BOMBrowser Object Modelwindow浏览器窗口window方法locationlocation常用属性screen显示器屏幕screen常用属性navigator浏览器软件nav ...

  9. unsupervised learning: clustering介绍

    unsupervised learning 上面是监督学习与无监督学习的比较,监督学习的training set是一组带label(y)的训练集,而无监督学习不带有label(y). 上图中的监督学习 ...

  10. PAT1059Prime Factors

    1059 Prime Factors (25分)   Given any positive integer N, you are supposed to find all of its prime f ...