Crate max116xx_10bit

source ·
Expand description

Type-Safe API to use the MAX116xx 10-bit ADC devices

§Usage

You can create an initial ADC struct by using the Max116xx10Bit::max11618, Max116xx10Bit::max11619, Max116xx10Bit::max11620, Max116xx10Bit::max11621, Max116xx10Bit::max11624 and Max116xx10Bit::max11625 functions depending on which device you are using. This automatically sets the highest channel number accordingly.

The default structs use the externally clocked mode with an external voltage reference. You can modify the operation mode of the ADC by converting the default struct using the following functions

§Examples

You can find an example application here using a thin abstraction layer

Structs§

Enums§

Traits§