Atmel Xplained Pro Evaluation Kit ATSAMD20-XPRO ATSAMD20-XPRO Hoja De Datos

Los códigos de productos
ATSAMD20-XPRO
Descargar
Página de 660
298
Atmel | SMART SAM D20 [DATASHEET]
Atmel-42129K–SAM-D20_datasheet–06/2014
21.8.8 Data Output Value Toggle
This register allows the user to toggle the drive level of one or more output I/O pins, without doing a read-modify-write 
operation. Changes in this register will also be reflected in the Data Output Value (OUT), Data Output Value Set 
(OUTSET) and Data Output Value Clear (OUTCLR) registers.
Name:
OUTTGL
Offset:
0x1C+x*0x80 [x=0..1]
Reset:
0x00000000
Property:
Write-Protected
z
Bits 31:0 – OUTTGL[31:0]: Port Data Output Value Toggle
0: The I/O pin output is driven low.
1: The I/O pin output is driven high.
Writing a zero to a bit has no effect.
Writing a one to a bit will toggle the corresponding bit in the OUT register, which inverts the output drive level for 
I/O pins configured as outputs via the Data Direction register (DIR). For pins configured as inputs via the Data 
Direction register (DIR) with pull enabled via the Pull Enable register (PULLEN), these bits will toggle the input pull 
direction.
Bit
31
30
29
28
27
26
25
24
OUTTGL[31:24]
Access
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset
0
0
0
0
0
0
0
0
Bit
23
22
21
20
19
18
17
16
OUTTGL[23:16]
Access
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset
0
0
0
0
0
0
0
0
Bit
15
14
13
12
11
10
9
8
OUTTGL[15:8]
Access
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset
0
0
0
0
0
0
0
0
Bit
7
6
5
4
3
2
1
0
OUTTGL[7:0]
Access
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Reset
0
0
0
0
0
0
0
0