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

Detailed Description

Functions

sint8 GPT12_init (void)
 Initialize all CW registers of the general purpose timer 12 encoder. More...
 
sint8 GPT12_setIntervalTimerT3 (uint32 u32_timeInterval_us)
 Define an interval timer with the core timer T3. More...
 
sint8 GPT12_setIntervalTimerT6 (uint32 u32_timeInterval_us)
 Define an interval timer with the core timer T6. More...
 
INLINE void GPT12_setCapRelVal (uint16 u16_value)
 Set Current reload value or Captured value. More...
 
INLINE uint16 GPT12_getCapRelVal (void)
 Get Current reload value or Captured value. More...
 
INLINE void GPT12_setT2Val (uint16 u16_value)
 Set Timer T2 Current Value. More...
 
INLINE uint16 GPT12_getT2Val (void)
 Get Timer T2 Current Value. More...
 
INLINE void GPT12_startT2 (void)
 Start Timer T2. More...
 
INLINE void GPT12_stopT2 (void)
 Stop Timer T2. More...
 
INLINE void GPT12_setT3Val (uint16 u16_value)
 Set Timer T3 Current Value. More...
 
INLINE uint16 GPT12_getT3Val (void)
 Get Timer T3 Current Value. More...
 
INLINE void GPT12_startT3 (void)
 Start Timer T3. More...
 
INLINE void GPT12_stopT3 (void)
 Stop Timer T3. More...
 
INLINE void GPT12_setT4Val (uint16 u16_value)
 Set Timer T4 Current Value. More...
 
INLINE uint16 GPT12_getT4Val (void)
 Get Timer T4 Current Value. More...
 
INLINE void GPT12_startT4 (void)
 Start Timer T4. More...
 
INLINE void GPT12_stopT4 (void)
 Stop Timer T4. More...
 
INLINE void GPT12_setT5Val (uint16 u16_value)
 Set Timer T5 Current Value. More...
 
INLINE uint16 GPT12_getT5Val (void)
 Get Timer T5 Current Value. More...
 
INLINE void GPT12_startT5 (void)
 Start Timer T5. More...
 
INLINE void GPT12_stopT5 (void)
 Stop Timer T5. More...
 
INLINE void GPT12_setT6Val (uint16 u16_value)
 Set Timer T6 Current Value. More...
 
INLINE uint16 GPT12_getT6Val (void)
 Get Timer T6 Current Value. More...
 
INLINE void GPT12_startT6 (void)
 Start Timer T6. More...
 
INLINE void GPT12_stopT6 (void)
 Stop Timer T6. More...
 
INLINE void GPT12_enT2Int (void)
 Enable GPT1.T2 Interrupt. More...
 
INLINE void GPT12_enT3Int (void)
 Enable GPT1.T3 Interrupt. More...
 
INLINE void GPT12_enT4Int (void)
 Enable GPT1.T4 Interrupt. More...
 
INLINE void GPT12_enT5Int (void)
 Enable GPT2.T5 Interrupt. More...
 
INLINE void GPT12_enT6Int (void)
 Enable GPT2.T6 Interrupt. More...
 
INLINE void GPT12_enCapRelInt (void)
 Enable GPT2.CR Interrupt. More...
 
INLINE void GPT12_disT2Int (void)
 Disable GPT1.T2 Interrupt. More...
 
INLINE void GPT12_disT3Int (void)
 Disable GPT1.T3 Interrupt. More...
 
INLINE void GPT12_disT4Int (void)
 Disable GPT1.T4 Interrupt. More...
 
INLINE void GPT12_disT5Int (void)
 Disable GPT2.T5 Interrupt. More...
 
INLINE void GPT12_disT6Int (void)
 Disable GPT2.T6 Interrupt. More...
 
INLINE void GPT12_disCapRelInt (void)
 Disable GPT2.CR Interrupt. More...
 
INLINE uint8 GPT12_getT2IntSts (void)
 Get GPT1.T2 Interrupt Status SCU.GPTIS.GPT1T2. More...
 
INLINE uint8 GPT12_getT3IntSts (void)
 Get GPT1.T3 Interrupt Status SCU.GPTIS.GPT1T3. More...
 
INLINE uint8 GPT12_getT4IntSts (void)
 Get GPT1.T4 Interrupt Status SCU.GPTIS.GPT1T4. More...
 
INLINE uint8 GPT12_getT5IntSts (void)
 Get GPT2.T5 Interrupt Status SCU.GPTIS.GPT2T5. More...
 
INLINE uint8 GPT12_getT6IntSts (void)
 Get GPT2.T6 Interrupt Status SCU.GPTIS.GPT2T6. More...
 
INLINE uint8 GPT12_getCapRelIntSts (void)
 Get GPT2.CR Interrupt Status SCU.GPTIS.GPT2CR. More...
 
INLINE void GPT12_clrT2IntSts (void)
 Clear GPT1.T2 Interrupt Status SCU.GPTISC.GPT1T2CLR. More...
 
INLINE void GPT12_clrT3IntSts (void)
 Clear GPT1.T3 Interrupt Status SCU.GPTISC.GPT1T3CLR. More...
 
INLINE void GPT12_clrT4IntSts (void)
 Clear GPT1.T4 Interrupt Status SCU.GPTISC.GPT1T4CLR. More...
 
INLINE void GPT12_clrT5IntSts (void)
 Clear GPT2.T5 Interrupt Status SCU.GPTISC.GPT2T5CLR. More...
 
INLINE void GPT12_clrT6IntSts (void)
 Clear GPT2.T6 Interrupt Status SCU.GPTISC.GPT2T6CLR. More...
 
INLINE void GPT12_clrCapRelIntSts (void)
 Clear GPT2.CR Interrupt Status SCU.GPTISC.GPT2CRCLR. More...
 
void GPT12_setT2IntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set GPT1 T2 Interrupt Node Pointer. More...
 
void GPT12_setT3IntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set GPT1 T3 Interrupt Node Pointer. More...
 
void GPT12_setT4IntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set GPT1 T4 Interrupt Node Pointer. More...
 
void GPT12_setT5IntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set GPT2 T5 Interrupt Node Pointer. More...
 
void GPT12_setT6IntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set GPT2 T6 Interrupt Node Pointer. More...
 
void GPT12_setCapRelIntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set GPT2 CAPREL Interrupt Node Pointer. More...
 

Variables

void use the ConfigWizard to configure this feature
 

Function Documentation

◆ GPT12_clrCapRelIntSts()

INLINE void GPT12_clrCapRelIntSts ( void  )

Clear GPT2.CR Interrupt Status SCU.GPTISC.GPT2CRCLR.

◆ GPT12_clrT2IntSts()

INLINE void GPT12_clrT2IntSts ( void  )

Clear GPT1.T2 Interrupt Status SCU.GPTISC.GPT1T2CLR.

◆ GPT12_clrT3IntSts()

INLINE void GPT12_clrT3IntSts ( void  )

Clear GPT1.T3 Interrupt Status SCU.GPTISC.GPT1T3CLR.

◆ GPT12_clrT4IntSts()

INLINE void GPT12_clrT4IntSts ( void  )

Clear GPT1.T4 Interrupt Status SCU.GPTISC.GPT1T4CLR.

◆ GPT12_clrT5IntSts()

INLINE void GPT12_clrT5IntSts ( void  )

Clear GPT2.T5 Interrupt Status SCU.GPTISC.GPT2T5CLR.

◆ GPT12_clrT6IntSts()

INLINE void GPT12_clrT6IntSts ( void  )

Clear GPT2.T6 Interrupt Status SCU.GPTISC.GPT2T6CLR.

◆ GPT12_disCapRelInt()

INLINE void GPT12_disCapRelInt ( void  )

Disable GPT2.CR Interrupt.

◆ GPT12_disT2Int()

INLINE void GPT12_disT2Int ( void  )

Disable GPT1.T2 Interrupt.

◆ GPT12_disT3Int()

INLINE void GPT12_disT3Int ( void  )

Disable GPT1.T3 Interrupt.

◆ GPT12_disT4Int()

INLINE void GPT12_disT4Int ( void  )

Disable GPT1.T4 Interrupt.

◆ GPT12_disT5Int()

INLINE void GPT12_disT5Int ( void  )

Disable GPT2.T5 Interrupt.

◆ GPT12_disT6Int()

INLINE void GPT12_disT6Int ( void  )

Disable GPT2.T6 Interrupt.

◆ GPT12_enCapRelInt()

INLINE void GPT12_enCapRelInt ( void  )

Enable GPT2.CR Interrupt.

◆ GPT12_enT2Int()

INLINE void GPT12_enT2Int ( void  )

Enable GPT1.T2 Interrupt.

◆ GPT12_enT3Int()

INLINE void GPT12_enT3Int ( void  )

Enable GPT1.T3 Interrupt.

◆ GPT12_enT4Int()

INLINE void GPT12_enT4Int ( void  )

Enable GPT1.T4 Interrupt.

◆ GPT12_enT5Int()

INLINE void GPT12_enT5Int ( void  )

Enable GPT2.T5 Interrupt.

◆ GPT12_enT6Int()

INLINE void GPT12_enT6Int ( void  )

Enable GPT2.T6 Interrupt.

◆ GPT12_getCapRelIntSts()

INLINE uint8 GPT12_getCapRelIntSts ( void  )

Get GPT2.CR Interrupt Status SCU.GPTIS.GPT2CR.

Returns
uint8 GPT2.CR Interrupt Status

◆ GPT12_getCapRelVal()

INLINE uint16 GPT12_getCapRelVal ( void  )

Get Current reload value or Captured value.

Returns
uint16 Current reload value or Captured value

◆ GPT12_getT2IntSts()

INLINE uint8 GPT12_getT2IntSts ( void  )

Get GPT1.T2 Interrupt Status SCU.GPTIS.GPT1T2.

Returns
uint8 GPT1.T2 Interrupt Status

◆ GPT12_getT2Val()

INLINE uint16 GPT12_getT2Val ( void  )

Get Timer T2 Current Value.

Returns
uint16 Timer T2 Current Value

◆ GPT12_getT3IntSts()

INLINE uint8 GPT12_getT3IntSts ( void  )

Get GPT1.T3 Interrupt Status SCU.GPTIS.GPT1T3.

Returns
uint8 GPT1.T3 Interrupt Status

◆ GPT12_getT3Val()

INLINE uint16 GPT12_getT3Val ( void  )

Get Timer T3 Current Value.

Returns
uint16 Timer T3 Current Value

◆ GPT12_getT4IntSts()

INLINE uint8 GPT12_getT4IntSts ( void  )

Get GPT1.T4 Interrupt Status SCU.GPTIS.GPT1T4.

Returns
uint8 GPT1.T4 Interrupt Status

◆ GPT12_getT4Val()

INLINE uint16 GPT12_getT4Val ( void  )

Get Timer T4 Current Value.

Returns
uint16 Timer T4 Current Value

◆ GPT12_getT5IntSts()

INLINE uint8 GPT12_getT5IntSts ( void  )

Get GPT2.T5 Interrupt Status SCU.GPTIS.GPT2T5.

Returns
uint8 GPT2.T5 Interrupt Status

◆ GPT12_getT5Val()

INLINE uint16 GPT12_getT5Val ( void  )

Get Timer T5 Current Value.

Returns
uint16 Timer T5 Current Value

◆ GPT12_getT6IntSts()

INLINE uint8 GPT12_getT6IntSts ( void  )

Get GPT2.T6 Interrupt Status SCU.GPTIS.GPT2T6.

Returns
uint8 GPT2.T6 Interrupt Status

◆ GPT12_getT6Val()

INLINE uint16 GPT12_getT6Val ( void  )

Get Timer T6 Current Value.

Returns
uint16 Timer T6 Current Value

◆ GPT12_init()

sint8 GPT12_init ( void  )

Initialize all CW registers of the general purpose timer 12 encoder.

Returns
sint8 0: success, <0: error codes

◆ GPT12_setCapRelIntNodePtr()

void GPT12_setCapRelIntNodePtr ( void  )

Set GPT2 CAPREL Interrupt Node Pointer.

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

◆ GPT12_setCapRelVal()

INLINE void GPT12_setCapRelVal ( uint16  u16_value)

Set Current reload value or Captured value.

Parameters
u16_valueCurrent reload value or Captured value

◆ GPT12_setIntervalTimerT3()

sint8 GPT12_setIntervalTimerT3 ( uint32  u32_timeInterval_us)

Define an interval timer with the core timer T3.

Parameters
u32_timeInterval_usDuration of the core timer T3 in microseconds
Returns
sint8 0: success, <0: error codes

◆ GPT12_setIntervalTimerT6()

sint8 GPT12_setIntervalTimerT6 ( uint32  u32_timeInterval_us)

Define an interval timer with the core timer T6.

Parameters
u32_timeInterval_usDuration of the core timer T6 in microseconds
Returns
sint8 0: success, <0: error codes

◆ GPT12_setT2IntNodePtr()

void GPT12_setT2IntNodePtr ( void  )

Set GPT1 T2 Interrupt Node Pointer.

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

◆ GPT12_setT2Val()

INLINE void GPT12_setT2Val ( uint16  u16_value)

Set Timer T2 Current Value.

Parameters
u16_valueTimer T2 Current Value

◆ GPT12_setT3IntNodePtr()

void GPT12_setT3IntNodePtr ( void  )

Set GPT1 T3 Interrupt Node Pointer.

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

◆ GPT12_setT3Val()

INLINE void GPT12_setT3Val ( uint16  u16_value)

Set Timer T3 Current Value.

Parameters
u16_valueTimer T3 Current Value

◆ GPT12_setT4IntNodePtr()

void GPT12_setT4IntNodePtr ( void  )

Set GPT1 T4 Interrupt Node Pointer.

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

◆ GPT12_setT4Val()

INLINE void GPT12_setT4Val ( uint16  u16_value)

Set Timer T4 Current Value.

Parameters
u16_valueTimer T4 Current Value

◆ GPT12_setT5IntNodePtr()

void GPT12_setT5IntNodePtr ( void  )

Set GPT2 T5 Interrupt Node Pointer.

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

◆ GPT12_setT5Val()

INLINE void GPT12_setT5Val ( uint16  u16_value)

Set Timer T5 Current Value.

Parameters
u16_valueTimer T5 Current Value

◆ GPT12_setT6IntNodePtr()

void GPT12_setT6IntNodePtr ( void  )

Set GPT2 T6 Interrupt Node Pointer.

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

◆ GPT12_setT6Val()

INLINE void GPT12_setT6Val ( uint16  u16_value)

Set Timer T6 Current Value.

Parameters
u16_valueTimer T6 Current Value

◆ GPT12_startT2()

INLINE void GPT12_startT2 ( void  )

Start Timer T2.

◆ GPT12_startT3()

INLINE void GPT12_startT3 ( void  )

Start Timer T3.

◆ GPT12_startT4()

INLINE void GPT12_startT4 ( void  )

Start Timer T4.

◆ GPT12_startT5()

INLINE void GPT12_startT5 ( void  )

Start Timer T5.

◆ GPT12_startT6()

INLINE void GPT12_startT6 ( void  )

Start Timer T6.

◆ GPT12_stopT2()

INLINE void GPT12_stopT2 ( void  )

Stop Timer T2.

◆ GPT12_stopT3()

INLINE void GPT12_stopT3 ( void  )

Stop Timer T3.

◆ GPT12_stopT4()

INLINE void GPT12_stopT4 ( void  )

Stop Timer T4.

◆ GPT12_stopT5()

INLINE void GPT12_stopT5 ( void  )

Stop Timer T5.

◆ GPT12_stopT6()

INLINE void GPT12_stopT6 ( void  )

Stop Timer T6.

Variable Documentation

◆ feature

void use the ConfigWizard to configure this feature