iLLD_TC27xC  1.0
ATOM AGC Functions
Collaboration diagram for ATOM AGC Functions:

Functions

IFX_EXTERN void IfxGtm_Atom_Agc_enableChannels (Ifx_GTM_ATOM_AGC *agc, uint16 enableMask, uint16 disableMask, boolean immediate)
 Enable/disable one or more channels (ENDIS) More...
 
IFX_EXTERN 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...
 
IFX_EXTERN void IfxGtm_Atom_Agc_enableChannelsTrigger (Ifx_GTM_ATOM_AGC *agc, uint16 enableMask, uint16 disableMask)
 Enable/disable the TGC channels trigger. More...
 
IFX_EXTERN void IfxGtm_Atom_Agc_enableChannelsUpdate (Ifx_GTM_ATOM_AGC *agc, uint16 enableMask, uint16 disableMask)
 Enable/disable one or more channels for update (UPEN) More...
 
IFX_EXTERN void IfxGtm_Atom_Agc_enableTimeTrigger (Ifx_GTM_ATOM_AGC *agc, boolean enabled)
 Enable/disable the time base trigger. More...
 
IFX_EXTERN void IfxGtm_Atom_Agc_resetChannels (Ifx_GTM_ATOM_AGC *agc, uint32 resetMask)
 Reset one or more channels. More...
 
IFX_EXTERN 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...
 
IFX_EXTERN 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...
 
IFX_EXTERN 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...
 

Detailed Description

Function Documentation

IFX_EXTERN void IfxGtm_Atom_Agc_enableChannels ( Ifx_GTM_ATOM_AGC *  agc,
uint16  enableMask,
uint16  disableMask,
boolean  immediate 
)

Enable/disable one or more channels (ENDIS)

Parameters
agcPointer to the AGC object
enableMaskMask for the channel feature enable (bit 0: Channel 0, bit 1: channel 1, ...)
disableMaskMask for the channel feature disable (bit 0: Channel 0, bit 1: channel 1, ...)
immediateIf TRUE, the action is done immediately else, the action is done on TGC trigger (CTRL_TRIG)
Returns
None

Definition at line 89 of file IfxGtm_Atom.c.

Referenced by IfxGtm_Atom_PwmHl_init(), IfxGtm_Atom_Timer_init(), IfxGtm_Atom_Timer_run(), and IfxGtm_Atom_Timer_stop().

IFX_EXTERN void IfxGtm_Atom_Agc_enableChannelsOutput ( Ifx_GTM_ATOM_AGC *  agc,
uint16  enableMask,
uint16  disableMask,
boolean  immediate 
)

Enable/disable one or more channels output (OUTEN)

Parameters
agcPointer to the TGC object
enableMaskMask for the channel feature enable (bit 0: Channel 0, bit 1: channel 1, ...)
disableMaskMask for the channel feature disable (bit 0: Channel 0, bit 1: channel 1, ...)
immediateIf TRUE, the action is done immediately else, the action is done on TGC trigger (CTRL_TRIG)
Returns
None

Definition at line 109 of file IfxGtm_Atom.c.

Referenced by IfxGtm_Atom_PwmHl_init(), and IfxGtm_Atom_Timer_init().

IFX_EXTERN void IfxGtm_Atom_Agc_enableChannelsTrigger ( Ifx_GTM_ATOM_AGC *  agc,
uint16  enableMask,
uint16  disableMask 
)

Enable/disable the TGC channels trigger.

Parameters
agcPointer to the AGC object
enableMaskMask for the channel feature enable (bit 0: Channel 0, bit 1: channel 1, ...)
disableMaskMask for the channel feature disable (bit 0: Channel 0, bit 1: channel 1, ...)
Returns
None

Definition at line 127 of file IfxGtm_Atom.c.

IFX_EXTERN void IfxGtm_Atom_Agc_enableChannelsUpdate ( Ifx_GTM_ATOM_AGC *  agc,
uint16  enableMask,
uint16  disableMask 
)

Enable/disable one or more channels for update (UPEN)

Parameters
agcPointer to the AGC object
enableMaskMask for the channel feature enable (bit 0: Channel 0, bit 1: channel 1, ...)
disableMaskMask for the channel feature disable (bit 0: Channel 0, bit 1: channel 1, ...)
Returns
None

Definition at line 133 of file IfxGtm_Atom.c.

Referenced by IfxGtm_Atom_Timer_applyUpdate(), and IfxGtm_Atom_Timer_disableUpdate().

IFX_EXTERN void IfxGtm_Atom_Agc_enableTimeTrigger ( Ifx_GTM_ATOM_AGC *  agc,
boolean  enabled 
)

Enable/disable the time base trigger.

Parameters
agcPointer to the AGC object
enabledIf TRUE, the trigger is enabled else disabled
Returns
None

Definition at line 139 of file IfxGtm_Atom.c.

IFX_EXTERN void IfxGtm_Atom_Agc_resetChannels ( Ifx_GTM_ATOM_AGC *  agc,
uint32  resetMask 
)

Reset one or more channels.

Parameters
agcPointer to the AGC object
resetMaskMask for the channel reset (bit 0: Channel 0, bit 1: channel 1, ...)
Returns
None

Definition at line 145 of file IfxGtm_Atom.c.

IFX_EXTERN 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)

Parameters
agcPointer to the AGC object
enableMaskMask for the channel feature enable (bit 0: Channel 0, bit 1: channel 1, ...)
disableMaskMask for the channel feature disable (bit 0: Channel 0, bit 1: channel 1, ...)
resetEnableMaskMask for the enabled channels counter reset on force update (bit 0: Channel 0, bit 1: channel 1, ...) Channel 0, bit 1: channel 1, ...)
resetDisableMaskMask for the disabled channels with no counter reset on force update (bit 0: Channel 0, bit 1: channel 1, ...)
Returns
None

Definition at line 164 of file IfxGtm_Atom.c.

Referenced by IfxGtm_Atom_PwmHl_init(), and IfxGtm_Atom_Timer_init().

IFX_EXTERN 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.

Parameters
agcPointer to the AGC object
baseTime base used for comparison
valueCompare value that raise the trigger
Returns
None

Definition at line 175 of file IfxGtm_Atom.c.

IFX_EXTERN 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)

Parameters
agcPointer to the AGC object
Returns
None

Definition at line 186 of file IfxGtm_Atom.c.

Referenced by IfxGtm_Atom_PwmHl_init(), and IfxGtm_Atom_Timer_init().