Landtiger LPC1768 C BigLib 1
A self made, custom C library for the LandTiger board.
 
Loading...
Searching...
No Matches
adc_pm_types.h
Go to the documentation of this file.
1#ifndef __ADC_PM_TYPES_H
2#define __ADC_PM_TYPES_H
3
4#include "types.h"
5
6typedef enum
7{
10
15
17typedef void (*ADC_PMInterruptHandler)(u16 prv_value, u16 new_value);
18
24
25#endif
_PRIVATE u16 prv_value
Used to store the previous value of the conversion.
Definition adc_pm_irq.c:9
void(* ADC_PMInterruptHandler)(u16 prv_value, u16 new_value)
The type of the function that will be executed when a conversion is done.
ADC_PMError
Definition adc_pm_types.h:7
@ ADC_PM_ERR_OK
No error occurred.
Definition adc_pm_types.h:9
@ ADC_PM_RIT_UNINIT
The ADC was initialized with the SAMPLE_WITH_RIT option, but the RIT peripheral was not initialized.
ADC_PMConfig
@ ADC_PM_SAMPLE_MANUALLY
@ ADC_PM_SAMPLE_WITH_RIT
uint16_t u16
Definition types.h:7