Realtek switch SoC docs

cypress register: LED_GLB_CTRL

Details

Name
LED_GLB_CTRL
Offset
00e4
Feature
LED

Description

Miscellaneous GPIO and LED controls.

Fields

Name LSB Bits Description
RESERVED 26 6
LED_ACTIVE 25 1

Select active high or active low output. Defaults to 0.

BLINK_TIME_SEL 22 3
LED_CLK_DUTY_SEL 21 1
EXT_GPIO_EN 18 3
LED_LOAD_EN 17 1
SYS_LED_MODE 15 2

System LED mode: on (3), 1024ms blink interval (2), 64ms blink interval (1), or off (0).

SYS_LED_EN 14 1

Set to enable (mux in) the system LED peripheral, clear to disable and mux in GPIO A0.

STEP2_PWR_ON_LED 11 3
STEP1_PWR_ON_LED 8 3
PWR_ON_BLINK_SEL 6 2
LED_EN 5 1

Set to enable port LED output, clear to disable output

LED_MDC_DUTY_SEL 4 1
LED_NUM_SEL 2 2

Number of present LEDs per port

LED_IF_SEL 0 2

Port LED data mode. Can be shift register (serial) mode (0), single color scan mode (1), or bi-color scan mode (2).