Wiznet W7500 Reference Manual page 155

W7500 series
Hide thumbs Also See for W7500:
Table of Contents

Advertisement

MASKLOWBYTE is a data
array of 32-bit x 256
To update some of the bits in the upper eight bits of the GPIO port, users can use the
MASKHIGHBYTE array as Figure 16 below.
MASKHIGHBYTE is a data
array of 32-bit x 256
W7500x Reference Manual Version1.1.0
DATAOUT =
0x322B
MASK_LOWBYTE[0xC3] = 0x03
bit mask : 'b1100_0011(0xC3)
set bit[1:0] to 1
clear bit[7:6] to 0
DATAOUT =
0x32E8
Figure 15. MASK LOWBYTE access
DATAOUT = 0xA22B
MASK_LOWBYTE[0x98] = 0x8000
bit mask : 'b1001_1000(0x98)
set bit[12:11] to 0
clear bit[15] to 1
DATAOUT = 0x322B
Figure 16 MASK HIGHBYTE access
Upper byte masked
Address offset =
0x0400 + 0xC3*4 = 0x70C
lower byte masked
DATA /Control
Address offset =
0x0800 + 0x98*4 = 0xA60
Upper byte masked
lower byte masked
DATA /Control
Address
offset
access
register
0x0800
access
register
0x0400
register
0x0000
Address
offset
access
register
0x0800
access
register
0x0400
register
0x0000
155 / 399

Advertisement

Table of Contents
loading

This manual is also suitable for:

W7500p

Table of Contents