SC5010H
Definition of Registers and Bits (continued)
Fade Options Registers
This register is used to select the fade in and fade out related features.
Bit Field
0x09 [7]
0x09 [6]
0x09 [2:0]
Definition Read / Write Description
FADE_EN R/W
Enables the fading feature.
FADE_EN = 0: No Fading; Jumps directly to new PWM value.
FADE_EN = 1: Enables fading.
FADE_TYPE R/W
Selects the fading type.
FADE_TYPE = 0: Logarithmic Fading
FADE_TYPE = 1: Linear Fading
STEP_MUL
[2:0]
R/W
Used to speed up fade time, when selected LED PWM dimming frequency is low. Define a 2N
multiplier of the fade amount.
STEP_MUL[2:0] = 000, N=0, multiplier = 1
STEP_MUL[2:0] = 001, N=1, multiplier = 21 = 2
STEP_MUL[2:0] = 010, N=2, multiplier = 22 = 4
STEP_MUL[2:0] = 011, N=3, multiplier = 23 = 8
STEP_MUL[2:0] = 100, N=4, multiplier = 24 = 16
STEP_MUL[2:0] = 101~111, N=5, multiplier = 25 = 32
Fade Rate Register
This register is used to program the rate of the duty cycle change during the fade in and fade out operation.
Bit Field
0x0A [6:0]
Definition Read / Write Description
FADE_RATE
[6:0]
R/W
Defines how often the duty is changed during a fade.
Fade rate = PWM Output Rate / (1 + FADE_RATE[6:0])
33