Landtiger LPC1768 C BigLib 1
A self made, custom C library for the LandTiger board.
 
Loading...
Searching...
No Matches
adc_pm_types.h File Reference
#include "types.h"

Go to the source code of this file.

Typedefs

typedef void(* ADC_PMInterruptHandler) (u16 prv_value, u16 new_value)
 The type of the function that will be executed when a conversion is done.
 

Enumerations

enum  ADC_PMError { ADC_PM_ERR_OK = 0x0 , ADC_PM_RIT_UNINIT }
 
enum  ADC_PMConfig { ADC_PM_SAMPLE_WITH_RIT = 0x1 , ADC_PM_SAMPLE_MANUALLY = 0x2 }
 

Typedef Documentation

◆ ADC_PMInterruptHandler

typedef void(* ADC_PMInterruptHandler) (u16 prv_value, u16 new_value)

The type of the function that will be executed when a conversion is done.

Definition at line 17 of file adc_pm_types.h.

Enumeration Type Documentation

◆ ADC_PMConfig

Enumerator
ADC_PM_SAMPLE_WITH_RIT 
ADC_PM_SAMPLE_MANUALLY 

Definition at line 19 of file adc_pm_types.h.

20{
ADC_PMConfig
@ ADC_PM_SAMPLE_MANUALLY
@ ADC_PM_SAMPLE_WITH_RIT

◆ ADC_PMError

Enumerator
ADC_PM_ERR_OK 

No error occurred.

ADC_PM_RIT_UNINIT 

The ADC was initialized with the SAMPLE_WITH_RIT option, but the RIT peripheral was not initialized.

Definition at line 6 of file adc_pm_types.h.

7{
9 ADC_PM_ERR_OK = 0x0,
10
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.