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 #154 background image
154
8331B–AVR–03/12
Atmel AVR XMEGA AU
• Bit 7:0 – DIRTGL[7:0]: Port Data Direction Toggle
This register can be used instead of a read-modify-write to toggle the direction of individual pins.
Writing a one to a bit will toggle the corresponding bit in the DIR register. Reading this register
will return the value of the DIR register.
13.13.5 OUT – Data Output Value
• Bit 7:0 – OUT[7:0]: Port Data Output value
This register sets the data output value for the individual pins of the port. If OUTn is written to
one, pin n is driven high. If OUTn is written to zero, pin n is driven low. For this setting to have
any effect, the pin direction must be set as output.
13.13.6 OUTSET – Data Output Value Set register
• Bit 7:0 – OUTSET[7:0]: Data Output Value Set
This register can be used instead of a read-modify-write to set the output value of individual pins
to one. Writing a one to a bit will set the corresponding bit in the OUT register. Reading this reg-
ister will return the value in the OUT register.
13.13.7 OUTCLR – Data Output Value Clear Register
• Bit 7:0 – OUTCLR[7:0]: Data Output Value Clear
This register can be used instead of a read-modify-write to set the output value of individual pins
to zero. Writing a one to a bit will clear the corresponding bit in the OUT register. Reading this
register will return the value in the OUT register.
Bit 76543210
+0x04 OUT[7:0] OUT
Read/Write R/W R/W R/W R/W R/W R/W R/W R/W
Initial Value00000000
Bit 76543210
+0x05 OUTSET[7:0] OUTSET
Read/Write R/W R/W R/W R/W R/W R/W R/W R/W
Initial Value00000000
Bit 76543210
+0x06 OUTCLR[7:0] OUTCLR
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

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