Datasheet

2016-2017 Microchip Technology Inc. DS00002112B-page 47
KSZ8795CLX
4.0 DEVICE REGISTERS
The KSZ8795CLX device has a rich set of registers available to manage the functionality of the device. Access to these
registers is via the MIIM or SPI interfaces. Figure 4-1 provides a global picture of accessibility via the various interfaces
and addressing ranges from the perspective of each interface.
The registers within the linear 0x00-0xFF address space are all accessible via the SPI interface by a CPU attached to
that bus. The mapping of the various functions within that linear address space is summarized in Ta b l e 4-1.
FIGURE 4-1: INTERFACE AND REGISTER MAPPING
TABLE 4-1: MAPPING OF FUNCTIONAL AREAS WITHIN THE ADDRESS SPACE
Register
Locations
Device Area Description
0x00 - 0xFF Switch Control and Configuration Registers which control the overall functionality of the
Switch, MAC, and PHYs
0x6E - 0x6F Indirect Control Registers Registers used to indirectly address and access distinct
areas within the device.
- Management Information Base (MIB) Counters
- Static MAC Address Table
- Dynamic MAC Address Table
- VLAN Table
- PME Indirect Registers
- ACL Indirect Registers
- EEE Indirect Registers
0x70 - 0x78 Indirect Access Registers Registers used to indirectly address and access four
distinct areas within the device.
- Management Information Base (MIB) Counters
- Static MAC Address Table
- Dynamic MAC Address Table
- VLAN Table
0xA0 Indirect Byte Access Registers This indirect byte register is used to access:
- PME Indirect Registers
- ACL Indirect Registers
- EEE Indirect Registers
SWITCH CONFIG REGISTERS
00 0xFF
REGAD 0-5, 1D, 1F
MIIM REGISTERS
00h - FFh
SPI
PHYAD 1, 2, 3, 4
17h - 4Fh
PHY BLOCK