void ADC_PMGetSample(void)
Retrieves a single sample from the PM, and triggers the interrupt.
bool ADC_PMIsInitialized(void)
void ADC_PMUnsetSampleReadyAction(void)
ADC_PMError ADC_PMInit(u8 options, u8 clock_divider, u8 int_priority)
Initializes the 12bit ADC peripheral, which on this board is wired to the Potentiometer (PM)....
void ADC_PMSetSampleReadyAction(ADC_PMInterruptHandler action)
Sets the action to be executed when the conversion is done.
void(* ADC_PMInterruptHandler)(u16 prv_value, u16 new_value)
The type of the function that will be executed when a conversion is done.