English
Language : 

LAN9353 Datasheet, PDF (491/523 Pages) Microchip Technology – Interfaces at up to 200Mbps via Turbo MII
LAN9353
17.4.2 GENERAL PURPOSE I/O CONFIGURATION REGISTER (GPIO_CFG)
Offset:
1E0h
Size:
32 bits
This read/write register configures the GPIO input and output pins. The polarity of the GPIO pins is configured here as
well as the IEEE 1588 timestamping and clock compare event output properties. Refer to Section 15.5, "1588 GPIOs,"
on page 413 for additional 1588 information.
Bits
Description
31:24
1588 GPIO Channel Select 7-0 (GPIO_CH_SEL[7:0])
These bits select the 1588 channel to be output on the corresponding
GPIO[7:0]. Refer to Section 15.5, "1588 GPIOs," on page 413 for additional
information.
23:16
0: Sets 1588 channel A as the output for the corresponding GPIO pin
1: Sets 1588 channel B as the output for the corresponding GPIO pin
GPIO Interrupt/1588 Polarity 7-0 (GPIO_POL[7:0])
These bits set the interrupt input polarity and 1588 clock event output polarity
of the 8 GPIO pins. The configured level (high/low) will set the corresponding
GPIO_INT bit in the General Purpose I/O Interrupt Status and Enable Regis-
ter (GPIO_INT_STS_EN). 1588 clock events will be output active at the con-
figured level (high/low).
These bits also determine the polarity of the GPIO 1588 Timer Interrupt Clear
inputs. Refer to Section 15.5, "1588 GPIOs," on page 413 for additional infor-
mation.
0: Sets low logic level trigger on corresponding GPIO pin
1: Sets high logic level trigger on corresponding GPIO pin
15:8 1588 GPIO Output Enable 7-0 (1588_GPIO_OE[7:0])
These bits configure the 8 GPIO pins to output 1588 clock compare events.
0: Disables the output of 1588 clock compare events
1: Enables the output of 1588 clock compare events
Note:
These bits override the direction bits in the General Purpose I/O
Data & Direction Register (GPIO_DATA_DIR) register. However,
the GPIO Buffer Type 7-0 (GPIOBUF[7:0]) in the General Purpose
I/O Configuration Register (GPIO_CFG) is not overridden.
Type
R/W
R/W
R/W
Default
00h
00h
00h
 2015 Microchip Technology Inc.
DS00001925A-page 491