| 数据搜索系统,热门电子元器件搜索 |
|
KSZ9563RNXI 数据表(PDF) 193 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
KSZ9563RNXI 数据表(HTML) 193 Page - Microchip Technology |
|
193 / 226 page ![]() 2017-2018 Microchip Technology Inc. DS00002419D-page 193 KSZ9563R 5.3.6.2 MIB Counter Freeze and Flush Functions Counter freeze and flush functions are available on a port-by-port basis. Freezing or flushing counters is initiated by setting the appropriate bit in the Switch MIB Control Register. The freeze or flush function will be applied to all ports for which the flush and freeze functions have been enabled. To enable flush and freeze for a port, set bit 24 in the Port MIB Control and Status Register. The following steps show an example of how flush and freeze are used to collect MIB statistics for all ports for a period of 1 second: 1. Set the MIB Flush and Freeze Enable bit 24 in the Port MIB Control and Status Register for all ports N. 2. Write 0x40 to the Switch MIB Control Register to freeze the MIB counters for all enabled ports. 3. Write 0xC0 to the Switch MIB Control Register to clear the MIB counters for all enabled ports (while continuing to also freeze the counters). 4. At the beginning of the 1 second period, write 0x00 to the Switch MIB Control Register to enable the counters. 5. At the end of the 1 second period, write 0x40 to the Switch MIB Control Register to freeze the counters. 6. Read each counter for each port. 5.4 MDIO Manageable Device (MMD) Registers (Indirect) MMD registers provide indirect read/write access to up to 32 MMD device addresses with each device supporting up to 65,536 16-bit registers, as defined in Clause 22 of the IEEE 802.3 Specification. However, the KSZ9563R uses only a small fraction of the available registers. Refer to Table 5-7, "MMD Register Map" for a list of accessible MMD device addresses and their associated register addresses. Detailed descriptions of the supported MMD registers are provided in the following subsections. The following two standard port registers serve as the portal registers to access the indirect MMD registers. • PHY MMD Setup Register • PHY MMD Data Register Example: MMD Register Write Write MMD - Device Address 2h, Register 00h = 0010h to enable single-LED mode. 1. Write the PHY MMD Setup Register with 0002h // Set up register address for MMD – Device Address 2h. 2. Write the PHY MMD Data Register with 0000h // Select Register 00h of MMD – Device Address 2h. 3. Write the PHY MMD Setup Register with 4002h // Select register data for MMD – Device Address 2h, Reg. 00h. 4. Write the PHY MMD Data Register with 0010h // Write value 0010h to MMD – Device Address 2h, Reg. 00h. Example: MMD Register Read Read MMD - Device Address 2h, Register 11h – 13h for the LED mode status. 1. Write the PHY MMD Setup Register with 0002h // Set up register address for MMD – Device Address 2h. 2. Write the PHY MMD Data Register with 0000h // Select Register 00h of MMD – Device Address 2h. 3. Write the PHY MMD Setup Register with 4002h // Select register data for MMD – Device Address 2h, Reg. 00h. 4. Read the PHY MMD Data Register // Read data in MMD – Device Address 2h, Reg. 00h. TABLE 5-7: MMD REGISTER MAP Device Address (hex) Register Address (hex) Description 2h 00h MMD LED Mode Register 7h 3Ch MMD EEE Advertisement Register |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |