Enum lpc11uxx::adc::cr::BURSTW

source ·
pub enum BURSTW {
    SOFTWARE_CONTROLLED,
    HARDWARE_SCAN,
}
Expand description

Values that can be written to the field BURST

Variants§

§

SOFTWARE_CONTROLLED

Software-controlled mode: Conversions are software-controlled and require 11 clocks.

§

HARDWARE_SCAN

Hardware scan mode: The AD converter does repeated conversions at the rate selected by the CLKS field, scanning (if necessary) through the pins selected by 1s in the SEL field. The first conversion after the start corresponds to the least-significant bit set to 1 in the SEL field, then the next higher bits (pins) set to 1 are scanned if applicable. Repeated conversions can be terminated by clearing this bit, but the conversion in progress when this bit is cleared will be completed. Important: START bits must be 000 when BURST = 1 or conversions will not start.

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.

Should always be Self
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.