maple register: LED_SW_P_CTRL
Details
- Name
- LED_SW_P_CTRL
- Offset
- a01c
- Feature
- LED
- Port index range
- 0 - 27
- Portlist index
- 0
- Bit offset
- 32
Description
Set LED modes for a manually controlled switch port LED.
Each port LED that is configured for manual control (bit set in LED_P_EN_CTRL and LEDn_SW_P_EN_CTRL), can be turn off, on, or toggled at one of several rates. Set the LEDn field to one of the following value to enable the corresponding behaviour:
- 0: off
- 1: toggle every 32ms
- 2: toggle every 64ms
- 3: toggle every 128ms
- 4: toggle every 512ms
- 5: on
- 6: toggle every 256ms
- 7: toggle every 1024ms
Fields
Name | LSB | Bits | Description |
---|---|---|---|
RESERVED | 9 | 23 |
|
SW_P_LED2_MODE | 6 | 3 |
|
SW_P_LED1_MODE | 3 | 3 |
|
SW_P_LED0_MODE | 0 | 3 |
|