Expand description

Contains types related to ADC configuration

Structs

Configuration for the adc. There are some additional parameters on the adc peripheral that can be added here when needed but this covers several basic usecases.

Enums

Data register alignment

Clock config for the ADC Check the datasheet for the maximum speed the ADC supports

Continuous mode enable/disable

DMA mode

End-of-conversion interrupt enabled/disabled

Possible external triggers the ADC can listen to

Resolution to sample at

The number of cycles to sample a given channel for

Scan enable/disable

The place in the sequence a given channel should be captured

Possible trigger modes