Micrel, Inc.
KSZ8842-PMQL/PMBL
October 2007
106
M9999-100207-1.5
Static MAC Address Table
The KSZ8842-PMQL/PMBL supports both a static and a dynamic MAC address table. In response to a Destination
Address (DA) look up, The KSZ8842-PMQL/PMBL searches both tables to make a packet forwarding decision. In
response to a Source Address (SA) look up, only the dynamic table is searched for aging, migration and learning
purposes.
The static DA look up result takes precedence over the dynamic DA look up result. If there is a DA match in both
tables, the result from the static table is used. These entries in the static table will not be aged out by the KSZ8842-
PMQL/PMBL.
Bit
Default
R/W
Description
57 – 54
0000
RW
FID
Filter VLAN ID - identifies one of the 16 active VLANs.
53
0
R/W
Use FID
1 =specifies the use of FID+MAC for static table look ups
0 = specifies only the use of MAC for static table look ups
52
0
R/W
Override
1 = overrides the port setting “transmit enable=0” or “receive enable=0”
setting.
0 = specifies no override
51
0
R/W
Valid
1 = specifies that this entry is valid, the look up result will be used
0 = specifies that this entry is not valid
50 – 48
000
R/W
Forwarding ports
These 3 bits control the forwarding port(s):
000 ,no forward
001, forward to port 1
010, forward to port 2
100, forward to port 3
011, forward to port 1 and port 2
110, forward to port 2 and port 3
101, forward to port 1 and port 3
111, broadcasting (excluding the ingress port)
47 – 0
0
R/W
MAC address
48 bits MAC Address
Table 12. Static MAC Table Format (8 Entries)
Examples:
1. Static Address Table Read (read the second entry at indirect address offset 0x01)
Write to reg. IACR with 0x1001 (set indirect address and trigger a read static MAC table operation)
Then
Read reg. IADR3 (static MAC table bits 57-48)
Read reg. IADR2 (static MAC table bits 47-32)
Read reg. IADR5 (static MAC table bits 31-16)
Read reg. IADR4 (static MAC table bits 15-0)
2. Static Address Table Write (write the eighth entry at indirect address offset 0x07)
Write to reg. IADR3 (static MAC table bits 57-48)
Write to reg. IADR2 (static MAC table bits 47-32)
Write to reg. IADR5 (static MAC table bits 31-16)
Write to reg. IADR4 (static MAC table bits 15-0)
Write to reg. IACR with 0x0007 (set indirect address and trigger a write static MAC table operation)
相关PDF资料
PIC16LF873AT-I/SOG IC MCU FLASH 4KX14 28SOIC
PIC16LF819T-I/SOG IC MCU FLASH 2KX14 18SOIC
PIC16F724-I/PT IC PIC MCU FLASH 4KX14 44TQFP
DSPIC30F2010T-20I/SO IC DSPIC MCU/DSP 12K 28SOIC
PIC18F24J10-I/SP IC PIC MCU FLASH 8KX16 28-DIP
PIC18LF23K22-I/SO IC PIC MCU 8KB FLASH 28SOIC
PIC16F639-E/P IC MCU FLASH 2KX14 20DIP
PIC12F635T-I/MF IC MCU FLASH 1KX14 8DFN
相关代理商/技术参数
PIC18F23K20-E/ML 功能描述:8位微控制器 -MCU 8 KB Enh Flash 768 RAM 25 I/O Pb Free RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F23K20-E/MV 功能描述:8位微控制器 -MCU 8KB Flash 768B RAM Enhanced Flash RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F23K20-E/SO 功能描述:8位微控制器 -MCU 8 KB Enh Flash 768 RAM 25 I/O Pb Free RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F23K20-E/SP 功能描述:8位微控制器 -MCU 8 KB Enh Flash 768 RAM 25 I/O Pb Free RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F23K20-E/SS 功能描述:8位微控制器 -MCU 8 KB Enh Flash 768 RAM 25 I/O Pb Free RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F23K20-I/ML 功能描述:8位微控制器 -MCU 8 KB Enh Flash 768 RAM 25 I/O Pb Free RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F23K20-I/MV 功能描述:8位微控制器 -MCU 8KB Flash 768B RAM Enhanced Flash RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F23K20-I/SO 功能描述:8位微控制器 -MCU 8 KB Enh Flash 768 RAM 25 I/O Pb Free RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT