iLLD_TC29x  1.0
IfxGpt12.h File Reference

GPT12 basic functionality. More...

#include "_Impl/IfxGpt12_cfg.h"
#include "Src/Std/IfxSrc.h"
#include "_Utilities/Ifx_Assert.h"
#include "Scu/Std/IfxScuCcu.h"
#include "IfxGpt12_reg.h"
#include "_PinMap/IfxGpt12_PinMap.h"

Go to the source code of this file.

Enumerations

enum  IfxGpt12_CaptureInput {
  IfxGpt12_CaptureInput_A = 0,
  IfxGpt12_CaptureInput_B = 1,
  IfxGpt12_CaptureInput_C = 2,
  IfxGpt12_CaptureInput_D = 3
}
 Input Select for CAPIN
Definition in IfxGPT12.PISEL.B.ISCAPIN. More...
 
enum  IfxGpt12_CaptureInputMode {
  IfxGpt12_CaptureInputMode_none = 0,
  IfxGpt12_CaptureInputMode_risingEdgeTxIN = 1,
  IfxGpt12_CaptureInputMode_fallingEdgeTxIN = 2,
  IfxGpt12_CaptureInputMode_bothEdgesTxIN = 3
}
 Tx Input Edge Selection (Capture Mode, x=2,4) More...
 
enum  IfxGpt12_CaptureTrigger {
  IfxGpt12_CaptureTrigger_capin = 0,
  IfxGpt12_CaptureTrigger_t3inOrT3EUD = 1
}
 Capture Trigger Enable
Definition in IfxGPT12.T5CON.B.CT3. More...
 
enum  IfxGpt12_CaptureTriggerMode {
  IfxGpt12_CaptureTriggerMode_disabled = 0,
  IfxGpt12_CaptureTriggerMode_risingEdge = 1,
  IfxGpt12_CaptureTriggerMode_fallingEdge = 2,
  IfxGpt12_CaptureTriggerMode_randomEdge = 3
}
 Capture Trigger Selection
Definition in IfxGPT12.T5CON.B.CI. More...
 
enum  IfxGpt12_CounterInputMode {
  IfxGpt12_CounterInputMode_counterDisabled = 0,
  IfxGpt12_CounterInputMode_risingEdgeTxIN = 1,
  IfxGpt12_CounterInputMode_fallingEdgeTxIN = 2,
  IfxGpt12_CounterInputMode_bothEdgesTxIN = 3,
  IfxGpt12_CounterInputMode_risingEdgeTxOTL = 5,
  IfxGpt12_CounterInputMode_fallingEdgeTxOTL = 6,
  IfxGpt12_CounterInputMode_bothEdgesTxOTL = 7
}
 Input Edge Selection for counter mode
Definition in IfxGPT12.TxCON.B.TxI (x = 2 to 6) More...
 
enum  IfxGpt12_EudInput {
  IfxGpt12_EudInput_A = 0,
  IfxGpt12_EudInput_B = 1,
  IfxGpt12_EudInput_C = 2,
  IfxGpt12_EudInput_D = 3
}
 Input Select for TxEUD
Definition in IfxGPT12.PISEL.B.ISTxEUD (x = 2 to 4) More...
 
enum  IfxGpt12_Gpt1BlockPrescaler {
  IfxGpt12_Gpt1BlockPrescaler_8 = 0,
  IfxGpt12_Gpt1BlockPrescaler_4 = 1,
  IfxGpt12_Gpt1BlockPrescaler_32 = 2,
  IfxGpt12_Gpt1BlockPrescaler_16 = 3
}
 GPT1 block prescaler Selection
Definition in IfxGPT12.T3CON.B.BPS1. More...
 
enum  IfxGpt12_Gpt2BlockPrescaler {
  IfxGpt12_Gpt2BlockPrescaler_4 = 0,
  IfxGpt12_Gpt2BlockPrescaler_2 = 1,
  IfxGpt12_Gpt2BlockPrescaler_16 = 2,
  IfxGpt12_Gpt2BlockPrescaler_8 = 3
}
 Gpt2 block prescaler Selection
Definition in IfxGPT12.T6CON.B.BPS2. More...
 
enum  IfxGpt12_IncrementalInterfaceInputMode {
  IfxGpt12_IncrementalInterfaceInputMode_stopCounterTx = 0,
  IfxGpt12_IncrementalInterfaceInputMode_bothEdgesTxIN = 1,
  IfxGpt12_IncrementalInterfaceInputMode_bothEdgesTxEUD = 2,
  IfxGpt12_IncrementalInterfaceInputMode_bothEdgesTxINOrTxEUD = 3
}
 Input Edge Selection for Incremental Interface mode
Definition in IfxGPT12.TxCON.B.TxI (x=2, 3 and 4) More...
 
enum  IfxGpt12_Input {
  IfxGpt12_Input_A = 0,
  IfxGpt12_Input_B = 1,
  IfxGpt12_Input_C = 2,
  IfxGpt12_Input_D = 3
}
 Input Select for TxIN
Definition in IfxGPT12.PISEL.B.ISTxIN (x = 2 to 4) More...
 
enum  IfxGpt12_Mode {
  IfxGpt12_Mode_timer = 0,
  IfxGpt12_Mode_counter = 1,
  IfxGpt12_Mode_lowGatedTimer = 2,
  IfxGpt12_Mode_highGatedTimer = 3,
  IfxGpt12_Mode_reload = 4,
  IfxGpt12_Mode_capture = 5,
  IfxGpt12_Mode_incrementalInterfaceRotationDetection = 6,
  IfxGpt12_Mode_incrementalInterfaceEdgeDetection = 7
}
 Timer operating mode
Definition in IfxGPT12.TxCON.B.TxM (x = 2 to 4) More...
 
enum  IfxGpt12_ReloadInputMode {
  IfxGpt12_ReloadInputMode_counterDisabled = 0,
  IfxGpt12_ReloadInputMode_risingEdgeTxIN = 1,
  IfxGpt12_ReloadInputMode_fallingEdgeTxIN = 2,
  IfxGpt12_ReloadInputMode_bothEdgesTxIN = 3,
  IfxGpt12_ReloadInputMode_risingEdgeTxOTL = 5,
  IfxGpt12_ReloadInputMode_fallingEdgeTxOTL = 6,
  IfxGpt12_ReloadInputMode_bothEdgesTxOTL = 7
}
 Input Edge Selection for reload mode
Definition in IfxGPT12.TxCON.B.TxI (x = 2 and 4) More...
 
enum  IfxGpt12_SleepMode {
  IfxGpt12_SleepMode_enable = 0,
  IfxGpt12_SleepMode_disable = 1
}
 Enable/disable the sensitivity of the module to sleep signal
Definition in Ifx_GPT12.CLC.B.EDIS. More...
 
enum  IfxGpt12_TimerDirection {
  IfxGpt12_TimerDirection_up = 0,
  IfxGpt12_TimerDirection_down = 1
}
 Timer Count Direction
Definition in IfxGPT12.TxCON.B.TxUD (x=2 to 6) More...
 
enum  IfxGpt12_TimerDirectionSource {
  IfxGpt12_TimerDirectionSource_internal = 0,
  IfxGpt12_TimerDirectionSource_external = 1
}
 Timer count direction control source
Definition in IfxGPT12.TxCON.B.TxUDE (x=2 to 6) More...
 
enum  IfxGpt12_TimerInputPrescaler {
  IfxGpt12_TimerInputPrescaler_1 = 0,
  IfxGpt12_TimerInputPrescaler_2 = 1,
  IfxGpt12_TimerInputPrescaler_4 = 2,
  IfxGpt12_TimerInputPrescaler_8 = 3,
  IfxGpt12_TimerInputPrescaler_16 = 4,
  IfxGpt12_TimerInputPrescaler_32 = 5,
  IfxGpt12_TimerInputPrescaler_64 = 6,
  IfxGpt12_TimerInputPrescaler_128 = 7
}
 Input prescaler Selection for the timer
Definition in IfxGPT12.TxCON.B.TxI (x = 2 to 4) More...
 
enum  IfxGpt12_TimerRemoteControl {
  IfxGpt12_TimerRemoteControl_off = 0,
  IfxGpt12_TimerRemoteControl_on = 1
}
 Timer Remote Control enable choice
Definition in IfxGPT12.TxCON.B.TxRC (x = 2 and 4) More...
 
enum  IfxGpt12_TimerRun {
  IfxGpt12_TimerRun_stop = 0,
  IfxGpt12_TimerRun_start = 1
}
 Timer Run / stop control choice (only if TxCON.B.TxRC = 0)
Definition in IfxGPT12.TxCON.B.TxR (x = 2 to 6) More...
 

Functions

IFX_INLINE volatile Ifx_SRC_SRCR * IfxGpt12_T2_getSrc (Ifx_GPT12 *gpt12)
 Returns the address of Timer 2 service request. More...
 
IFX_INLINE volatile Ifx_SRC_SRCR * IfxGpt12_T3_getSrc (Ifx_GPT12 *gpt12)
 Returns the address of Timer 3 service request. More...
 
IFX_INLINE volatile Ifx_SRC_SRCR * IfxGpt12_T4_getSrc (Ifx_GPT12 *gpt12)
 Returns the address of Timer 4 service request. More...
 
IFX_INLINE volatile Ifx_SRC_SRCR * IfxGpt12_T5_getSrc (Ifx_GPT12 *gpt12)
 Returns the address of Timer 5 service request. More...
 
IFX_INLINE volatile Ifx_SRC_SRCR * IfxGpt12_T6_getSrc (Ifx_GPT12 *gpt12)
 Returns the address of Timer 6 service request. More...
 
IFX_INLINE volatile Ifx_SRC_SRCR * IfxGpt12_getCaptureSrc (Ifx_GPT12 *gpt12)
 Returns the address of capture service request. More...
 
IFX_INLINE void IfxGpt12_T2_setCaptureInputMode (Ifx_GPT12 *gpt12, IfxGpt12_CaptureInputMode inputMode)
 Sets the input edge selection for the capture mode of the T2 timer. More...
 
IFX_INLINE void IfxGpt12_T2_setCounterInputMode (Ifx_GPT12 *gpt12, IfxGpt12_CounterInputMode inputMode)
 Sets the input edge selection for the counter mode of the T2 timer. More...
 
IFX_INLINE void IfxGpt12_T2_setDirectionSource (Ifx_GPT12 *gpt12, IfxGpt12_TimerDirectionSource source)
 Sets the T2 timer count direction source internal / external. More...
 
IFX_INLINE void IfxGpt12_T2_setEudInput (Ifx_GPT12 *gpt12, IfxGpt12_EudInput input)
 Sets the EUD input for the T2 timer. More...
 
IFX_INLINE void IfxGpt12_T2_setIncrementalInterfaceInputMode (Ifx_GPT12 *gpt12, IfxGpt12_IncrementalInterfaceInputMode inputMode)
 Sets the input edge selection for the incremental interface mode of the T2 timer. More...
 
IFX_INLINE void IfxGpt12_T2_setInput (Ifx_GPT12 *gpt12, IfxGpt12_Input input)
 Sets the input for the T2 timer. More...
 
IFX_INLINE void IfxGpt12_T2_setInterruptEnable (Ifx_GPT12 *gpt12, boolean enabled)
 Enables / Disables the interrupt generation of the T2 timer. More...
 
IFX_INLINE void IfxGpt12_T2_setMode (Ifx_GPT12 *gpt12, IfxGpt12_Mode mode)
 Sets the mode of operation od T2 timer. More...
 
IFX_INLINE void IfxGpt12_T2_setReloadInputMode (Ifx_GPT12 *gpt12, IfxGpt12_ReloadInputMode inputMode)
 Sets the input edge selection for the reload mode of the T2 timer. More...
 
IFX_INLINE void IfxGpt12_T2_setRemoteControl (Ifx_GPT12 *gpt12, IfxGpt12_TimerRemoteControl control)
 Sets the remote control of the T2 timer. More...
 
IFX_INLINE void IfxGpt12_T2_setTimerDirection (Ifx_GPT12 *gpt12, IfxGpt12_TimerDirection direction)
 Sets the T2 timer count direction. More...
 
IFX_INLINE void IfxGpt12_T2_setTimerPrescaler (Ifx_GPT12 *gpt12, IfxGpt12_TimerInputPrescaler inputPrescaler)
 Sets the input prescaler for the Timer mode and Gated timer mode of T2 timer. More...
 
IFX_INLINE void IfxGpt12_T3_enableOutput (Ifx_GPT12 *gpt12, boolean enable)
 Enable / Disable the T3 Output on pin T3OUT. More...
 
IFX_INLINE void IfxGpt12_T3_setCounterInputMode (Ifx_GPT12 *gpt12, IfxGpt12_CounterInputMode inputMode)
 Sets the input edge selection for the counter mode of the T3 timer. More...
 
IFX_INLINE void IfxGpt12_T3_setDirectionSource (Ifx_GPT12 *gpt12, IfxGpt12_TimerDirectionSource source)
 Sets the T3 timer count direction source internal / external. More...
 
IFX_INLINE void IfxGpt12_T3_setEudInput (Ifx_GPT12 *gpt12, IfxGpt12_EudInput input)
 Sets the EUD input for the T3 timer. More...
 
IFX_INLINE void IfxGpt12_T3_setIncrementalInterfaceInputMode (Ifx_GPT12 *gpt12, IfxGpt12_IncrementalInterfaceInputMode inputMode)
 Sets the input edge selection for the incremental interface mode of the T3 timer. More...
 
IFX_INLINE void IfxGpt12_T3_setInput (Ifx_GPT12 *gpt12, IfxGpt12_Input input)
 Sets the input for the T3 timer. More...
 
IFX_INLINE void IfxGpt12_T3_setMode (Ifx_GPT12 *gpt12, IfxGpt12_Mode mode)
 Sets the mode of operation od T3 timer. More...
 
IFX_INLINE void IfxGpt12_T3_setTimerDirection (Ifx_GPT12 *gpt12, IfxGpt12_TimerDirection direction)
 Sets the T3 timer count direction. More...
 
IFX_INLINE void IfxGpt12_T3_setTimerPrescaler (Ifx_GPT12 *gpt12, IfxGpt12_TimerInputPrescaler inputPrescaler)
 Sets the input prescaler for the Timer mode and Gated timer mode of T3 timer. More...
 
IFX_INLINE void IfxGpt12_T4_enableClearTimerT2 (Ifx_GPT12 *gpt12, boolean enabled)
 Enables / Disables the clear timer T2 bit of the T4 timer. More...
 
IFX_INLINE void IfxGpt12_T4_enableClearTimerT3 (Ifx_GPT12 *gpt12, boolean enabled)
 Enables / Disables the clear timer T3 bit of the T4 timer. More...
 
IFX_INLINE void IfxGpt12_T4_setCaptureInputMode (Ifx_GPT12 *gpt12, IfxGpt12_CaptureInputMode inputMode)
 Sets the input edge selection for the capture mode of the T4 timer. More...
 
IFX_INLINE void IfxGpt12_T4_setCounterInputMode (Ifx_GPT12 *gpt12, IfxGpt12_CounterInputMode inputMode)
 Sets the input edge selection for the counter mode of the T4 timer. More...
 
IFX_INLINE void IfxGpt12_T4_setDirectionSource (Ifx_GPT12 *gpt12, IfxGpt12_TimerDirectionSource source)
 Sets the T4 timer count direction source internal / external. More...
 
IFX_INLINE void IfxGpt12_T4_setEudInput (Ifx_GPT12 *gpt12, IfxGpt12_EudInput input)
 Sets the EUD input for the T4 timer. More...
 
IFX_INLINE void IfxGpt12_T4_setIncrementalInterfaceInputMode (Ifx_GPT12 *gpt12, IfxGpt12_IncrementalInterfaceInputMode inputMode)
 Sets the input edge selection for the incremental interface mode of the T4 timer. More...
 
IFX_INLINE void IfxGpt12_T4_setInput (Ifx_GPT12 *gpt12, IfxGpt12_Input input)
 Sets the input for the T4 timer. More...
 
IFX_INLINE void IfxGpt12_T4_setInterruptEnable (Ifx_GPT12 *gpt12, boolean enabled)
 Enables / Disables the interrupt generation of the T4 timer. More...
 
IFX_INLINE void IfxGpt12_T4_setMode (Ifx_GPT12 *gpt12, IfxGpt12_Mode mode)
 Sets the mode of operation od T4 timer. More...
 
IFX_INLINE void IfxGpt12_T4_setReloadInputMode (Ifx_GPT12 *gpt12, IfxGpt12_ReloadInputMode inputMode)
 Sets the input edge selection for the reload mode of the T4 timer. More...
 
IFX_INLINE void IfxGpt12_T4_setRemoteControl (Ifx_GPT12 *gpt12, IfxGpt12_TimerRemoteControl control)
 Sets the remote control of the T4 timer. More...
 
IFX_INLINE void IfxGpt12_T4_setTimerDirection (Ifx_GPT12 *gpt12, IfxGpt12_TimerDirection direction)
 Sets the T4 timer count direction. More...
 
IFX_INLINE void IfxGpt12_T4_setTimerPrescaler (Ifx_GPT12 *gpt12, IfxGpt12_TimerInputPrescaler inputPrescaler)
 Sets the input prescaler for the Timer mode and Gated timer mode of T4 timer. More...
 
IFX_INLINE void IfxGpt12_T5_enableClearTimer (Ifx_GPT12 *gpt12, boolean enabled)
 Enables / Disables the clear timer bit of the T5 timer. More...
 
IFX_INLINE void IfxGpt12_T5_setCaptureTrigger (Ifx_GPT12 *gpt12, IfxGpt12_CaptureTrigger trigger)
 Sets the capture trigger of teh T5 timer. More...
 
IFX_INLINE void IfxGpt12_T5_setCaptureTriggerEnable (Ifx_GPT12 *gpt12, boolean enabled)
 Enables / Disables the capture trigger of the T5 timer. More...
 
IFX_INLINE void IfxGpt12_T5_setCaptureTriggerMode (Ifx_GPT12 *gpt12, IfxGpt12_CaptureTriggerMode mode)
 Sets the capture trigger mode of the T5 timer. More...
 
IFX_INLINE void IfxGpt12_T5_setCounterInputMode (Ifx_GPT12 *gpt12, IfxGpt12_CounterInputMode inputMode)
 Sets the input edge selection for the counter mode of the T5 timer. More...
 
IFX_INLINE void IfxGpt12_T5_setDirectionSource (Ifx_GPT12 *gpt12, IfxGpt12_TimerDirectionSource source)
 Sets the T5 timer count direction source internal / external. More...
 
IFX_INLINE void IfxGpt12_T5_setEudInput (Ifx_GPT12 *gpt12, IfxGpt12_EudInput input)
 Sets the EUD input for the T5 timer. More...
 
IFX_INLINE void IfxGpt12_T5_setInput (Ifx_GPT12 *gpt12, IfxGpt12_Input input)
 Sets the input for the T5 timer. More...
 
IFX_INLINE void IfxGpt12_T5_setMode (Ifx_GPT12 *gpt12, IfxGpt12_Mode mode)
 Sets the mode of operation od T5 timer. More...
 
IFX_INLINE void IfxGpt12_T5_setRemoteControl (Ifx_GPT12 *gpt12, IfxGpt12_TimerRemoteControl control)
 Sets the remote control of the T5 timer. More...
 
IFX_INLINE void IfxGpt12_T5_setTimerDirection (Ifx_GPT12 *gpt12, IfxGpt12_TimerDirection direction)
 Sets the T5 timer count direction. More...
 
IFX_INLINE void IfxGpt12_T5_setTimerPrescaler (Ifx_GPT12 *gpt12, IfxGpt12_TimerInputPrescaler inputPrescaler)
 Sets the input prescaler for the Timer mode and Gated timer mode of T5 timer. More...
 
IFX_INLINE void IfxGpt12_T6_enableClearTimer (Ifx_GPT12 *gpt12, boolean enabled)
 Enables / Disables the clear timer bit of the T6 timer. More...
 
IFX_INLINE void IfxGpt12_T6_setCounterInputMode (Ifx_GPT12 *gpt12, IfxGpt12_CounterInputMode inputMode)
 Sets the input edge selection for the counter mode of the T6 timer. More...
 
IFX_INLINE void IfxGpt12_T6_setDirectionSource (Ifx_GPT12 *gpt12, IfxGpt12_TimerDirectionSource source)
 sets the T6 timer count direction source internal / external More...
 
IFX_INLINE void IfxGpt12_T6_setEudInput (Ifx_GPT12 *gpt12, IfxGpt12_EudInput input)
 Sets the EUD input for the T6 timer. More...
 
IFX_INLINE void IfxGpt12_T6_setInput (Ifx_GPT12 *gpt12, IfxGpt12_Input input)
 Sets the input for the T6 timer. More...
 
IFX_INLINE void IfxGpt12_T6_setMode (Ifx_GPT12 *gpt12, IfxGpt12_Mode mode)
 Sets the mode of operation od T6 timer. More...
 
IFX_INLINE void IfxGpt12_T6_setTimerDirection (Ifx_GPT12 *gpt12, IfxGpt12_TimerDirection direction)
 sets the T6 timer count direction More...
 
IFX_INLINE void IfxGpt12_T6_setTimerPrescaler (Ifx_GPT12 *gpt12, IfxGpt12_TimerInputPrescaler inputPrescaler)
 Sets the input prescaler for the Timer mode and Gated timer mode of T6 timer. More...
 
IFX_INLINE void IfxGpt12_initCapInPin (const IfxGpt12_TxIn_In *capIn, IfxPort_InputMode inputMode)
 Initializes a Capin_In input. More...
 
IFX_INLINE void IfxGpt12_initTxOutPin (const IfxGpt12_TxOut_Out *txOut, IfxPort_OutputMode outputMode, IfxPort_PadDriver padDriver)
 Initializes a SLSO output. More...
 
IFX_INLINE void IfxGpt12_setCaptureInput (Ifx_GPT12 *gpt12, IfxGpt12_CaptureInput input)
 Sets the capture input. More...
 
IFX_INLINE void IfxGpt12_setGpt1BlockPrescaler (Ifx_GPT12 *gpt12, IfxGpt12_Gpt1BlockPrescaler bps1)
 Sets the GPT1 block prescaler. More...
 
IFX_INLINE void IfxGpt12_setGpt2BlockPrescaler (Ifx_GPT12 *gpt12, IfxGpt12_Gpt2BlockPrescaler bps2)
 Sets the GPT2 block prescaler. More...
 
IFX_EXTERN void IfxGpt12_enableModule (Ifx_GPT12 *gpt12)
 Enables the module. More...
 
IFX_EXTERN void IfxGpt12_initTxEudInPin (const IfxGpt12_TxEud_In *txEudIn, IfxPort_InputMode inputMode)
 Initializes a TxEUDIn_IN input. More...
 
IFX_EXTERN void IfxGpt12_initTxInPin (const IfxGpt12_TxIn_In *txIn, IfxPort_InputMode inputMode)
 Initializes a TxIn input. More...
 
IFX_INLINE IfxGpt12_Mode IfxGpt12_T2_getMode (Ifx_GPT12 *gpt12)
 Returns the operating mode of the T2 timer. More...
 
IFX_INLINE uint16 IfxGpt12_T2_getTimerValue (Ifx_GPT12 *gpt12)
 Returns the timer value of the T2 timer. More...
 
IFX_INLINE IfxGpt12_Mode IfxGpt12_T3_getMode (Ifx_GPT12 *gpt12)
 Returns the operating mode of the T3 timer. More...
 
IFX_INLINE uint16 IfxGpt12_T3_getTimerValue (Ifx_GPT12 *gpt12)
 Returns the timer value of the T3 timer. More...
 
IFX_INLINE IfxGpt12_Mode IfxGpt12_T4_getMode (Ifx_GPT12 *gpt12)
 Returns the operating mode of the T4 timer. More...
 
IFX_INLINE uint16 IfxGpt12_T4_getTimerValue (Ifx_GPT12 *gpt12)
 Returns the timer value of the T4 timer. More...
 
IFX_INLINE IfxGpt12_Mode IfxGpt12_T5_getMode (Ifx_GPT12 *gpt12)
 Returns the operating mode of the T5 timer. More...
 
IFX_INLINE uint16 IfxGpt12_T5_getTimerValue (Ifx_GPT12 *gpt12)
 Returns the timer value of the T5 timer. More...
 
IFX_INLINE IfxGpt12_Mode IfxGpt12_T6_getMode (Ifx_GPT12 *gpt12)
 Returns the operating mode of the T6 timer. More...
 
IFX_INLINE uint16 IfxGpt12_T6_getTimerValue (Ifx_GPT12 *gpt12)
 Returns the timer value of the T6 timer. More...
 
IFX_INLINE float32 IfxGpt12_getModuleFrequency (Ifx_GPT12 *gpt12)
 Returns the gpt12 module frequency. More...
 
IFX_EXTERN float32 IfxGpt12_T2_getFrequency (Ifx_GPT12 *gpt12)
 Returns the frequency of the T2 timer. More...
 
IFX_EXTERN float32 IfxGpt12_T3_getFrequency (Ifx_GPT12 *gpt12)
 Returns the frequency of the T3 timer. More...
 
IFX_EXTERN float32 IfxGpt12_T4_getFrequency (Ifx_GPT12 *gpt12)
 Returns the frequency of the T4 timer. More...
 
IFX_EXTERN float32 IfxGpt12_T5_getFrequency (Ifx_GPT12 *gpt12)
 Returns the frequency of the T5 timer. More...
 
IFX_EXTERN float32 IfxGpt12_T6_getFrequency (Ifx_GPT12 *gpt12)
 Returns the frequency of the T6 timer. More...
 
IFX_INLINE void IfxGpt12_T2_run (Ifx_GPT12 *gpt12, IfxGpt12_TimerRun runTimer)
 Starts / stops the T2 Timer. More...
 
IFX_INLINE void IfxGpt12_T2_setTimerValue (Ifx_GPT12 *gpt12, uint16 value)
 Sets value for the T2 timer. More...
 
IFX_INLINE void IfxGpt12_T3_run (Ifx_GPT12 *gpt12, IfxGpt12_TimerRun runTimer)
 Starts / stops the T3 Timer. More...
 
IFX_INLINE void IfxGpt12_T3_setTimerValue (Ifx_GPT12 *gpt12, uint16 value)
 Sets value for the T3 Timer. More...
 
IFX_INLINE void IfxGpt12_T4_run (Ifx_GPT12 *gpt12, IfxGpt12_TimerRun runTimer)
 Starts / stops the T4 Timer. More...
 
IFX_INLINE void IfxGpt12_T4_setTimerValue (Ifx_GPT12 *gpt12, uint16 value)
 Sets value for the T4 timer. More...
 
IFX_INLINE void IfxGpt12_T5_run (Ifx_GPT12 *gpt12, IfxGpt12_TimerRun runTimer)
 Starts / stops the T5 Timer. More...
 
IFX_INLINE void IfxGpt12_T5_setTimerValue (Ifx_GPT12 *gpt12, uint16 value)
 Sets value for the T5 timer. More...
 
IFX_INLINE void IfxGpt12_T6_run (Ifx_GPT12 *gpt12, IfxGpt12_TimerRun runTimer)
 Starts / stops the T6 Timer. More...
 
IFX_INLINE void IfxGpt12_T6_setTimerValue (Ifx_GPT12 *gpt12, uint16 value)
 Sets value for the T6 timer. More...
 
IFX_INLINE void IfxGpt12_setSleepMode (Ifx_GPT12 *gpt12, IfxGpt12_SleepMode mode)
 Sets the sensitivity of the module to sleep signal. More...
 
IFX_EXTERN void IfxGpt12_resetModule (Ifx_GPT12 *gpt12)
 resets GPT12 kernel More...
 

Detailed Description

GPT12 basic functionality.

Version
iLLD_1_0_0_11_0
                            IMPORTANT NOTICE

Infineon Technologies AG (Infineon) is supplying this file for use exclusively with Infineon's microcontroller products. This file can be freely distributed within development tools that are supporting such microcontroller products.

THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. INFINEON SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.

Definition in file IfxGpt12.h.