Enum capsules::tsl2561::State [] [src]

enum State {
    Idle,
    SelectId,
    ReadingId,
    TakeMeasurementTurnOn,
    TakeMeasurementConfigMeasurement,
    TakeMeasurementReset1,
    TakeMeasurementReset2,
    ReadMeasurement1,
    ReadMeasurement2,
    ReadMeasurement3,
    GotMeasurement,
    Done,
}

Variants

Read the Id register.

Process of taking a light measurement.

Read the ADC registers.

Calculate light and call the callback with the value.

Disable I2C and release buffer

Trait Implementations

impl Clone for State
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for State
[src]

impl PartialEq for State
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.