Infineon MOTIX™ MCU TLE988x/9x Device Family SDK
Functions | Variables
sdadc.h File Reference

Go to the source code of this file.

Detailed Description

Sigma Delta ADC low level access library.

Version
V0.4.0
Date
19. Apr 2022
Note

Include Graph

Include dependency graph for sdadc.h:

Include Graph

This graph shows which files directly or indirectly include this file:

Functions

sint8 SDADC_init (void)
 Initialize all CW registers of the SDADC module. More...
 
INLINE void SDADC_enCh0ResInt (void)
 Enable Channel 0 Result Interrupt. More...
 
INLINE void SDADC_disCh0ResInt (void)
 Disable Channel 0 Result Interrupt. More...
 
INLINE void SDADC_enCh0CmpUpInt (void)
 Enable Channel 0 Upper Compare Level Interrupt. More...
 
INLINE void SDADC_disCh0CmpUpInt (void)
 Disable Channel 0 Upper Compare Level Interrupt. More...
 
INLINE void SDADC_enCh0CmpLoInt (void)
 Enable Channel 0 Lower Compare Level Interrupt. More...
 
INLINE void SDADC_disCh0CmpLoInt (void)
 Disable Channel 0 Lower Compare Level Interrupt. More...
 
INLINE void SDADC_enCh1ResInt (void)
 Enable Channel 1 Result Interrupt. More...
 
INLINE void SDADC_disCh1ResInt (void)
 Disable Channel 1 Result Interrupt. More...
 
INLINE void SDADC_enCh1CmpUpInt (void)
 Enable Channel 1 Upper Compare Level Interrupt. More...
 
INLINE void SDADC_disCh1CmpUpInt (void)
 Disable Channel 1 Upper Compare Level Interrupt. More...
 
INLINE void SDADC_enCh1CmpLoInt (void)
 Enable Channel 1 Lower Compare Level Interrupt. More...
 
INLINE void SDADC_disCh1CmpLoInt (void)
 Disable Channel 1 Lower Compare Level Interrupt. More...
 
INLINE uint8 SDADC_getCh0ResIntSts (void)
 Get Channel 0 Result Interrupt Status SDADC.IS.RES0_IS. More...
 
INLINE uint8 SDADC_getCh0CmpUpIntSts (void)
 Get Channel 0 Upper Compare Level Interrupt Status SDADC.IS.CMP0_UP_IS. More...
 
INLINE uint8 SDADC_getCh0CmpLoIntSts (void)
 Get Channel 0 Lower Compare Level Interrupt Status SDADC.IS.CMP0_LO_IS. More...
 
INLINE uint8 SDADC_getCh1ResIntSts (void)
 Get Channel 1 Result Interrupt Status SDADC.IS.RES1_IS. More...
 
INLINE uint8 SDADC_getCh1CmpUpIntSts (void)
 Get Channel 1 Upper Compare Level Interrupt Status SDADC.IS.CMP1_UP_IS. More...
 
INLINE uint8 SDADC_getCh1CmpLoIntSts (void)
 Get Channel 1 Lower Compare Level Interrupt Status SDADC.IS.CMP1_LO_IS. More...
 
INLINE void SDADC_clrCh0ResIntSts (void)
 Clear Channel 0 Result Interrupt Status SDADC.ISR.RES0_ISC. More...
 
INLINE void SDADC_clrCh0CmpUpIntSts (void)
 Clear Channel 0 Upper Compare Level Interrupt Status SDADC.ISR.CMP0_UP_ISC. More...
 
INLINE void SDADC_clrCh0CmpLoIntSts (void)
 Clear Channel 0 Lower Compare Level Interrupt Status SDADC.ISR.CMP0_LO_ISC. More...
 
INLINE void SDADC_clrCh1ResIntSts (void)
 Clear Channel 1 Result Interrupt Status SDADC.ISR.RES1_ISC. More...
 
INLINE void SDADC_clrCh1CmpUpIntSts (void)
 Clear Channel 1 Upper Compare Level Interrupt Status SDADC.ISR.CMP1_UP_ISC. More...
 
INLINE void SDADC_clrCh1CmpLoIntSts (void)
 Clear Channel 1 Lower Compare Level Interrupt Status SDADC.ISR.CMP1_LO_ISC. More...
 
INLINE void SDADC_enSuspendMode (void)
 Enable Suspend Mode SDADC.SUSCTR.EN. More...
 
INLINE void SDADC_disSuspendMode (void)
 Disable Suspend Mode SDADC.SUSCTR.EN. More...
 
INLINE uint8 SDADC_getSuspendModeSts (void)
 Get Suspend Mode Status SDADC.SUSSTAT.STAT. More...
 
INLINE sint16 SDADC_getCh0Result (void)
 Get Channel 0 Result SDADC.RES0.RESULT. More...
 
INLINE uint16 SDADC_getCh0Timestamp (void)
 Get Channel 0 Timestamp SDADC.RES0.TIMVAL. More...
 
INLINE uint16 SDADC_getCh0CaptTimestamp (void)
 Get Channel 0 Captured Timestamp SDADC.CTIM0.TIMVAL. More...
 
INLINE uint8 SDADC_getCh0ResValidCnt (void)
 Get Channel 0 Result Valid Counter SDADC.RES0.VALCNT. More...
 
INLINE uint8 SDADC_getCh0ValidResSts (void)
 Get Channel 0 Valid Result Status SDADC.RES0.RESVALID. More...
 
INLINE sint16 SDADC_getCh1Result (void)
 Get Channel 1 Result SDADC.RES1.RESULT. More...
 
INLINE uint16 SDADC_getCh1Timestamp (void)
 Get Channel 1 Timestamp SDADC.RES1.TIMVAL. More...
 
INLINE uint16 SDADC_getCh1CaptTimestamp (void)
 Get Channel 1 Captured Timestamp SDADC.CTIM1.TIMVAL. More...
 
INLINE uint8 SDADC_getCh1ResValidCnt (void)
 Get Channel 1 Result Valid Counter SDADC.RES1.VALCNT. More...
 
INLINE uint8 SDADC_getCh1ValidResSts (void)
 Get Channel 1 Valid Result Status SDADC.RES1.RESVALID. More...
 
INLINE uint8 SDADC_getCh0CmpUpSts (void)
 Get Channel 0 Upper Compare Level Status SDADC.STS.CMP0_UP_STS. More...
 
INLINE uint8 SDADC_getCh0CmpLoSts (void)
 Get Channel 0 Lower Compare Level Status SDADC.STS.CMP0_LO_STS. More...
 
INLINE uint8 SDADC_getCh0WFRSts (void)
 Get Channel 0 Wait For Read Status SDADC.STS.WFR0_STS. More...
 
INLINE uint8 SDADC_getCh1CmpUpSts (void)
 Get Channel 1 Upper Compare Level Status SDADC.STS.CMP1_UP_STS. More...
 
INLINE uint8 SDADC_getCh1CmpLoSts (void)
 Get Channel 1 Lower Compare Level Status SDADC.STS.CMP1_LO_STS. More...
 
INLINE uint8 SDADC_getCh1WFRSts (void)
 Get Channel 1 Wait For Read Status SDADC.STS.WFR1_STS. More...
 
INLINE void SDADC_clrCh0CmpUpSts (void)
 Clear Channel 0 Upper Compare Level Status SDADC.STSR.CMP0_UP_SC. More...
 
INLINE void SDADC_clrCh0CmpLoSts (void)
 Clear Channel 0 Lower Compare Level Status SDADC.STSR.CMP0_LO_SC. More...
 
INLINE void SDADC_clrCh0WFRSts (void)
 Clear Channel 0 Wait For Read Status SDADC.STSR.WFR0_SC. More...
 
INLINE void SDADC_clrCh1CmpUpSts (void)
 Clear Channel 1 Upper Compare Level Status SDADC.STSR.CMP1_UP_SC. More...
 
INLINE void SDADC_clrCh1CmpLoSts (void)
 Clear Channel 1 Lower Compare Level Status SDADC.STSR.CMP1_LO_SC. More...
 
INLINE void SDADC_clrCh1WFRSts (void)
 Clear Channel 1 Wait For Read Status SDADC.STSR.WFR1_SC. More...
 
void SDADC_setCh0ResIntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Channel 0 Result Interrupt Node Pointer. More...
 
void SDADC_setCh0CmpUpIntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Channel 0 Upper Compare Level Interrupt Node Pointer. More...
 
void SDADC_setCh0CmpLoIntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Channel 0 Lower Compare Level Interrupt Node Pointer. More...
 
void SDADC_setCh1ResIntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Channel 1 Result Interrupt Node Pointer. More...
 
void SDADC_setCh1CmpUpIntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Channel 1 Upper Compare Level Interrupt Node Pointer. More...
 
void SDADC_setCh1CmpLoIntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Channel 1 Lower Compare Level Interrupt Node Pointer. More...
 

Variables

void use the ConfigWizard to configure this feature