Go to the source code of this file.
Functions | |
void | ADC_PMSetSampleReadyAction (ADC_PMInterruptHandler action) |
Sets the action to be executed when the conversion is done. | |
void | ADC_PMUnsetSampleReadyAction (void) |
void | ADC_IRQHandler (void) |
Variables | |
_PRIVATE ADC_PMInterruptHandler | done_action = NULL |
Holds the handler that is executed when the conversion is done. | |
_PRIVATE u16 | prv_value = 0x0 |
Used to store the previous value of the conversion. | |
|
extern |
Definition at line 25 of file adc_pm_irq.c.
void ADC_PMSetSampleReadyAction | ( | ADC_PMInterruptHandler | action | ) |
Sets the action to be executed when the conversion is done.
action | The action to be executed when the conversion is done. |
Definition at line 13 of file adc_pm_irq.c.
void ADC_PMUnsetSampleReadyAction | ( | void | ) |
Definition at line 18 of file adc_pm_irq.c.
_PRIVATE ADC_PMInterruptHandler done_action = NULL |
Holds the handler that is executed when the conversion is done.
Definition at line 6 of file adc_pm_irq.c.
Used to store the previous value of the conversion.
Definition at line 9 of file adc_pm_irq.c.