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

Hardware resources, capabilities and device signature. More...

#include <stdint.h>
#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  atmega2560
 ATmega2560 hardware definitions.
namespace  atmega2560::device
 Device information.

Enumerations

enum  : uint8_t {
  atmega2560::device::programmable_io_line_count = 86 , atmega2560::device::gpio_line_count = 86 , atmega2560::device::gpio_line_count_default = 86 , atmega2560::device::timer_count = 6 ,
  atmega2560::device::pwm_channel_count = 16 , atmega2560::device::pwm_distinct_pin_count = 15 , atmega2560::device::adc_max_external_channel_count = 16 , atmega2560::device::adc_resolution_bits = 10 ,
  atmega2560::device::usart_count = 4 , atmega2560::device::spi_count = 1 , atmega2560::device::spi_capable_peripheral_count = 5 , atmega2560::device::twi_count = 1 ,
  atmega2560::device::external_interrupt_count = 8 , atmega2560::device::interrupt_vector_count = 57 , atmega2560::device::pin_change_source_count = 24
}
 Hardware resource counts. More...
enum  : uint8_t {
  atmega2560::device::has_gpio = 1 , atmega2560::device::has_adc = 1 , atmega2560::device::has_pwm = 1 , atmega2560::device::has_timer0 = 1 ,
  atmega2560::device::has_timer1 = 1 , atmega2560::device::has_timer2 = 1 , atmega2560::device::has_timer3 = 1 , atmega2560::device::has_timer4 = 1 ,
  atmega2560::device::has_timer5 = 1 , atmega2560::device::has_usart = 1 , atmega2560::device::has_spi = 1 , atmega2560::device::has_twi = 1 ,
  atmega2560::device::has_analog_comparator = 1 , atmega2560::device::has_watchdog = 1 , atmega2560::device::has_external_interrupts = 1 , atmega2560::device::has_pin_change_interrupts = 1 ,
  atmega2560::device::has_debugwire = 0 , atmega2560::device::has_jtag = 1 , atmega2560::device::has_external_memory_interface = 1 , atmega2560::device::has_self_programmable_flash = 1
}
 Peripheral availability flags. More...
enum  : uint16_t { atmega2560::device::signature_byte_0 = 0x1E , atmega2560::device::signature_byte_1 = 0x98 , atmega2560::device::signature_byte_2 = 0x01 , atmega2560::device::jtag_part_number = 0x9801 }
 Device signature and identification. More...

Detailed Description

Hardware resources, capabilities and device signature.