Struct kea_hal::adc::OnChipChannels[][src]

pub struct OnChipChannels { /* fields omitted */ }
Expand description

Holds On-Chip ADC Channel inputs and provides an interface to grab and return them.

Implementations

Request an instance of an on-chip Vss channel.

Return the instance of Vss

Try to grab an instance of the onchip TempSense channel.

Return the instance of TempSense

Try to grab an instance of the onchip Bandgap channel.

The bandgap reference is a fixed 1.16V (nom, Factory trimmed to +/- 0.02V at Vdd=5.0 at 125C) signal that is available to the ADC Module. It can be used as a voltage reference for the ACMP and as an Analog channel that can be used to (roughly) check the VDD voltage

Return the instance of Bandgap

Try to grab an instance of the onchip Voltage Reference High (VrefH) channel.

Return the instance of VrefH

Try to grab an instance of the onchip Voltage Reference Low (VrefL) channel.

Return the instance of VrefL

Grab a DummyDisable instance. Multiple Instances possible.

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

Performs the conversion.

Performs the conversion.

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.