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

GPIO port widths, masks and pull-ups. More...

#include <stdint.h>
#include "Config.h"
Include dependency graph for GPIO.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::gpio
 Gpio definitions.
namespace  atmega2560::gpio::port
 Port definitions.

Enumerations

enum  : uint8_t {
  atmega2560::gpio::port_count = 11 , atmega2560::gpio::has_internal_pullups = 1 , atmega2560::gpio::pullups_selectable_per_pin = 1 , atmega2560::gpio::has_global_pullup_disable = 1 ,
  atmega2560::gpio::ports_tristated_during_reset = 1 , atmega2560::gpio::has_digital_input_disable_adc0_to_adc15 = 1
}
 GPIO capabilities. More...
enum  : uint8_t {
  atmega2560::gpio::port::a_width = 8 , atmega2560::gpio::port::b_width = 8 , atmega2560::gpio::port::c_width = 8 , atmega2560::gpio::port::d_width = 8 ,
  atmega2560::gpio::port::e_width = 8 , atmega2560::gpio::port::f_width = 8 , atmega2560::gpio::port::g_width = 6 , atmega2560::gpio::port::h_width = 8 ,
  atmega2560::gpio::port::j_width = 8 , atmega2560::gpio::port::k_width = 8 , atmega2560::gpio::port::l_width = 8 , atmega2560::gpio::port::a_mask = 0xFF ,
  atmega2560::gpio::port::b_mask = 0xFF , atmega2560::gpio::port::c_mask = 0xFF , atmega2560::gpio::port::d_mask = 0xFF , atmega2560::gpio::port::e_mask = 0xFF ,
  atmega2560::gpio::port::f_mask = 0xFF , atmega2560::gpio::port::g_mask = 0x3F , atmega2560::gpio::port::h_mask = 0xFF , atmega2560::gpio::port::j_mask = 0xFF ,
  atmega2560::gpio::port::k_mask = 0xFF , atmega2560::gpio::port::l_mask = 0xFF
}
 Widths and valid bit masks. More...

Detailed Description

GPIO port widths, masks and pull-ups.