ATmega328p
Hardware definitions
Loading...
Searching...
No Matches
GPIO.h
Go to the documentation of this file.
1
5
6#ifndef ATMEGA328P_DEFINITIONS_GPIO_H
7#define ATMEGA328P_DEFINITIONS_GPIO_H
8
9#include <stdint.h>
10#include "Pin.h"
11
13namespace atmega328p
14{
49}
50
51#endif
Logical GPIO pin and port identifiers.
Port widths and bit masks.
Definition GPIO.h:37
@ d_mask
D mask.
Definition GPIO.h:45
@ b_mask
B mask.
Definition GPIO.h:43
@ c_width
C width.
Definition GPIO.h:41
@ b_width
B width.
Definition GPIO.h:40
@ d_width
D width.
Definition GPIO.h:42
@ c_mask
C mask.
Definition GPIO.h:44
GPIO characteristics of the ATmega328P.
Definition GPIO.h:17
pin::Port Port
Definition GPIO.h:33
@ pb6_pb7_may_be_used_by_system_clock
PB6 PB7 may be used by system clock.
Definition GPIO.h:30
@ has_digital_input_disable_adc0_to_adc5
Digital input disable adc0 to adc5 available.
Definition GPIO.h:25
@ pullups_selectable_per_pin
Pullups selectable per pin.
Definition GPIO.h:22
@ pc6_is_reset_by_default
PC6 is reset by default.
Definition GPIO.h:29
@ has_internal_pullups
Internal pullups available.
Definition GPIO.h:21
@ pc6_requires_rstdisbl
PC6 requires RSTDISBL.
Definition GPIO.h:28
@ has_global_pullup_disable
Global pullup disable available.
Definition GPIO.h:23
@ has_digital_input_disable_ain0_ain1
Digital input disable ain0 ain1 available.
Definition GPIO.h:26
@ port_count
Number of GPIO ports.
Definition GPIO.h:20
@ ports_tristated_during_reset
Ports tristated during reset.
Definition GPIO.h:24
@ has_adc6_adc7_digital_input_buffer
Adc6 adc7 digital input buffer available.
Definition GPIO.h:27
Port
GPIO port identifiers.
Definition Pin.h:20
Device-specific definitions for the ATmega328P.
Definition ADC.h:14