embassy-mcxa

Crates

git

Versions

mcx-a256

Flavors

Module adc

Module adc 

Source
Expand description

ADC driver

Structs§

Adc
ADC driver instance.
AnyAdcPin
A type-erased ADC pin
Async
Async mode.
Blocking
Blocking mode.
Command
A command that can be executed by the ADC
CommandConfig
Configuration for a conversion command
Config
Configuration for the LPADC peripheral.
Conversion
Result of an ADC conversion.
InterruptHandler
ADC interrupt handler.
Trigger
Configuration for a conversion trigger.

Enums§

CommandId
The ID for a command
Compare
Select the compare functionality of the ADC
CompareFunction
Type that specifies the function used for the compare featue of the ADC.
Error
ADC Error types
ReferenceVoltage
The reference voltage used by the ADC
TriggerPriorityPolicy
Trigger priority policy for ADC conversions.

Traits§

AdcPin
Trait implemented by any possible ADC pin
Instance
ADC Instance
Mode
Driver mode.