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

Device identity and peripheral counts. More...

#include "Config.h"
Include dependency graph for Device.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::device
 General ATmega328P device information.

Enumerations

enum  : unsigned char {
  atmega328p::device::programmable_io_line_count = 23 , atmega328p::device::gpio_line_count_with_pc6_as_reset = 22 , atmega328p::device::gpio_line_count_with_pc6_as_gpio = 23 , atmega328p::device::timer_count = 3 ,
  atmega328p::device::pwm_channel_count = 6 , atmega328p::device::adc_max_external_channel_count = 8 , atmega328p::device::adc_resolution_bits = 10 , atmega328p::device::usart_count = 1 ,
  atmega328p::device::spi_count = 1 , atmega328p::device::spi_capable_peripheral_count = 2 , atmega328p::device::twi_count = 1 , atmega328p::device::external_interrupt_count = 2 ,
  atmega328p::device::interrupt_vector_count = 26 , atmega328p::device::pin_change_source_count = 23
}
enum  : unsigned char {
  atmega328p::device::has_gpio = 1 , atmega328p::device::has_adc = 1 , atmega328p::device::has_pwm = 1 , atmega328p::device::has_timer0 = 1 ,
  atmega328p::device::has_timer1 = 1 , atmega328p::device::has_timer2 = 1 , atmega328p::device::has_usart = 1 , atmega328p::device::has_spi = 1 ,
  atmega328p::device::has_twi = 1 , atmega328p::device::has_analog_comparator = 1 , atmega328p::device::has_watchdog = 1 , atmega328p::device::has_external_interrupts = 1 ,
  atmega328p::device::has_pin_change_interrupts = 1 , atmega328p::device::has_debugwire = 1 , atmega328p::device::has_self_programmable_flash = 1
}
 Peripheral presence flags. More...
enum  : unsigned char { atmega328p::device::signature_byte_0 = 0x1E , atmega328p::device::signature_byte_1 = 0x95 , atmega328p::device::signature_byte_2 = 0x0F }

Detailed Description

Device identity and peripheral counts.