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

GPIO port characteristics and hardware limitations. More...

#include <stdint.h>
#include "Pin.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  atmega328p
 Device-specific definitions for the ATmega328P.
namespace  atmega328p::gpio
 GPIO characteristics of the ATmega328P.
namespace  atmega328p::gpio::port
 Port widths and bit masks.

Typedefs

typedef pin::Port atmega328p::gpio::Port

Enumerations

enum  : uint8_t {
  atmega328p::gpio::port_count = 3 , atmega328p::gpio::has_internal_pullups = 1 , atmega328p::gpio::pullups_selectable_per_pin = 1 , atmega328p::gpio::has_global_pullup_disable = 1 ,
  atmega328p::gpio::ports_tristated_during_reset = 1 , atmega328p::gpio::has_digital_input_disable_adc0_to_adc5 = 1 , atmega328p::gpio::has_digital_input_disable_ain0_ain1 = 1 , atmega328p::gpio::has_adc6_adc7_digital_input_buffer = 0 ,
  atmega328p::gpio::pc6_requires_rstdisbl = 1 , atmega328p::gpio::pc6_is_reset_by_default = 1 , atmega328p::gpio::pb6_pb7_may_be_used_by_system_clock = 1
}
enum  : uint8_t {
  atmega328p::gpio::port::b_width = 8 , atmega328p::gpio::port::c_width = 7 , atmega328p::gpio::port::d_width = 8 , atmega328p::gpio::port::b_mask = 0xFF ,
  atmega328p::gpio::port::c_mask = 0x7F , atmega328p::gpio::port::d_mask = 0xFF
}

Detailed Description

GPIO port characteristics and hardware limitations.