 |
TLE986x Device Family SDK
|
INLINE void SDADC_Ch1_Power_On(void)
enables ADC4 analog frontend.
Definition: sdadc.h:174
#define ADC34_CTRL_STS_ADC4_OFS_MEAS_EN_Msk
Definition: tle986x.h:6703
#define ADC34_CTRL_STS_ADC4_SOC_Msk
Definition: tle986x.h:6701
#define ADC34_CTRL_STS_ADC34_DITHEN_Pos
Definition: tle986x.h:6694
INLINE void SDADC_Ch0_OverSamplingRatio_Sel(uint32 osr)
selects ADC3 Oversampling Ratio
Definition: sdadc.h:256
#define ADC34_CTRL_STS_ADC3_EN_Msk
Definition: tle986x.h:6719
INLINE uint8 SDADC_Ch1_EOC_Sts(void)
reads ADC4 End of Conversion Status
Definition: sdadc.h:505
General type declarations.
INLINE void SDADC_SOC_Set(void)
enables ADC3 and ADC4 conversions
Definition: sdadc.h:439
#define ADC34_CTRL_STS_ADC4_EN_Pos
Definition: tle986x.h:6704
#define ADC34_CTRL_STS_ADC4_OFS_MEAS_EN_Pos
Definition: tle986x.h:6702
INLINE void SDADC_Dithering_Dis(void)
disables ADC34 Dithering
Definition: sdadc.h:310
INLINE void SDADC_VDDEXT_Set(void)
sets ADC34 reference voltage to VDDEXT
Definition: sdadc.h:539
#define ADC34_CTRL_STS_ADC3_OSR_Msk
Definition: tle986x.h:6707
#define ADC34_CTRL_STS_ADC34_DITHEN_Msk
Definition: tle986x.h:6695
INLINE void SDADC_Ch1_Power_Off(void)
disables ADC4 analog frontend and ADC4 conversion.
Definition: sdadc.h:191
#define ADC34_CTRL_STS_ADC4_EoC_STS_Pos
Definition: tle986x.h:6698
INLINE void SDADC_Ch1_Int_Dis(void)
disables ADC4 EOC Interrupt.
Definition: sdadc.h:745
INLINE void SDADC_Ch1_Int_En(void)
enables ADC4 EOC Interrupt.
Definition: sdadc.h:722
INLINE void SDADC_Ch1_SOC_Rst(void)
disables ADC4 conversion
Definition: sdadc.h:420
#define ADC34_CTRL_STS_ADC4_OSR_Msk
Definition: tle986x.h:6691
INLINE void SDADC_Ch1_SOC_Set(void)
enables ADC4 conversion
Definition: sdadc.h:402
signed short sint16
16 bit signed value
Definition: types.h:145
INLINE uint8 SDADC_Ch0_EOC_Sts(void)
reads ADC3 End of Conversion Status
Definition: sdadc.h:482
#define ADC34_CTRL_STS_ADC3_OSR_Pos
Definition: tle986x.h:6706
SFR low level access library.
#define SCUPM
Definition: tle986x.h:6005
#define INLINE
Definition: types.h:134
#define SCUPM_SYS_IRQ_CTRL_ADC3_EOC_IE_Msk
Definition: tle986x.h:9416
INLINE void Field_Mod32(volatile uint32 *reg, uint32 pos, uint32 msk, uint32 val)
This function writes a bit field in a 32-bit register.
Definition: sfr_access.h:356
INLINE void SDADC_Ch1_Offset_Meas_Dis(void)
disables ADC4 Offset Measurement
Definition: sdadc.h:611
INLINE void SDADC_Ch1_Int_Clr(void)
clears ADC4 EOC Interrupt flag.
Definition: sdadc.h:655
INLINE uint8 u1_Field_Rd32(const volatile uint32 *reg, uint32 pos, uint32 msk)
This function reads a 1-bit field of a 32-bit register.
Definition: sfr_access.h:401
#define SCUPM_SYS_ISCLR_ADC3_EOC_ICLR_Pos
Definition: tle986x.h:9477
INLINE sint16 SDADC_Ch0_Result_Get(void)
gets ADC3 Result value
Definition: sdadc.h:214
TSDADC_DITHVAL
This enum lists the ADC34 Dither Value.
Definition: sdadc.h:94
INLINE void SDADC_Dithering_Sel(uint32 dith)
selects ADC34 Dithering value
Definition: sdadc.h:329
INLINE void SDADC_Ch0_Offset_Meas_En(void)
enables ADC3 Offset Measurement
Definition: sdadc.h:557
INLINE void SDADC_Ch0_Offset_Meas_Dis(void)
disables ADC3 Offset Measurement
Definition: sdadc.h:575
#define ADC34_CTRL_STS_ADC4_SOC_Pos
Definition: tle986x.h:6700
unsigned char uint8
8 bit unsigned value
Definition: types.h:139
INLINE void SDADC_VAREF_Set(void)
sets ADC34 reference voltage to VAREF
Definition: sdadc.h:522
INLINE void Field_Wrt32(volatile uint32 *reg, uint32 pos, uint32 msk, uint32 val)
This function writes a bit field in a 32-bit register.
Definition: sfr_access.h:341
#define ADC34_CTRL_STS_ADC3_EoC_STS_Msk
Definition: tle986x.h:6713
INLINE void SDADC_Ch0_Power_Off(void)
disables ADC3 analog frontend and ADC3 conversion.
Definition: sdadc.h:156
#define ADC34_CTRL_STS_ADC34_EoC_CNT_Pos
Definition: tle986x.h:6696
#define ADC34_CTRL_STS_ADC34_REF_SEL_Pos
Definition: tle986x.h:6708
#define SCUPM_SYS_IRQ_CTRL_ADC3_EOC_IE_Pos
Definition: tle986x.h:9415
unsigned int uint32
32 bit unsigned value
Definition: types.h:141
INLINE void SDADC_Ch0_Power_On(void)
enables ADC3 analog frontend.
Definition: sdadc.h:139
#define ADC34_CTRL_STS_ADC3_SOC_Msk
Definition: tle986x.h:6715
INLINE void SDADC_IRQ_Rate_Sel(uint32 rate)
selects ADC34 EoC counter (IRQ rate of ADC34)
Definition: sdadc.h:348
#define ADC34_CTRL_STS_ADC3_EN_Pos
Definition: tle986x.h:6718
TSDADC_EOC_CNT
This enum lists the ADC34 EoC counter.
Definition: sdadc.h:117
#define SCUPM_SYS_IRQ_CTRL_ADC4_EOC_IE_Msk
Definition: tle986x.h:9414
#define ADC34_CTRL_STS_ADC3_EoC_STS_Pos
Definition: tle986x.h:6712
#define SCUPM_SYS_ISCLR_ADC4_EOC_ICLR_Pos
Definition: tle986x.h:9475
#define SCUPM_SYS_IRQ_CTRL_ADC4_EOC_IE_Pos
Definition: tle986x.h:9413
INLINE void SDADC_SOC_Rst(void)
disables ADC3 and ADC4 conversions
Definition: sdadc.h:458
void SDADC_Init(void)
Initializes the SDADC module (ADC3 and ADC4).
#define ADC34_CTRL_STS_ADC3_OFS_MEAS_EN_Msk
Definition: tle986x.h:6717
#define ADC34_CTRL_STS_ADC3_OFS_MEAS_EN_Pos
Definition: tle986x.h:6716
#define ADC34_CTRL_STS_ADC4_EoC_STS_Msk
Definition: tle986x.h:6699
CMSIS register HeaderFile.
#define ADC34_CTRL_STS_ADC3_SOC_Pos
Definition: tle986x.h:6714
INLINE void SDADC_Ch0_Int_Dis(void)
disables ADC3 EOC Interrupt.
Definition: sdadc.h:700
#define ADC34
Definition: tle986x.h:5992
INLINE void SDADC_Ch0_SOC_Rst(void)
disables ADC3 conversion
Definition: sdadc.h:384
#define ADC34_CTRL_STS_ADC4_OSR_Pos
Definition: tle986x.h:6690
#define ADC34_CTRL_STS_ADC4_EN_Msk
Definition: tle986x.h:6705
#define SCUPM_SYS_ISCLR_ADC3_EOC_ICLR_Msk
Definition: tle986x.h:9478
INLINE void SDADC_Ch0_Int_Clr(void)
clears ADC3 EOC Interrupt flag.
Definition: sdadc.h:633
#define ADC34_CTRL_STS_ADC34_REF_SEL_Msk
Definition: tle986x.h:6709
#define ADC34_CTRL_STS_ADC34_DITHVAL_Msk
Definition: tle986x.h:6693
#define SCUPM_SYS_ISCLR_ADC4_EOC_ICLR_Msk
Definition: tle986x.h:9476
INLINE sint16 SDADC_Ch1_Result_Get(void)
gets ADC4 Result value
Definition: sdadc.h:236
TSDADC_OSR
This enum lists the SDADC Oversampling Ratio.
Definition: sdadc.h:82
INLINE void SDADC_Ch0_Int_En(void)
enables ADC3 EOC Interrupt.
Definition: sdadc.h:677
INLINE void SDADC_Ch0_SOC_Set(void)
enables ADC3 conversion
Definition: sdadc.h:366
#define ADC34_CTRL_STS_ADC34_DITHVAL_Pos
Definition: tle986x.h:6692
#define ADC34_CTRL_STS_ADC34_EoC_CNT_Msk
Definition: tle986x.h:6697
INLINE void SDADC_Ch1_OverSamplingRatio_Sel(uint32 osr)
selects ADC4 Oversampling Ratio
Definition: sdadc.h:276
INLINE void SDADC_Ch1_Offset_Meas_En(void)
enables ADC4 Offset Measurement
Definition: sdadc.h:593
INLINE void SDADC_Dithering_En(void)
enables ADC34 Dithering
Definition: sdadc.h:293