#avr Logs

Mar 16 2020

#avr Calendar

12:22 AM day__ is now known as day
03:46 AM skz81: markasoftware, may depends on which interrupt exactly
03:47 AM skz81: for instance, here I'm reading about PCINT0..23 of atmega328p
03:49 AM skz81: There are only 3 flags (PCINT0..7, 8..15, 16..23), and the DS states : "The flag is cleared when the interrupt routine is executed. "
03:49 AM skz81: rue_mohr, RETI does a SEI, unsure it knows what interrupt it served
03:56 AM skz81: Same for timer interrupts, as per DS : "OCF2B is cleared by hardware when executing the corresponding interrupt handling vector."
03:57 AM skz81: so it seems the general mecanism. BUT you can loose some event on PCINT for instance, if two pins triggers in a very short time, BEFORE the routine is called and flag cleared...
03:57 AM skz81: 2 pins of the same PORT$*