Crate lp586x

Source
Expand description

Driver for the Texas Instruments LP586x LED matrix driver. Supports the LP5860, LP5861, LP5862, LP5864 and LP5868 subvariants.

Datasheet: https://www.ti.com/lit/ds/symlink/lp5864.pdf

Register map: https://www.ti.com/lit/ug/snvu786/snvu786.pdf

Modules§

interface

Structs§

ConfigBuilder
GlobalFaultState
Holds information about global faults
Lp586x
Generic driver for all LP586x variants.

Enums§

CurrentSettingLP5861T
Maximum current setting for LP5861T
CurrentSettingNonT
Maximum current setting
CurrentSettingT
Maximum current setting for T-devices
DataRefMode
Data refresh mode selection
DotGroup
Configurable group for each dot
DownDeghost
Downside deghosting level selection
Error
Error enum for the LP586x driver
Group
Fixed color groups for current sinks
LineBlankingTime
Line switch blanking time setting
PwmFrequency
Output PWM frequency setting
PwmScaleMode
Dimming scale setting of final PWM generator
UpDeghost
Scan line clamp voltage of upside deghosting

Constants§

T_CHIP_EN_US
Time to wait after enabling the chip (t_chip_en)

Traits§

DataModeMarker
Marker trait for configured data mode
DeviceVariant
Marker trait for a device variant.
PwmAccess
Trait for accessing PWM data in the correct data format.
ToRegisterValue