longan register: LED_SET0_0_CTRL
Details
- Name
- LED_SET0_0_CTRL
- Offset
- cc28
- Feature
- LED
Description
LED set 0 control register (LED 0 and 1)
default: 0x0a20_0b80
The large behavior selection field allows for bit flags, matching different link speeds and link states. Bits 0-8 form a mask that select the link speeds at which the behavior is activated.
BIT(0): 10G link speed
BIT(1): 5G link speed
BIT(2): two-pair 2G5? (to be determined)?
BIT(3): 2G5 link speed
BIT(4): two-pair 1G? (to be determined)?
BIT(5): 1000M link speed
BIT(6): 500M link speed
BIT(7): 100M link speed
BIT(8): 10M link speed
BIT(9): Link present (solid)
BIT(10): Link present (blinking)
BIT(11): Link activity (short blink)
BIT(12): Rx link activity (short blink)
BIT(13): Tx link activity (short blink)
BIT(14): Collision
BIT(15): Full duplex
Fields
Name | LSB | Bits | Description |
---|---|---|---|
SET0_LED1_SEL | 16 | 16 |
SET 0 - LED 1 See LED_SET0_0_CTRL for details on possible field values. |
SET0_LED0_SEL | 0 | 16 |
SET 0 - LED 0 See LED_SET0_0_CTRL for details on possible field values. |