Infineon MOTIX™ MCU TLE988x/9x Device Family SDK
Functions | Variables
SDADC_api

Detailed Description

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
 

Function Documentation

◆ SDADC_clrCh0CmpLoIntSts()

INLINE void SDADC_clrCh0CmpLoIntSts ( void  )

Clear Channel 0 Lower Compare Level Interrupt Status SDADC.ISR.CMP0_LO_ISC.

◆ SDADC_clrCh0CmpLoSts()

INLINE void SDADC_clrCh0CmpLoSts ( void  )

Clear Channel 0 Lower Compare Level Status SDADC.STSR.CMP0_LO_SC.

◆ SDADC_clrCh0CmpUpIntSts()

INLINE void SDADC_clrCh0CmpUpIntSts ( void  )

Clear Channel 0 Upper Compare Level Interrupt Status SDADC.ISR.CMP0_UP_ISC.

◆ SDADC_clrCh0CmpUpSts()

INLINE void SDADC_clrCh0CmpUpSts ( void  )

Clear Channel 0 Upper Compare Level Status SDADC.STSR.CMP0_UP_SC.

◆ SDADC_clrCh0ResIntSts()

INLINE void SDADC_clrCh0ResIntSts ( void  )

Clear Channel 0 Result Interrupt Status SDADC.ISR.RES0_ISC.

◆ SDADC_clrCh0WFRSts()

INLINE void SDADC_clrCh0WFRSts ( void  )

Clear Channel 0 Wait For Read Status SDADC.STSR.WFR0_SC.

◆ SDADC_clrCh1CmpLoIntSts()

INLINE void SDADC_clrCh1CmpLoIntSts ( void  )

Clear Channel 1 Lower Compare Level Interrupt Status SDADC.ISR.CMP1_LO_ISC.

◆ SDADC_clrCh1CmpLoSts()

INLINE void SDADC_clrCh1CmpLoSts ( void  )

Clear Channel 1 Lower Compare Level Status SDADC.STSR.CMP1_LO_SC.

◆ SDADC_clrCh1CmpUpIntSts()

INLINE void SDADC_clrCh1CmpUpIntSts ( void  )

Clear Channel 1 Upper Compare Level Interrupt Status SDADC.ISR.CMP1_UP_ISC.

◆ SDADC_clrCh1CmpUpSts()

INLINE void SDADC_clrCh1CmpUpSts ( void  )

Clear Channel 1 Upper Compare Level Status SDADC.STSR.CMP1_UP_SC.

◆ SDADC_clrCh1ResIntSts()

INLINE void SDADC_clrCh1ResIntSts ( void  )

Clear Channel 1 Result Interrupt Status SDADC.ISR.RES1_ISC.

◆ SDADC_clrCh1WFRSts()

INLINE void SDADC_clrCh1WFRSts ( void  )

Clear Channel 1 Wait For Read Status SDADC.STSR.WFR1_SC.

◆ SDADC_disCh0CmpLoInt()

INLINE void SDADC_disCh0CmpLoInt ( void  )

Disable Channel 0 Lower Compare Level Interrupt.

◆ SDADC_disCh0CmpUpInt()

INLINE void SDADC_disCh0CmpUpInt ( void  )

Disable Channel 0 Upper Compare Level Interrupt.

◆ SDADC_disCh0ResInt()

INLINE void SDADC_disCh0ResInt ( void  )

Disable Channel 0 Result Interrupt.

◆ SDADC_disCh1CmpLoInt()

INLINE void SDADC_disCh1CmpLoInt ( void  )

Disable Channel 1 Lower Compare Level Interrupt.

◆ SDADC_disCh1CmpUpInt()

INLINE void SDADC_disCh1CmpUpInt ( void  )

Disable Channel 1 Upper Compare Level Interrupt.

◆ SDADC_disCh1ResInt()

INLINE void SDADC_disCh1ResInt ( void  )

Disable Channel 1 Result Interrupt.

◆ SDADC_disSuspendMode()

INLINE void SDADC_disSuspendMode ( void  )

Disable Suspend Mode SDADC.SUSCTR.EN.

◆ SDADC_enCh0CmpLoInt()

INLINE void SDADC_enCh0CmpLoInt ( void  )

Enable Channel 0 Lower Compare Level Interrupt.

◆ SDADC_enCh0CmpUpInt()

INLINE void SDADC_enCh0CmpUpInt ( void  )

Enable Channel 0 Upper Compare Level Interrupt.

◆ SDADC_enCh0ResInt()

INLINE void SDADC_enCh0ResInt ( void  )

Enable Channel 0 Result Interrupt.

◆ SDADC_enCh1CmpLoInt()

INLINE void SDADC_enCh1CmpLoInt ( void  )

Enable Channel 1 Lower Compare Level Interrupt.

◆ SDADC_enCh1CmpUpInt()

INLINE void SDADC_enCh1CmpUpInt ( void  )

Enable Channel 1 Upper Compare Level Interrupt.

◆ SDADC_enCh1ResInt()

INLINE void SDADC_enCh1ResInt ( void  )

Enable Channel 1 Result Interrupt.

◆ SDADC_enSuspendMode()

INLINE void SDADC_enSuspendMode ( void  )

Enable Suspend Mode SDADC.SUSCTR.EN.

◆ SDADC_getCh0CaptTimestamp()

INLINE uint16 SDADC_getCh0CaptTimestamp ( void  )

Get Channel 0 Captured Timestamp SDADC.CTIM0.TIMVAL.

Returns
uint16 Channel 0 Captured Timestamp

◆ SDADC_getCh0CmpLoIntSts()

INLINE uint8 SDADC_getCh0CmpLoIntSts ( void  )

Get Channel 0 Lower Compare Level Interrupt Status SDADC.IS.CMP0_LO_IS.

Returns
uint8 Channel 0 Lower Compare Level Interrupt Status

◆ SDADC_getCh0CmpLoSts()

INLINE uint8 SDADC_getCh0CmpLoSts ( void  )

Get Channel 0 Lower Compare Level Status SDADC.STS.CMP0_LO_STS.

Returns
uint8 Channel 0 Lower Compare Level Status

◆ SDADC_getCh0CmpUpIntSts()

INLINE uint8 SDADC_getCh0CmpUpIntSts ( void  )

Get Channel 0 Upper Compare Level Interrupt Status SDADC.IS.CMP0_UP_IS.

Returns
uint8 Channel 0 Upper Compare Level Interrupt Status

◆ SDADC_getCh0CmpUpSts()

INLINE uint8 SDADC_getCh0CmpUpSts ( void  )

Get Channel 0 Upper Compare Level Status SDADC.STS.CMP0_UP_STS.

Returns
uint8 Channel 0 Upper Compare Level Status

◆ SDADC_getCh0ResIntSts()

INLINE uint8 SDADC_getCh0ResIntSts ( void  )

Get Channel 0 Result Interrupt Status SDADC.IS.RES0_IS.

Returns
uint8 Channel 0 Result Interrupt Status

◆ SDADC_getCh0Result()

INLINE sint16 SDADC_getCh0Result ( void  )

Get Channel 0 Result SDADC.RES0.RESULT.

Returns
sint16 Channel 0 Result

◆ SDADC_getCh0ResValidCnt()

INLINE uint8 SDADC_getCh0ResValidCnt ( void  )

Get Channel 0 Result Valid Counter SDADC.RES0.VALCNT.

Returns
uint8 Channel 0 Result Valid Counter

◆ SDADC_getCh0Timestamp()

INLINE uint16 SDADC_getCh0Timestamp ( void  )

Get Channel 0 Timestamp SDADC.RES0.TIMVAL.

Returns
uint16 Channel 0 Timestamp

◆ SDADC_getCh0ValidResSts()

INLINE uint8 SDADC_getCh0ValidResSts ( void  )

Get Channel 0 Valid Result Status SDADC.RES0.RESVALID.

Returns
uint8 Channel 0 Valid Result Status

◆ SDADC_getCh0WFRSts()

INLINE uint8 SDADC_getCh0WFRSts ( void  )

Get Channel 0 Wait For Read Status SDADC.STS.WFR0_STS.

Returns
uint8 Channel 0 Wait For Read Status

◆ SDADC_getCh1CaptTimestamp()

INLINE uint16 SDADC_getCh1CaptTimestamp ( void  )

Get Channel 1 Captured Timestamp SDADC.CTIM1.TIMVAL.

Returns
uint16 Channel 1 Captured Timestamp

◆ SDADC_getCh1CmpLoIntSts()

INLINE uint8 SDADC_getCh1CmpLoIntSts ( void  )

Get Channel 1 Lower Compare Level Interrupt Status SDADC.IS.CMP1_LO_IS.

Returns
uint8 Channel 1 Lower Compare Level Interrupt Status

◆ SDADC_getCh1CmpLoSts()

INLINE uint8 SDADC_getCh1CmpLoSts ( void  )

Get Channel 1 Lower Compare Level Status SDADC.STS.CMP1_LO_STS.

Returns
uint8 Channel 1 Lower Compare Level Status

◆ SDADC_getCh1CmpUpIntSts()

INLINE uint8 SDADC_getCh1CmpUpIntSts ( void  )

Get Channel 1 Upper Compare Level Interrupt Status SDADC.IS.CMP1_UP_IS.

Returns
uint8 Channel 1 Upper Compare Level Interrupt Status

◆ SDADC_getCh1CmpUpSts()

INLINE uint8 SDADC_getCh1CmpUpSts ( void  )

Get Channel 1 Upper Compare Level Status SDADC.STS.CMP1_UP_STS.

Returns
uint8 Channel 1 Upper Compare Level Status

◆ SDADC_getCh1ResIntSts()

INLINE uint8 SDADC_getCh1ResIntSts ( void  )

Get Channel 1 Result Interrupt Status SDADC.IS.RES1_IS.

Returns
uint8 Channel 1 Result Interrupt Status

◆ SDADC_getCh1Result()

INLINE sint16 SDADC_getCh1Result ( void  )

Get Channel 1 Result SDADC.RES1.RESULT.

Returns
sint16 Channel 1 Result

◆ SDADC_getCh1ResValidCnt()

INLINE uint8 SDADC_getCh1ResValidCnt ( void  )

Get Channel 1 Result Valid Counter SDADC.RES1.VALCNT.

Returns
uint8 Channel 1 Result Valid Counter

◆ SDADC_getCh1Timestamp()

INLINE uint16 SDADC_getCh1Timestamp ( void  )

Get Channel 1 Timestamp SDADC.RES1.TIMVAL.

Returns
uint16 Channel 1 Timestamp

◆ SDADC_getCh1ValidResSts()

INLINE uint8 SDADC_getCh1ValidResSts ( void  )

Get Channel 1 Valid Result Status SDADC.RES1.RESVALID.

Returns
uint8 Channel 1 Valid Result Status

◆ SDADC_getCh1WFRSts()

INLINE uint8 SDADC_getCh1WFRSts ( void  )

Get Channel 1 Wait For Read Status SDADC.STS.WFR1_STS.

Returns
uint8 Channel 1 Wait For Read Status

◆ SDADC_getSuspendModeSts()

INLINE uint8 SDADC_getSuspendModeSts ( void  )

Get Suspend Mode Status SDADC.SUSSTAT.STAT.

Returns
uint8 Suspend Mode Status

◆ SDADC_init()

sint8 SDADC_init ( void  )

Initialize all CW registers of the SDADC module.

Returns
sint8 0: success, <0: error codes

◆ SDADC_setCh0CmpLoIntNodePtr()

void SDADC_setCh0CmpLoIntNodePtr ( void  )

Set Channel 0 Lower Compare Level Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ SDADC_setCh0CmpUpIntNodePtr()

void SDADC_setCh0CmpUpIntNodePtr ( void  )

Set Channel 0 Upper Compare Level Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ SDADC_setCh0ResIntNodePtr()

void SDADC_setCh0ResIntNodePtr ( void  )

Set Channel 0 Result Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ SDADC_setCh1CmpLoIntNodePtr()

void SDADC_setCh1CmpLoIntNodePtr ( void  )

Set Channel 1 Lower Compare Level Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ SDADC_setCh1CmpUpIntNodePtr()

void SDADC_setCh1CmpUpIntNodePtr ( void  )

Set Channel 1 Upper Compare Level Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ SDADC_setCh1ResIntNodePtr()

void SDADC_setCh1ResIntNodePtr ( void  )

Set Channel 1 Result Interrupt Node Pointer.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

Variable Documentation

◆ feature

void use the ConfigWizard to configure this feature