iLLD_TC27xD
1.0
|
Functions | |
IFX_INLINE void | IfxGtm_Tom_Tgc_writeGlobalControl (Ifx_GTM_TOM_TGC *tgc, uint32 control) |
Sets the tgc global control value. More... | |
IFX_EXTERN uint32 | IfxGtm_Tom_Tgc_buildFeature (uint16 enableMask, uint16 disableMask, uint8 bitfieldOffset) |
Builds the register value for the feature enable/disable. More... | |
IFX_EXTERN uint32 | IfxGtm_Tom_Tgc_buildFeatureForChannel (IfxGtm_Tom_Ch channel, boolean enabled, uint8 bitfieldOffset) |
Builds the register value for the feature enable/disable for a single channel. More... | |
IFX_EXTERN void | IfxGtm_Tom_Tgc_enableChannel (Ifx_GTM_TOM_TGC *tgc, IfxGtm_Tom_Ch channel, boolean enabled, boolean immediate) |
Enable/disable one channel (ENDIS) More... | |
IFX_EXTERN void | IfxGtm_Tom_Tgc_enableChannelOutput (Ifx_GTM_TOM_TGC *tgc, IfxGtm_Tom_Ch channel, boolean enabled, boolean immediate) |
Enable/disable one channel output (OUTEN) More... | |
IFX_EXTERN void | IfxGtm_Tom_Tgc_enableChannelUpdate (Ifx_GTM_TOM_TGC *tgc, IfxGtm_Tom_Ch channel, boolean enabled) |
Enable/disable one channel for update (UPEN) More... | |
IFX_EXTERN void | IfxGtm_Tom_Tgc_enableChannels (Ifx_GTM_TOM_TGC *tgc, uint16 enableMask, uint16 disableMask, boolean immediate) |
Enable/disable one or more channels (ENDIS) More... | |
IFX_EXTERN void | IfxGtm_Tom_Tgc_enableChannelsOutput (Ifx_GTM_TOM_TGC *tgc, uint16 enableMask, uint16 disableMask, boolean immediate) |
Enable/disable one or more channels output (OUTEN) More... | |
IFX_EXTERN void | IfxGtm_Tom_Tgc_enableChannelsTrigger (Ifx_GTM_TOM_TGC *tgc, uint16 enableMask, uint16 disableMask) |
Enable/disable the TGC channels trigger. More... | |
IFX_EXTERN void | IfxGtm_Tom_Tgc_enableChannelsUpdate (Ifx_GTM_TOM_TGC *tgc, uint16 enableMask, uint16 disableMask) |
Enable/disable one or more channels for update (UPEN) More... | |
IFX_EXTERN void | IfxGtm_Tom_Tgc_enableTimeTrigger (Ifx_GTM_TOM_TGC *tgc, boolean enabled) |
Enable/disable the time base trigger. More... | |
IFX_EXTERN void | IfxGtm_Tom_Tgc_resetChannels (Ifx_GTM_TOM_TGC *tgc, uint32 resetMask) |
Reset one or more channels. More... | |
IFX_EXTERN void | IfxGtm_Tom_Tgc_setChannelForceUpdate (Ifx_GTM_TOM_TGC *tgc, IfxGtm_Tom_Ch channel, boolean enabled, boolean resetEnabled) |
Enable/disable one channel for update (FUPD) More... | |
IFX_EXTERN void | IfxGtm_Tom_Tgc_setChannelsForceUpdate (Ifx_GTM_TOM_TGC *tgc, uint16 enableMask, uint16 disableMask, uint16 resetEnableMask, uint16 resetDisableMask) |
Enable/disable one or more channels for the force update feature (FUPD) More... | |
IFX_EXTERN void | IfxGtm_Tom_Tgc_setTimeTrigger (Ifx_GTM_TOM_TGC *tgc, IfxGtm_Tbu_Ts base, uint32 value) |
Sets the trigger time base and time base value. More... | |
IFX_EXTERN void | IfxGtm_Tom_Tgc_trigger (Ifx_GTM_TOM_TGC *tgc) |
Raise the trigger for the channel enable/disable settings, output enable settings, and force update event (CTRL_TRIG) More... | |
IFX_EXTERN uint32 IfxGtm_Tom_Tgc_buildFeature | ( | uint16 | enableMask, |
uint16 | disableMask, | ||
uint8 | bitfieldOffset | ||
) |
Builds the register value for the feature enable/disable.
enableMask | Mask for the channel feature enable (bit 0: Channel 0, bit 1: channel 1, ...) |
disableMask | Mask for the channel feature disable (bit 0: Channel 0, bit 1: channel 1, ...) |
bitfieldOffset | Offset of the channel 0 bitfield in the register |
Definition at line 353 of file IfxGtm_Tom.c.
Referenced by IfxGtm_Tom_Tgc_enableChannels(), IfxGtm_Tom_Tgc_enableChannelsOutput(), IfxGtm_Tom_Tgc_enableChannelsTrigger(), IfxGtm_Tom_Tgc_enableChannelsUpdate(), IfxGtm_Tom_Tgc_setChannelsForceUpdate(), and IfxGtm_Tom_Timer_addToChannelMask().
IFX_EXTERN uint32 IfxGtm_Tom_Tgc_buildFeatureForChannel | ( | IfxGtm_Tom_Ch | channel, |
boolean | enabled, | ||
uint8 | bitfieldOffset | ||
) |
Builds the register value for the feature enable/disable for a single channel.
channel | Channel index |
enabled | Enable/ Disable choise of the feature |
bitfieldOffset | Offset of the channel 0 bitfield in the register |
Definition at line 381 of file IfxGtm_Tom.c.
Referenced by IfxGtm_Tom_Tgc_enableChannel(), IfxGtm_Tom_Tgc_enableChannelOutput(), IfxGtm_Tom_Tgc_enableChannelUpdate(), and IfxGtm_Tom_Tgc_setChannelForceUpdate().
IFX_EXTERN void IfxGtm_Tom_Tgc_enableChannel | ( | Ifx_GTM_TOM_TGC * | tgc, |
IfxGtm_Tom_Ch | channel, | ||
boolean | enabled, | ||
boolean | immediate | ||
) |
Enable/disable one channel (ENDIS)
tgc | Pointer to the TGC object |
channel | Channel index |
enabled | Enable/ Disable choise of the feature |
immediate | If TRUE, the action is done immediately else, the action is done on TGC trigger (CTRL_TRIG) |
Definition at line 401 of file IfxGtm_Tom.c.
Referenced by IfxGtm_Tom_Pwm_init().
IFX_EXTERN void IfxGtm_Tom_Tgc_enableChannelOutput | ( | Ifx_GTM_TOM_TGC * | tgc, |
IfxGtm_Tom_Ch | channel, | ||
boolean | enabled, | ||
boolean | immediate | ||
) |
Enable/disable one channel output (OUTEN)
tgc | Pointer to the TGC object |
channel | Channel index |
enabled | Enable/ Disable choise of the feature |
immediate | If TRUE, the action is done immediately else, the action is done on TGC trigger (CTRL_TRIG) |
Definition at line 419 of file IfxGtm_Tom.c.
Referenced by IfxGtm_Tom_Pwm_init().
IFX_EXTERN void IfxGtm_Tom_Tgc_enableChannels | ( | Ifx_GTM_TOM_TGC * | tgc, |
uint16 | enableMask, | ||
uint16 | disableMask, | ||
boolean | immediate | ||
) |
Enable/disable one or more channels (ENDIS)
tgc | Pointer to the TGC object |
enableMask | Mask for the channel feature enable (bit 0: Channel 0, bit 1: channel 1, ...) |
disableMask | Mask for the channel feature disable (bit 0: Channel 0, bit 1: channel 1, ...) |
immediate | If TRUE, the action is done immediately else, the action is done on TGC trigger (CTRL_TRIG) |
Definition at line 443 of file IfxGtm_Tom.c.
Referenced by IfxGtm_Tom_PwmHl_init(), IfxGtm_Tom_Timer_init(), IfxGtm_Tom_Timer_run(), and IfxGtm_Tom_Timer_stop().
IFX_EXTERN void IfxGtm_Tom_Tgc_enableChannelsOutput | ( | Ifx_GTM_TOM_TGC * | tgc, |
uint16 | enableMask, | ||
uint16 | disableMask, | ||
boolean | immediate | ||
) |
Enable/disable one or more channels output (OUTEN)
tgc | Pointer to the TGC object |
enableMask | Mask for the channel feature enable (bit 0: Channel 0, bit 1: channel 1, ...) |
disableMask | Mask for the channel feature disable (bit 0: Channel 0, bit 1: channel 1, ...) |
immediate | If TRUE, the action is done immediately else, the action is done on TGC trigger (CTRL_TRIG) |
Definition at line 462 of file IfxGtm_Tom.c.
Referenced by IfxGtm_Tom_PwmHl_init(), and IfxGtm_Tom_Timer_init().
IFX_EXTERN void IfxGtm_Tom_Tgc_enableChannelsTrigger | ( | Ifx_GTM_TOM_TGC * | tgc, |
uint16 | enableMask, | ||
uint16 | disableMask | ||
) |
Enable/disable the TGC channels trigger.
tgc | Pointer to the TGC object |
enableMask | Mask for the channel feature enable (bit 0: Channel 0, bit 1: channel 1, ...) |
disableMask | Mask for the channel feature disable (bit 0: Channel 0, bit 1: channel 1, ...) |
Definition at line 480 of file IfxGtm_Tom.c.
IFX_EXTERN void IfxGtm_Tom_Tgc_enableChannelsUpdate | ( | Ifx_GTM_TOM_TGC * | tgc, |
uint16 | enableMask, | ||
uint16 | disableMask | ||
) |
Enable/disable one or more channels for update (UPEN)
tgc | Pointer to the TGC object |
enableMask | Mask for the channel feature enable (bit 0: Channel 0, bit 1: channel 1, ...) |
disableMask | Mask for the channel feature disable (bit 0: Channel 0, bit 1: channel 1, ...) |
Definition at line 486 of file IfxGtm_Tom.c.
IFX_EXTERN void IfxGtm_Tom_Tgc_enableChannelUpdate | ( | Ifx_GTM_TOM_TGC * | tgc, |
IfxGtm_Tom_Ch | channel, | ||
boolean | enabled | ||
) |
Enable/disable one channel for update (UPEN)
tgc | Pointer to the TGC object |
channel | Channel index |
enabled | Enable/ Disable choise of the feature |
Definition at line 437 of file IfxGtm_Tom.c.
Referenced by IfxGtm_Tom_Pwm_init().
IFX_EXTERN void IfxGtm_Tom_Tgc_enableTimeTrigger | ( | Ifx_GTM_TOM_TGC * | tgc, |
boolean | enabled | ||
) |
Enable/disable the time base trigger.
tgc | Pointer to the TGC object |
enabled | If TRUE, the trigger is enabled else disabled |
Definition at line 492 of file IfxGtm_Tom.c.
IFX_EXTERN void IfxGtm_Tom_Tgc_resetChannels | ( | Ifx_GTM_TOM_TGC * | tgc, |
uint32 | resetMask | ||
) |
Reset one or more channels.
tgc | Pointer to the TGC object |
resetMask | Mask for the channel reset (bit 0: Channel 0, bit 1: channel 1, ...) |
Definition at line 498 of file IfxGtm_Tom.c.
IFX_EXTERN void IfxGtm_Tom_Tgc_setChannelForceUpdate | ( | Ifx_GTM_TOM_TGC * | tgc, |
IfxGtm_Tom_Ch | channel, | ||
boolean | enabled, | ||
boolean | resetEnabled | ||
) |
Enable/disable one channel for update (FUPD)
tgc | Pointer to the TGC object |
channel | Channel index |
enabled | Enable/ Disable choise of the feature |
resetEnabled | Enable/ Disable reset choise of the feature |
Definition at line 517 of file IfxGtm_Tom.c.
Referenced by IfxGtm_Tom_Pwm_init().
IFX_EXTERN void IfxGtm_Tom_Tgc_setChannelsForceUpdate | ( | Ifx_GTM_TOM_TGC * | tgc, |
uint16 | enableMask, | ||
uint16 | disableMask, | ||
uint16 | resetEnableMask, | ||
uint16 | resetDisableMask | ||
) |
Enable/disable one or more channels for the force update feature (FUPD)
tgc | Pointer to the TGC object |
enableMask | Mask for the channel feature enable (bit 0: Channel 0, bit 1: channel 1, ...) |
disableMask | Mask for the channel feature disable (bit 0: Channel 0, bit 1: channel 1, ...) |
resetEnableMask | Mask for the enabled channels counter reset on force update (bit 0: Channel 0, bit 1: channel 1, ...) Channel 0, bit 1: channel 1, ...) |
resetDisableMask | Mask for the disabled channels with no counter reset on force update (bit 0: Channel 0, bit 1: channel 1, ...) |
Definition at line 528 of file IfxGtm_Tom.c.
Referenced by IfxGtm_Tom_PwmHl_init(), and IfxGtm_Tom_Timer_init().
IFX_EXTERN void IfxGtm_Tom_Tgc_setTimeTrigger | ( | Ifx_GTM_TOM_TGC * | tgc, |
IfxGtm_Tbu_Ts | base, | ||
uint32 | value | ||
) |
Sets the trigger time base and time base value.
tgc | Pointer to the TGC object |
base | Time base used for comparison |
value | Compare value that raise the trigger |
Definition at line 539 of file IfxGtm_Tom.c.
IFX_EXTERN void IfxGtm_Tom_Tgc_trigger | ( | Ifx_GTM_TOM_TGC * | tgc) |
Raise the trigger for the channel enable/disable settings, output enable settings, and force update event (CTRL_TRIG)
tgc | Pointer to the TGC object |
Definition at line 550 of file IfxGtm_Tom.c.
Referenced by IfxGtm_Tom_Pwm_init(), IfxGtm_Tom_PwmHl_init(), and IfxGtm_Tom_Timer_init().
IFX_INLINE void IfxGtm_Tom_Tgc_writeGlobalControl | ( | Ifx_GTM_TOM_TGC * | tgc, |
uint32 | control | ||
) |
Sets the tgc global control value.
tgc | Pointer to the TGC object |
control | global control value |
Definition at line 503 of file IfxGtm_Tom.h.
Referenced by IfxGtm_Tom_Timer_applyUpdate(), and IfxGtm_Tom_Timer_disableUpdate().