iLLD_TC29x
1.0
|
GTM basic functionality. More...
Go to the source code of this file.
Macros | |
#define | IFXGTM_ATOM_NUM_AGC_CHANNELS (8) |
Number of channels per ATOM AGC. More... | |
Functions | |
uint32 | IfxGtm_Atom_Agc_buildFeatureForChannel (IfxGtm_Atom_Ch channel, boolean enabled, uint8 bitfieldOffset) |
Builds the register value for the feature enable/disable for a single channel. More... | |
void | IfxGtm_Atom_Agc_enableChannel (Ifx_GTM_ATOM_AGC *agc, IfxGtm_Atom_Ch channel, boolean enabled, boolean immediate) |
Enable/disable one channel (ENDIS) More... | |
void | IfxGtm_Atom_Agc_enableChannelOutput (Ifx_GTM_ATOM_AGC *agc, IfxGtm_Atom_Ch channel, boolean enabled, boolean immediate) |
Enable/disable one channel output (OUTEN) More... | |
void | IfxGtm_Atom_Agc_enableChannelUpdate (Ifx_GTM_ATOM_AGC *agc, IfxGtm_Atom_Ch channel, boolean enabled) |
Enable/disable one channel for update (UPEN) More... | |
void | IfxGtm_Atom_Agc_enableChannels (Ifx_GTM_ATOM_AGC *agc, uint16 enableMask, uint16 disableMask, boolean immediate) |
Enable/disable one or more channels (ENDIS) More... | |
void | IfxGtm_Atom_Agc_enableChannelsOutput (Ifx_GTM_ATOM_AGC *agc, uint16 enableMask, uint16 disableMask, boolean immediate) |
Enable/disable one or more channels output (OUTEN) More... | |
void | IfxGtm_Atom_Agc_enableChannelsTrigger (Ifx_GTM_ATOM_AGC *agc, uint16 enableMask, uint16 disableMask) |
Enable/disable the TGC channels trigger. More... | |
void | IfxGtm_Atom_Agc_enableChannelsUpdate (Ifx_GTM_ATOM_AGC *agc, uint16 enableMask, uint16 disableMask) |
Enable/disable one or more channels for update (UPEN) More... | |
void | IfxGtm_Atom_Agc_enableTimeTrigger (Ifx_GTM_ATOM_AGC *agc, boolean enabled) |
Enable/disable the time base trigger. More... | |
void | IfxGtm_Atom_Agc_resetChannels (Ifx_GTM_ATOM_AGC *agc, uint32 resetMask) |
Reset one or more channels. More... | |
void | IfxGtm_Atom_Agc_setChannelForceUpdate (Ifx_GTM_ATOM_AGC *agc, IfxGtm_Atom_Ch channel, boolean enabled, boolean resetEnabled) |
Enable/disable one channel for update (FUPD) More... | |
void | IfxGtm_Atom_Agc_setChannelsForceUpdate (Ifx_GTM_ATOM_AGC *agc, uint16 enableMask, uint16 disableMask, uint16 resetEnableMask, uint16 resetDisableMask) |
Enable/disable one or more channels for the force update feature (FUPD) More... | |
void | IfxGtm_Atom_Agc_setTimeTrigger (Ifx_GTM_ATOM_AGC *agc, IfxGtm_Tbu_Ts base, uint32 value) |
Sets the trigger time base and time base value. More... | |
void | IfxGtm_Atom_Agc_trigger (Ifx_GTM_ATOM_AGC *agc) |
Raise the trigger for the channel enable/disable settings, output enable settings, and force update event (CTRL_TRIG) More... | |
void | IfxGtm_Atom_Ch_clearOneNotification (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel) |
Clears the channel One notification. More... | |
void | IfxGtm_Atom_Ch_clearZeroNotification (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel) |
Clears the channel Zero notification. More... | |
void | IfxGtm_Atom_Ch_configurePwmMode (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel, IfxGtm_Cmu_Clk clock, Ifx_ActiveState activeState, IfxGtm_Atom_Ch_ResetEvent resetEvent, IfxGtm_Atom_Ch_OutputTrigger trigger) |
float32 | IfxGtm_Atom_Ch_getClockFrequency (Ifx_GTM *gtm, Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel) |
Returns the ATOM channel input clock frequency in Hz. More... | |
IfxGtm_Cmu_Clk | IfxGtm_Atom_Ch_getClockSource (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel) |
Returns the channel clock source. More... | |
uint32 | IfxGtm_Atom_Ch_getCompareOne (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel) |
Returns the compare one value. More... | |
volatile uint32 * | IfxGtm_Atom_Ch_getCompareOnePointer (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel) |
Returns the compare one pointer. More... | |
uint32 | IfxGtm_Atom_Ch_getCompareZero (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel) |
Returns the compare zero value. More... | |
volatile uint32 * | IfxGtm_Atom_Ch_getCompareZeroPointer (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel) |
Returns the compare zero pointer. More... | |
boolean | IfxGtm_Atom_Ch_getOutputLevel (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel) |
Gets the ATOM output level. More... | |
volatile Ifx_SRC_SRCR * | IfxGtm_Atom_Ch_getSrcPointer (Ifx_GTM *gtm, IfxGtm_Atom atom, IfxGtm_Atom_Ch channel) |
Returns a pointer to the ATOM channel SRC. More... | |
volatile uint32 * | IfxGtm_Atom_Ch_getTimerPointer (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel) |
Returns the Timer pointer. More... | |
boolean | IfxGtm_Atom_Ch_isOneNotification (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel) |
Returns the status of channel One notification. More... | |
boolean | IfxGtm_Atom_Ch_isZeroNotification (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel) |
Returns the status of channel Zero notification. More... | |
void | IfxGtm_Atom_Ch_raiseInterruptOne (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel) |
Raises the interrupt for Compare 1. More... | |
void | IfxGtm_Atom_Ch_raiseInterruptZero (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel) |
Raises the interrupt for Compare 0. More... | |
void | IfxGtm_Atom_Ch_setClockSource (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel, IfxGtm_Cmu_Clk clock) |
Sets the channel clock source. More... | |
void | IfxGtm_Atom_Ch_setCompare (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel, uint32 compareZero, uint32 compareOne) |
Sets the compare 0 and 1 values. More... | |
void | IfxGtm_Atom_Ch_setCompareOne (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel, uint32 compareOne) |
Sets the compare 1 value. More... | |
void | IfxGtm_Atom_Ch_setCompareOneShadow (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel, uint32 shadowOne) |
Sets the compare 1 shadow value. More... | |
void | IfxGtm_Atom_Ch_setCompareShadow (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel, uint32 shadowZero, uint32 shadowOne) |
Sets the compare 0 and 1 shadow values. More... | |
void | IfxGtm_Atom_Ch_setCompareZero (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel, uint32 compareZero) |
Sets the compare 0 value. More... | |
void | IfxGtm_Atom_Ch_setCompareZeroShadow (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel, uint32 shadowZero) |
Sets the compare 0 shadow value. More... | |
void | IfxGtm_Atom_Ch_setCounterValue (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel, uint32 value) |
Sets the counter value. More... | |
void | IfxGtm_Atom_Ch_setMode (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel, IfxGtm_Atom_Mode mode) |
set the Atom operating mode More... | |
void | IfxGtm_Atom_Ch_setNotification (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel, IfxGtm_IrqMode mode, boolean interruptOnCompareZero, boolean interruptOnCompareOne) |
Sets the channel notification. More... | |
void | IfxGtm_Atom_Ch_setOneShotMode (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel, boolean enabled) |
Enable/disable the one shot mode. More... | |
void | IfxGtm_Atom_Ch_setResetSource (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel, IfxGtm_Atom_Ch_ResetEvent event) |
Sets the channel clock source either from local or from previous channel. More... | |
void | IfxGtm_Atom_Ch_setSignalLevel (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel, Ifx_ActiveState activeState) |
Sets the signal level. More... | |
void | IfxGtm_Atom_Ch_setTriggerOutput (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel, IfxGtm_Atom_Ch_OutputTrigger trigger) |
Sets the channel trigger output. More... | |
GTM basic functionality.
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 IfxGtm_Atom.c.
#define IFXGTM_ATOM_NUM_AGC_CHANNELS (8) |
Number of channels per ATOM AGC.
Definition at line 38 of file IfxGtm_Atom.c.
Referenced by IfxGtm_Atom_Agc_resetChannels().