Skip to main content

Crate lm3630a

Crate lm3630a 

Source

Structs§

BoostConfig
Boost control register fields.
Brightness
Raw 8-bit brightness code.
Configuration
Configuration register writable fields.
ControlConfig
Control register writable fields.
ControlState
Control register readback state.
FaultStatus
Manufacturing fault status and test bits.
FullScaleCurrent
Full-scale LED current code. Code 0 is 5 mA, then each step adds 0.75 mA.
InterruptEnable
Interrupt enable register fields.
InterruptStatus
Interrupt status bits. Reading interrupt status clears the register in the device.
Lm3630a
LM3630A no_std embedded-hal driver.
OnOffRamp
Startup and shutdown ramp configuration.
PwmSamplerConfig
PWM sampler settings stored in Current A register bits 7 and 6.
RunRamp
Run-time ramp configuration.

Enums§

Address
LM3630A I2C address selected by the SEL pin.
Bank
Control bank selector.
BoostFrequency
Boost switching frequency.
FilterStrength
PWM sampler filter strength.
Led2Bank
LED2 control bank assignment.
Mapping
Brightness mapping mode.
OverCurrentProtection
Boost switch over-current limit.
OverVoltageProtection
Boost over-voltage protection threshold.
PwmPolarity
PWM input polarity.
RampTime
Three-bit ramp time code used by on/off and run ramp registers.
Register
LM3630A register addresses.