#interrupts

NerdNextDoor :Blobhaj:mrmasterkeyboard
2025-03-22
2024-11-24

This article explains how #macOS handles #exceptions on #Apple Silicon (#arm64), transitions between #user - #kernel mode, dives into #syscalls, #interrupts, and fault handling details, and includes a breakdown with a visual Exception Handling Map. Enjoy!
karol-mazurek.medium.com/excep

Ihor Kalnytskyiihor@fosstodon.org
2023-10-24

If someone's interested in learning how #syscalls work on #Linux, I recommend to check out the overview below 👇

blog.packagecloud.io/the-defin

It's a fascinating read that goes over software #interrupts, #sysenter & #syscall CPU instructions, #vDSO and more. BEWARE, it's a one-hour read!

2022-02-01

Time And Accuracy in Las ATMegas

Do you ever have to ensure that an exact amount of time passes between two tasks in your microcontroller code? Do you know what's the difference between precision and accuracy? Today, [Jim Mack] tells us about pushing timers and interrupts to their limits when it comes to managing time, while keeping it applicable to an ever-popular ATMega328P target! Every now and then, someone decides to push the frontiers of what's possible on a given platform, and today's rules is coding within constraints of an Arduino environment. However, you should check [Jim]'s post out even if you use Arduino as a swearword - purely for all of the theoretical insights laid out, accompanied by hardware-accurate examples!

This will be useful to any hacker looking to implement, say, motor encoder readings, signal frequency calculations, or build a gadget processing or modifying audio in real time. To give you a sample of this article, [Jim] starts by introducing us to distinctions between precision and accuracy, and then presents us with a seemingly simple task - creating exactly 2400 interrupts a second. As much as it might look straightforward, problems quickly arise when clock crystal frequency doesn't cleanly divide by the sampling frequency that you have to pick for your application! This is just a taste of all the examples of hidden complexity presented, and they're accompanied with solutions you can use when you eventually encounter one of these examples in your hacker pursuits. In the end, [Jim] concludes with links to other sources you can study if you ever need to dig deeper into this topic.

Keeping our projects true to the passage of time can be an issue, and we've been at it for ages - calibrating your RC oscillator is a rite of passage for any ATTiny project. If you ever decide to have an interrupt peripheral help you with timing issues, we've gone in-depth on that topic in the past, with a three-part series describing the benefits, the drawbacks and the edgecases of interrupts. Going for a more modern target? Our piece on using interrupts with STM32 is a great path for trying out tools of the modern age.

#howto #microcontrollers #skills #softwaredevelopment #accuracy #atmega #atmega328p #clockcalibration #interrupts #precision #timers

image
2021-11-11

Operating System Development from Scratch - Let's use the hard disk in real mode - Part 6

Learn how does the hard disk works, how can we access it in real mode and how we can read sectors from it. doubleword.gq/~/Programming/op

2021-11-09

Operating System Development from Scratch - Interrupts - Part 5

Learn what interrupts are and the Interrupt Vector Table doubleword.gq/~/Programming/op

2021-06-18

hw #interrupts I can eliminate need for #polling entirely. #Multitasking os can exploit functionality provided by i, whilst hiding complexity of interrupt handling from user. #Spooling was one of the first forms of multitasking designed to exploit asynchronous I/O.

2020-02-21

Programming a NodeMCU with MicroPython: Timers and Interrupts diode.zone/videos/watch/e24522

Certificação Linuxcertificacaolinux
2019-03-06

Como o Linux Lida com o Hardware
Conheça a função dos arquivos /proc/pci, /proc/dma, /proc/interrupts e /proc/ioports

Para que tudo esteja funcionando corretamente, é necessário que os
dispositivos estejam alocando recursos do computador. Estes recursos podem ser
portas de entrada e saída, requisições de interrupção (IRQ) e acesso direto a
memó
certificacaolinux.com.br/como-
#/proc

Certificação Linuxcertificacaolinux
2019-03-06

Tratamento de IRQs no Linux
As Requisições de Interrupção (IRQ) são chamadas que os
dispositivos podem fazer para requerer atenção especial do processador. A
maioria dos computadores oferece apenas 16 interrupções de hardware. Pode
parecer pouco para as modernas configurações com os mais diferentes
dispositivos. Felizmente os IRQs podem ser compartilhados.

O mecanis
certificacaolinux.com.br/trata
#/proc/interrupts

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst