iLLD_TC27xC
1.0
|
![]() |
Functions | |
IFX_EXTERN void | IfxGtm_Atom_Ch_clearOneNotification (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel) |
Clears the channel One notification. More... | |
IFX_EXTERN void | IfxGtm_Atom_Ch_clearZeroNotification (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel) |
Clears the channel Zero notification. More... | |
IFX_EXTERN 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) |
IFX_EXTERN 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... | |
IFX_EXTERN IfxGtm_Cmu_Clk | IfxGtm_Atom_Ch_getClockSource (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel) |
Returns the channel clock source. More... | |
IFX_EXTERN boolean | IfxGtm_Atom_Ch_getOutputLevel (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel) |
Gets the ATOM output level. More... | |
IFX_EXTERN 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... | |
IFX_EXTERN volatile uint32 * | IfxGtm_Atom_Ch_getTimerPointer (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel) |
Returns the Timer pointer. More... | |
IFX_EXTERN boolean | IfxGtm_Atom_Ch_isOneNotification (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel) |
Returns the status of channel One notification. More... | |
IFX_EXTERN boolean | IfxGtm_Atom_Ch_isZeroNotification (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel) |
Returns the status of channel Zero notification. More... | |
IFX_EXTERN void | IfxGtm_Atom_Ch_raiseInterruptOne (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel) |
Raises the interrupt for Compare 1. More... | |
IFX_EXTERN void | IfxGtm_Atom_Ch_raiseInterruptZero (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel) |
Raises the interrupt for Compare 0. More... | |
IFX_EXTERN void | IfxGtm_Atom_Ch_setClockSource (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel, IfxGtm_Cmu_Clk clock) |
Sets the channel clock source. More... | |
IFX_EXTERN 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... | |
IFX_EXTERN void | IfxGtm_Atom_Ch_setCompareOne (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel, uint32 compareOne) |
Sets the compare 1 value. More... | |
IFX_EXTERN void | IfxGtm_Atom_Ch_setCompareOneShadow (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel, uint32 shadowOne) |
Sets the compare 1 shadow value. More... | |
IFX_EXTERN 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... | |
IFX_EXTERN void | IfxGtm_Atom_Ch_setCompareZero (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel, uint32 compareZero) |
Sets the compare 0 value. More... | |
IFX_EXTERN void | IfxGtm_Atom_Ch_setCompareZeroShadow (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel, uint32 shadowZero) |
Sets the compare 0 shadow value. More... | |
IFX_EXTERN void | IfxGtm_Atom_Ch_setCounterValue (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel, uint32 value) |
Sets the counter value. More... | |
IFX_EXTERN 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... | |
IFX_EXTERN void | IfxGtm_Atom_Ch_setOneShotMode (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel, boolean enabled) |
Enable/disable the one shot mode. More... | |
IFX_EXTERN 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... | |
IFX_EXTERN void | IfxGtm_Atom_Ch_setSignalLevel (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel, Ifx_ActiveState activeState) |
Sets the signal level. More... | |
IFX_EXTERN void | IfxGtm_Atom_Ch_setTriggerOutput (Ifx_GTM_ATOM *atom, IfxGtm_Atom_Ch channel, IfxGtm_Atom_Ch_OutputTrigger trigger) |
Sets the channel trigger output. More... | |
IFX_EXTERN void IfxGtm_Atom_Ch_clearOneNotification | ( | Ifx_GTM_ATOM * | atom, |
IfxGtm_Atom_Ch | channel | ||
) |
Clears the channel One notification.
atom | Pointer to the ATOM object |
channel | Channel index |
Definition at line 192 of file IfxGtm_Atom.c.
Referenced by IfxGtm_Atom_Timer_acknowledgeTriggerIrq().
IFX_EXTERN void IfxGtm_Atom_Ch_clearZeroNotification | ( | Ifx_GTM_ATOM * | atom, |
IfxGtm_Atom_Ch | channel | ||
) |
Clears the channel Zero notification.
atom | Pointer to the ATOM object |
channel | Channel index |
Definition at line 200 of file IfxGtm_Atom.c.
Referenced by IfxGtm_Atom_Timer_acknowledgeTimerIrq().
IFX_EXTERN 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 | ||
) |
atom | Pointer to the ATOM object |
channel | Channel index |
clock | Clock source |
activeState | Active State |
resetEvent | Channel reset event |
trigger | Channel trigger output mode |
Definition at line 207 of file IfxGtm_Atom.c.
Referenced by IfxGtm_Atom_PwmHl_init(), and IfxGtm_Atom_Timer_init().
IFX_EXTERN 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.
gtm | Pointer to GTM module |
atom | Pointer to the ATOM object |
channel | Channel index |
Definition at line 222 of file IfxGtm_Atom.c.
Referenced by IfxGtm_Atom_Timer_updateInputFrequency().
IFX_EXTERN IfxGtm_Cmu_Clk IfxGtm_Atom_Ch_getClockSource | ( | Ifx_GTM_ATOM * | atom, |
IfxGtm_Atom_Ch | channel | ||
) |
Returns the channel clock source.
atom | Pointer to the ATOM object |
channel | Channel index |
Definition at line 232 of file IfxGtm_Atom.c.
Referenced by IfxGtm_Atom_Ch_getClockFrequency(), and IfxGtm_Atom_PwmHl_init().
IFX_EXTERN boolean IfxGtm_Atom_Ch_getOutputLevel | ( | Ifx_GTM_ATOM * | atom, |
IfxGtm_Atom_Ch | channel | ||
) |
Gets the ATOM output level.
atom | Pointer to the ATOM object |
channel | Channel index |
Definition at line 243 of file IfxGtm_Atom.c.
IFX_EXTERN 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.
gtm | Pointer to GTM module |
atom | Specifies the atom object |
channel | Channel index |
Definition at line 254 of file IfxGtm_Atom.c.
Referenced by IfxGtm_Atom_Timer_init().
IFX_EXTERN volatile uint32* IfxGtm_Atom_Ch_getTimerPointer | ( | Ifx_GTM_ATOM * | atom, |
IfxGtm_Atom_Ch | channel | ||
) |
Returns the Timer pointer.
atom | Pointer to the ATOM object |
channel | Channel index |
Definition at line 260 of file IfxGtm_Atom.c.
Referenced by IfxGtm_Atom_Timer_getPointer().
IFX_EXTERN boolean IfxGtm_Atom_Ch_isOneNotification | ( | Ifx_GTM_ATOM * | atom, |
IfxGtm_Atom_Ch | channel | ||
) |
Returns the status of channel One notification.
atom | Pointer to the ATOM object |
channel | Channel index |
Definition at line 266 of file IfxGtm_Atom.c.
Referenced by IfxGtm_Atom_Timer_acknowledgeTriggerIrq().
IFX_EXTERN boolean IfxGtm_Atom_Ch_isZeroNotification | ( | Ifx_GTM_ATOM * | atom, |
IfxGtm_Atom_Ch | channel | ||
) |
Returns the status of channel Zero notification.
atom | Pointer to the ATOM object |
channel | Channel index |
Definition at line 277 of file IfxGtm_Atom.c.
Referenced by IfxGtm_Atom_Timer_acknowledgeTimerIrq().
IFX_EXTERN void IfxGtm_Atom_Ch_raiseInterruptOne | ( | Ifx_GTM_ATOM * | atom, |
IfxGtm_Atom_Ch | channel | ||
) |
Raises the interrupt for Compare 1.
atom | Pointer to the ATOM object |
channel | Channel index |
Definition at line 288 of file IfxGtm_Atom.c.
IFX_EXTERN void IfxGtm_Atom_Ch_raiseInterruptZero | ( | Ifx_GTM_ATOM * | atom, |
IfxGtm_Atom_Ch | channel | ||
) |
Raises the interrupt for Compare 0.
atom | Pointer to the ATOM object |
channel | Channel index |
Definition at line 296 of file IfxGtm_Atom.c.
IFX_EXTERN void IfxGtm_Atom_Ch_setClockSource | ( | Ifx_GTM_ATOM * | atom, |
IfxGtm_Atom_Ch | channel, | ||
IfxGtm_Cmu_Clk | clock | ||
) |
Sets the channel clock source.
atom | Pointer to the ATOM object |
channel | Channel index |
clock | Channel clock source |
Definition at line 304 of file IfxGtm_Atom.c.
IFX_EXTERN void IfxGtm_Atom_Ch_setCompare | ( | Ifx_GTM_ATOM * | atom, |
IfxGtm_Atom_Ch | channel, | ||
uint32 | compareZero, | ||
uint32 | compareOne | ||
) |
Sets the compare 0 and 1 values.
atom | Pointer to the ATOM object |
channel | Channel index |
compareZero | Compare zero value |
compareOne | Compare one value |
Definition at line 312 of file IfxGtm_Atom.c.
IFX_EXTERN void IfxGtm_Atom_Ch_setCompareOne | ( | Ifx_GTM_ATOM * | atom, |
IfxGtm_Atom_Ch | channel, | ||
uint32 | compareOne | ||
) |
Sets the compare 1 value.
atom | Pointer to the ATOM object |
channel | Channel index |
compareOne | Compare one value |
Definition at line 321 of file IfxGtm_Atom.c.
IFX_EXTERN void IfxGtm_Atom_Ch_setCompareOneShadow | ( | Ifx_GTM_ATOM * | atom, |
IfxGtm_Atom_Ch | channel, | ||
uint32 | shadowOne | ||
) |
Sets the compare 1 shadow value.
atom | Pointer to the ATOM object |
channel | Channel index |
shadowOne | Compare one shadow value |
Definition at line 329 of file IfxGtm_Atom.c.
Referenced by IfxGtm_Atom_Timer_setTrigger().
IFX_EXTERN 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.
atom | Pointer to the ATOM object |
channel | Channel index |
shadowZero | Compare zero shadow value |
shadowOne | Compare one shadow value |
Definition at line 337 of file IfxGtm_Atom.c.
IFX_EXTERN void IfxGtm_Atom_Ch_setCompareZero | ( | Ifx_GTM_ATOM * | atom, |
IfxGtm_Atom_Ch | channel, | ||
uint32 | compareZero | ||
) |
Sets the compare 0 value.
atom | Pointer to the ATOM object |
channel | Channel index |
compareZero | Compare zero value |
Definition at line 346 of file IfxGtm_Atom.c.
IFX_EXTERN void IfxGtm_Atom_Ch_setCompareZeroShadow | ( | Ifx_GTM_ATOM * | atom, |
IfxGtm_Atom_Ch | channel, | ||
uint32 | shadowZero | ||
) |
Sets the compare 0 shadow value.
atom | Pointer to the ATOM object |
channel | Channel index |
shadowZero | Compare zero shadow value |
Definition at line 354 of file IfxGtm_Atom.c.
Referenced by IfxGtm_Atom_Timer_setPeriod().
IFX_EXTERN void IfxGtm_Atom_Ch_setCounterValue | ( | Ifx_GTM_ATOM * | atom, |
IfxGtm_Atom_Ch | channel, | ||
uint32 | value | ||
) |
Sets the counter value.
atom | Pointer to the ATOM object |
channel | Channel index |
value | Counter value |
Definition at line 362 of file IfxGtm_Atom.c.
IFX_EXTERN void IfxGtm_Atom_Ch_setNotification | ( | Ifx_GTM_ATOM * | atom, |
IfxGtm_Atom_Ch | channel, | ||
IfxGtm_IrqMode | mode, | ||
boolean | interruptOnCompareZero, | ||
boolean | interruptOnCompareOne | ||
) |
Sets the channel notification.
atom | Pointer to the ATOM object |
channel | Channel index |
mode | Interrupt mode |
interruptOnCompareZero | If TRUE, an interrupt is generated on compare 0, else no interrupt is generated |
interruptOnCompareOne | If TRUE, an interrupt is generated on compare 1, else no interrupt is generated |
Definition at line 370 of file IfxGtm_Atom.c.
Referenced by IfxGtm_Atom_Timer_init().
IFX_EXTERN void IfxGtm_Atom_Ch_setOneShotMode | ( | Ifx_GTM_ATOM * | atom, |
IfxGtm_Atom_Ch | channel, | ||
boolean | enabled | ||
) |
Enable/disable the one shot mode.
atom | Pointer to the ATOM object |
channel | Channel index |
enabled | If TRUE, the feature is enabled, else disabled |
Definition at line 389 of file IfxGtm_Atom.c.
Referenced by IfxGtm_Atom_Timer_setSingleMode().
IFX_EXTERN 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.
atom | Pointer to the ATOM object |
channel | Channel index |
event | Channel reset event |
Definition at line 397 of file IfxGtm_Atom.c.
IFX_EXTERN void IfxGtm_Atom_Ch_setSignalLevel | ( | Ifx_GTM_ATOM * | atom, |
IfxGtm_Atom_Ch | channel, | ||
Ifx_ActiveState | activeState | ||
) |
Sets the signal level.
atom | Pointer to the ATOM object |
channel | Channel index |
activeState | Signal level active state. In case the channel is reset, the output is set to not active. The signal is active between 0 and the leading edge (CM1) and inactive between the leading edge and the trailing edge (CM0). |
Definition at line 405 of file IfxGtm_Atom.c.
Referenced by IfxGtm_Atom_PwmHl_setMode().
IFX_EXTERN void IfxGtm_Atom_Ch_setTriggerOutput | ( | Ifx_GTM_ATOM * | atom, |
IfxGtm_Atom_Ch | channel, | ||
IfxGtm_Atom_Ch_OutputTrigger | trigger | ||
) |
Sets the channel trigger output.
atom | Pointer to the ATOM object |
channel | Channel index |
trigger | Channel trigger output mode |
Definition at line 413 of file IfxGtm_Atom.c.