User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 1350
UG585 (v1.11) September 27, 2016
Appendix B: Register Details
Register MASK_DATA_0_LSW Details
This register enables software to change the value being output on up to 16bits at one time selectively. Only
data values with a corresponding deasserted mask bit will be changed. Output data values are unchanged
and hold their previous value for bits which are masked. This register avoids the need for a
read-modify-write sequence for unchanged bits.
NOTE: This register does not affect the enabling of the output driver. See the DIRM_0 and OEN_0 registers.
This register controls the output values for the lower 16bits of bank0, which corresponds to MIO[15:0].
Register (gpio) MASK_DATA_0_MSW
Register MASK_DATA_0_MSW Details
This register operates in exactly the same manner as MASK_DATA_0_LSW, except that it controls the
upper 16bits of bank0, which corresponds to MIO[31:16].
Access Type mixed
Reset Value x
Description Maskable Output Data (GPIO Bank0, MIO, Lower 16bits)
Field Name Bits Type Reset Value Description
MASK_0_LSW 31:16 wo 0x0 On a write, only bits with a corresponding
deasserted mask will change the output value.
0: pin value is updated
1: pin is masked
Each bit controls the corresponding pin within the
16-bit half-bank.
Reads return 0's.
DATA_0_LSW 15:0 rw x On a write, these are the data values for the
corresponding GPIO output bits. Each bit controls
the corresponding pin within the 16-bit half-bank.
Reads return the previous value written to this
register or DATA_0[15:0]. Reads do not return the
value on the GPIO pin.
Name MASK_DATA_0_MSW
Software Name DATA_MSW
Relative Address 0x00000004
Absolute Address 0xE000A004
Width 32 bits
Access Type mixed
Reset Value x
Description Maskable Output Data (GPIO Bank0, MIO, Upper 16bits)