Atmel Software Framework

PortGroup Struct Reference

PortGroup hardware registers.

#include <port.h>

Data Fields

__IO PORT_CTRL_Type CTRL
 Offset: 0x24 (R/W 32) Control. More...
 
__IO PORT_DIR_Type DIR
 Offset: 0x00 (R/W 32) Data Direction. More...
 
__IO PORT_DIRCLR_Type DIRCLR
 Offset: 0x04 (R/W 32) Data Direction Clear. More...
 
__IO PORT_DIRSET_Type DIRSET
 Offset: 0x08 (R/W 32) Data Direction Set. More...
 
__IO PORT_DIRTGL_Type DIRTGL
 Offset: 0x0C (R/W 32) Data Direction Toggle. More...
 
__I PORT_IN_Type IN
 Offset: 0x20 (R/ 32) Data Input Value. More...
 
__IO PORT_OUT_Type OUT
 Offset: 0x10 (R/W 32) Data Output Value. More...
 
__IO PORT_OUTCLR_Type OUTCLR
 Offset: 0x14 (R/W 32) Data Output Value Clear. More...
 
__IO PORT_OUTSET_Type OUTSET
 Offset: 0x18 (R/W 32) Data Output Value Set. More...
 
__IO PORT_OUTTGL_Type OUTTGL
 Offset: 0x1C (R/W 32) Data Output Value Toggle. More...
 
__IO PORT_PINCFG_Type PINCFG [32]
 Offset: 0x40 (R/W 8) Pin Configuration n. More...
 
__IO PORT_PMUX_Type PMUX [16]
 Offset: 0x30 (R/W 8) Peripheral Multiplexing n. More...
 
RoReg8 Reserved1 [0x4]
 
RoReg8 Reserved2 [0x20]
 
__O PORT_WRCONFIG_Type WRCONFIG
 Offset: 0x28 ( /W 32) Write Configuration. More...
 

__IO PORT_CTRL_Type PortGroup::CTRL
__IO PORT_DIR_Type PortGroup::DIR

Offset: 0x00 (R/W 32) Data Direction.

__IO PORT_DIRCLR_Type PortGroup::DIRCLR

Offset: 0x04 (R/W 32) Data Direction Clear.

Referenced by _system_pinmux_config(), arch_ioport_set_pin_dir(), arch_ioport_set_port_dir(), and check_boot_mode().

__IO PORT_DIRSET_Type PortGroup::DIRSET

Offset: 0x08 (R/W 32) Data Direction Set.

Referenced by _system_pinmux_config(), arch_ioport_set_pin_dir(), and arch_ioport_set_port_dir().

__IO PORT_DIRTGL_Type PortGroup::DIRTGL

Offset: 0x0C (R/W 32) Data Direction Toggle.

__IO PORT_OUT_Type PortGroup::OUT

Offset: 0x10 (R/W 32) Data Output Value.

Referenced by port_group_get_output_level(), and port_pin_get_output_level().

__IO PORT_OUTTGL_Type PortGroup::OUTTGL
__IO PORT_PINCFG_Type PortGroup::PINCFG[32]
__IO PORT_PMUX_Type PortGroup::PMUX[16]

Offset: 0x30 (R/W 8) Peripheral Multiplexing n.

Referenced by system_pinmux_pin_get_mux_position().

RoReg8 PortGroup::Reserved1[0x4]
RoReg8 PortGroup::Reserved2[0x20]
__O PORT_WRCONFIG_Type PortGroup::WRCONFIG

Offset: 0x28 ( /W 32) Write Configuration.

Referenced by _system_pinmux_config(), and arch_ioport_set_port_mode().