欢迎访问ic37.com |
会员登录 免费注册
发布采购

LAN9210 参数 Datasheet PDF下载

LAN9210图片预览
型号: LAN9210
PDF下载: 下载PDF文件 查看货源
内容描述: 外形小巧单芯片以太网控制器与HP Auto-MDIX的 [Small Form Factor Single- Chip Ethernet Controller with HP Auto-MDIX]
分类和应用: 控制器以太网
文件页数/大小: 458 页 / 4618 K
品牌: SMSC [ SMSC CORPORATION ]
 浏览型号LAN9210的Datasheet PDF文件第159页浏览型号LAN9210的Datasheet PDF文件第160页浏览型号LAN9210的Datasheet PDF文件第161页浏览型号LAN9210的Datasheet PDF文件第162页浏览型号LAN9210的Datasheet PDF文件第164页浏览型号LAN9210的Datasheet PDF文件第165页浏览型号LAN9210的Datasheet PDF文件第166页浏览型号LAN9210的Datasheet PDF文件第167页  
High Performance Two Port 10/100 Managed Ethernet Switch with 32-Bit Non-PCI CPU Interface  
Datasheet  
13.2.1  
GPIO IEEE 1588 Timestamping  
Two of the GPIO pins, GPIO[9:8], have the option to be used for IEEE 1588 time stamp functions. This  
allows a time stamp capture to be triggered when the GPIO is configured as an input, or output a signal  
from the GPIO based on an IEEE 1588 clock target compare event when configured as an output.  
Refer to Chapter 11, "IEEE 1588 Hardware Time Stamp Unit," on page 154 for additional information  
on the IEEE 1588 time stamping functions of the LAN9312.  
13.2.1.1  
IEEE 1588 GPIO Inputs  
When the GPIO[9:8] pins are configured as inputs, an active edge will capture the IEEE 1588 clock  
into the high and low 1588 capture registers (1588_CLOCK_HI_CAPTURE_GPIO_x, and  
1588_CLOCK_LO_CAPTURE_GPIO_x where “x” represents the number of the respective 1588  
enabled GPIO) and set the corresponding interrupt flags GPIO[9:8]_INT and 1588_GPIO[9:8]_INT in  
the General Purpose I/O Interrupt Status and Enable Register (GPIO_INT_STS_EN) and 1588  
Interrupt Status and Enable Register (1588_INT_STS_EN) respectively. The GPIO[9:8] inputs can also  
be configured to clear the Clock Target interrupt (1588_TIMER_INT) in the 1588 Interrupt Status and  
Enable  
Register  
(1588_INT_STS_EN)  
by  
setting  
the  
corresponding  
GPIO_1588_TIMER_INT_CLEAR_EN[9:8] bit in the General Purpose I/O Configuration Register  
(GPIO_CFG). GPIO inputs must be active for greater than 40nS to be recognized as capture or  
interrupt clear events.  
13.2.1.2  
IEEE 1588 GPIO Outputs  
The GPIO[9:8] pins can be configured as IEEE 1588 enabled outputs by setting the corresponding  
1588_GPIO_OE[9:8] bits in the General Purpose I/O Configuration Register (GPIO_CFG). These bits  
override the GPDIR[9:8] bits of the General Purpose I/O Data & Direction Register (GPIO_DATA_DIR)  
and allow for GPIO output generation based on the IEEE 1588 clock target compare event. Clock  
target compare events occur when the value loaded into the 1588 Clock Target High-DWORD Register  
(1588_CLOCK_TARGET_HI) and 1588 Clock Target Low-DWORD Register  
(1588_CLOCK_TARGET_LO) matches the current IEEE 1588 clock value in the 1588 Clock High-  
DWORD Register (1588_CLOCK_HI) and 1588 Clock Low-DWORD Register (1588_CLOCK_LO).  
Upon detection of a clock target compare event, GPIO[9:8] can be configured to output a 100nS pulse,  
toggle its output, or reflect the 1588_TIMER_INT bit in the 1588 Interrupt Status and Enable Register  
(1588_INT_STS_EN) by enabling the GPIO_EVENT_9 or GPIO_EVENT_8 bits of the 1588  
Configuration Register (1588_CONFIG). The clock event polarity, which determines whether the IEEE  
1588 GPIO output is active high or active low, is controlled via the GPIO_EVENT_POL_9 and  
GPIO_EVENT_POL_8 bits of the General Purpose I/O Configuration Register (GPIO_CFG).  
Note: The 1588_GPIO_OE[9:8] bits do not override the GPIO buffer type bits GPIOBUF[9:8] in the  
General Purpose I/O Configuration Register (GPIO_CFG).  
13.2.2  
GPIO Interrupts  
Each GPIO of the LAN9312 provides the ability to trigger a unique GPIO interrupt in the General  
Purpose I/O Interrupt Status and Enable Register (GPIO_INT_STS_EN). Reading the GPIO_INT[11:0]  
bits of this register provides the current status of the corresponding interrupt, and each interrupt is  
enabled by setting the corresponding GPIO_INT_EN[11:0] bit. The GPIO/LED Controller aggregates  
the enabled interrupt values into an internal signal which is sent to the System Interrupt Controller and  
is reflected via the Interrupt Status Register (INT_STS) bit 12 (GPIO). For more information on the  
LAN9312 interrupts, refer to Chapter 5, "System Interrupts," on page 49.  
13.2.2.1  
GPIO Interrupt Polarity  
The interrupt polarity can be set for each individual GPIO via the GPIO_INT_POL[11:0] bits in the  
General Purpose I/O Configuration Register (GPIO_CFG). When set, a high logic level on the GPIO  
pin will set the corresponding interrupt bit in the General Purpose I/O Interrupt Status and Enable  
Register (GPIO_INT_STS_EN). When cleared, a low logic level on the GPIO pin will set the  
corresponding interrupt bit. Because GPIO[9:8] have added IEEE 1588 functionality, the  
SMSC LAN9312  
163  
Revision 1.2 (04-08-08)  
DATASHEET