EasyManuals Logo

Atmel AVR XMEGA AU series User Manual

Atmel AVR XMEGA AU series
512 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #159 background imageLoading...
Page #159 background image
159
8331B–AVR–03/12
Atmel AVR XMEGA AU
13.14 Register Descriptions – Port Configuration
13.14.1 MPCMASK – Multi-pin Configuration Mask register
• Bit 7:0 – MPCMASK[7:0]: Multi-pin Configuration Mask
The MPCMASK register enables configuration of several pins of a port at the same time. Writing
a one to bit n makes pin n part of the multi-pin configuration. When one or more bits in the MPC-
MASK register is set, writing any of the PINnCTRL registers will update only the PINnCTRL
registers matching the mask in the MPCMASK register for that port. The MPCMASK register is
automatically cleared after any PINnCTRL register is written.
13.14.2 VPCTRLA – Virtual Port-map Control register A
• Bit 7:4 – VP1MAP: Virtual Port 1 Mapping
These bits decide which ports should be mapped to Virtual Port 1. The registers DIR, OUT, IN,
and INTFLAGS will be mapped. Accessing the virtual port registers is equal to accessing the
actual port registers. See Table 13-7 for configuration.
• Bit 3:0 – VP0MAP: Virtual Port 0 Mapping
These bits decide which ports should be mapped to Virtual Port 0. The registers DIR, OUT, IN,
and INTFLAGS will be mapped. Accessing the virtual port registers is equal to accessing the
actual port registers. See Table 13-7 for configuration.
13.14.3 VPCTRLB – Virtual Port-map Control register B
• Bit 7:4 – VP3MAP: Virtual Port 3 Mapping
These bits decide which ports should be mapped to Virtual Port 3. The registers DIR, OUT, IN,
and INTFLAGS will be mapped. Accessing the virtual port registers is equal to accessing the
actual port registers. See Table 13-7 for configuration.
Bit 76543210
+0x00 MPCMASK[7:0] MPCMASK
Read/Write R/W R/W R/W R/W R/W R/W R/W R/W
Initial Value00000000
Bit 76543210
+0x02 VP1MAP[3:0] VP0MAP[3:0] VPCTRLA
Read/Write R/W R/W R/W R/W R/W R/W R/W R/W
Initial Value 0 0 0 0 0 0 0 0
Bit 76543210
+0x03 VP3MAP[3:0] VP2MAP[3:0] VPCTRLB
Read/Write R/W R/W R/W R/W R/W R/W R/W R/W
Initial Value00000000

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Atmel AVR XMEGA AU series and is the answer not in the manual?

Atmel AVR XMEGA AU series Specifications

General IconGeneral
BrandAtmel
ModelAVR XMEGA AU series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals