pub struct Message { /* private fields */ }
Expand description

Each of the IS31FL3205 messages are defined by the Message struct. These provide an interface to the transferred data to modify or read registers of the IS31FL3205

Implementations

TODO: Add support for advanced features:

  • phase delay & clock phase
  • spread spectrum for EMI reduction techniques
  • open / short functionality and detection
  • temperature detection

Defines a power control message for initialising oscillator clock, pwm resolution and device enable / disable

Defines a pulse width modulation message for setting the illuminosity of a given channel For example, setting channel 0 to 0xFF will set it to the brightest value in 8bit mode The “Update” message must be sent to see the effect of modifications to the Pwm register

Update all PWM registers with the loaded values Must be called after setitng the Pulse Width Modulation register

Adjust the global current usage of the device, see manual for detail about current usage

Adjust individual LED current usage, see manual for detail about current usage

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.