ATmega328p
Hardware definitions
Loading...
Searching...
No Matches
Interrupts.h File Reference

Interrupt sources, vector numbers, and program addresses. More...

#include <stdint.h>
#include "Config.h"
Include dependency graph for Interrupts.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  atmega328p
 Device-specific definitions for the ATmega328P.
namespace  atmega328p::interrupts
 Interrupt vector table definitions.

Enumerations

enum class  atmega328p::interrupts::Source : uint8_t {
  atmega328p::interrupts::INT0 , atmega328p::interrupts::INT1 , atmega328p::interrupts::PCINT0 , atmega328p::interrupts::PCINT1 ,
  atmega328p::interrupts::PCINT2 , atmega328p::interrupts::Watchdog , atmega328p::interrupts::Timer2CompareA , atmega328p::interrupts::Timer2CompareB ,
  atmega328p::interrupts::Timer2Overflow , atmega328p::interrupts::Timer1Capture , atmega328p::interrupts::Timer1CompareA , atmega328p::interrupts::Timer1CompareB ,
  atmega328p::interrupts::Timer1Overflow , atmega328p::interrupts::Timer0CompareA , atmega328p::interrupts::Timer0CompareB , atmega328p::interrupts::Timer0Overflow ,
  atmega328p::interrupts::SPITransferComplete , atmega328p::interrupts::USARTReceiveComplete , atmega328p::interrupts::USARTDataRegisterEmpty , atmega328p::interrupts::USARTTransmitComplete ,
  atmega328p::interrupts::ADCConversionComplete , atmega328p::interrupts::EEPROMReady , atmega328p::interrupts::AnalogComparator , atmega328p::interrupts::TWI ,
  atmega328p::interrupts::SPMReady
}
 Interrupt sources supported by the device. More...
enum class  atmega328p::interrupts::Vector : uint8_t {
  atmega328p::interrupts::Reset = 1 , atmega328p::interrupts::INT0 = 2 , atmega328p::interrupts::INT1 = 3 , atmega328p::interrupts::PCINT0 = 4 ,
  atmega328p::interrupts::PCINT1 = 5 , atmega328p::interrupts::PCINT2 = 6 , atmega328p::interrupts::Watchdog = 7 , atmega328p::interrupts::Timer2CompareA = 8 ,
  atmega328p::interrupts::Timer2CompareB = 9 , atmega328p::interrupts::Timer2Overflow = 10 , atmega328p::interrupts::Timer1Capture = 11 , atmega328p::interrupts::Timer1CompareA = 12 ,
  atmega328p::interrupts::Timer1CompareB = 13 , atmega328p::interrupts::Timer1Overflow = 14 , atmega328p::interrupts::Timer0CompareA = 15 , atmega328p::interrupts::Timer0CompareB = 16 ,
  atmega328p::interrupts::Timer0Overflow = 17 , atmega328p::interrupts::SPITransferComplete = 18 , atmega328p::interrupts::USARTReceiveComplete = 19 , atmega328p::interrupts::USARTDataRegisterEmpty = 20 ,
  atmega328p::interrupts::USARTTransmitComplete = 21 , atmega328p::interrupts::ADCConversionComplete = 22 , atmega328p::interrupts::EEPROMReady = 23 , atmega328p::interrupts::AnalogComparator = 24 ,
  atmega328p::interrupts::TWI = 25 , atmega328p::interrupts::SPMReady = 26
}
 Vector slot numbers, including Reset. More...
enum class  atmega328p::interrupts::WordAddress : uint8_t {
  atmega328p::interrupts::Reset = 0x00 , atmega328p::interrupts::INT0 = 0x02 , atmega328p::interrupts::INT1 = 0x04 , atmega328p::interrupts::PCINT0 = 0x06 ,
  atmega328p::interrupts::PCINT1 = 0x08 , atmega328p::interrupts::PCINT2 = 0x0A , atmega328p::interrupts::Watchdog = 0x0C , atmega328p::interrupts::Timer2CompareA = 0x0E ,
  atmega328p::interrupts::Timer2CompareB = 0x10 , atmega328p::interrupts::Timer2Overflow = 0x12 , atmega328p::interrupts::Timer1Capture = 0x14 , atmega328p::interrupts::Timer1CompareA = 0x16 ,
  atmega328p::interrupts::Timer1CompareB = 0x18 , atmega328p::interrupts::Timer1Overflow = 0x1A , atmega328p::interrupts::Timer0CompareA = 0x1C , atmega328p::interrupts::Timer0CompareB = 0x1E ,
  atmega328p::interrupts::Timer0Overflow = 0x20 , atmega328p::interrupts::SPITransferComplete = 0x22 , atmega328p::interrupts::USARTReceiveComplete = 0x24 , atmega328p::interrupts::USARTDataRegisterEmpty = 0x26 ,
  atmega328p::interrupts::USARTTransmitComplete = 0x28 , atmega328p::interrupts::ADCConversionComplete = 0x2A , atmega328p::interrupts::EEPROMReady = 0x2C , atmega328p::interrupts::AnalogComparator = 0x2E ,
  atmega328p::interrupts::TWI = 0x30 , atmega328p::interrupts::SPMReady = 0x32
}
 Word addresses of the interrupt vectors. More...
enum  : uint8_t { atmega328p::interrupts::vector_count = 26 , atmega328p::interrupts::source_count = 25 , atmega328p::interrupts::vector_size_words = 2 , atmega328p::interrupts::vector_size_bytes = 4 }

Detailed Description

Interrupt sources, vector numbers, and program addresses.