iLLD_TC27xD  1.0
PwmHl StdIf Functions
Collaboration diagram for PwmHl StdIf Functions:

Functions

IFX_INLINE Ifx_ActiveState IfxGtm_Tom_PwmHl_invertActiveState (Ifx_ActiveState activeState)
 Inverts the active state. More...
 
IFX_EXTERN float32 IfxGtm_Tom_PwmHl_getDeadtime (IfxGtm_Tom_PwmHl *driver)
 Returns the dead time. More...
 
IFX_EXTERN float32 IfxGtm_Tom_PwmHl_getMinPulse (IfxGtm_Tom_PwmHl *driver)
 Returns the minimum pulse. More...
 
IFX_EXTERN Ifx_Pwm_Mode IfxGtm_Tom_PwmHl_getMode (IfxGtm_Tom_PwmHl *driver)
 Returns Pwm mode. More...
 
IFX_EXTERN boolean IfxGtm_Tom_PwmHl_setDeadtime (IfxGtm_Tom_PwmHl *driver, float32 deadtime)
 Sets the dead time. More...
 
IFX_EXTERN boolean IfxGtm_Tom_PwmHl_setMinPulse (IfxGtm_Tom_PwmHl *driver, float32 minPulse)
 Sets the minimum pulse. More...
 
IFX_EXTERN boolean IfxGtm_Tom_PwmHl_setMode (IfxGtm_Tom_PwmHl *driver, Ifx_Pwm_Mode mode)
 Sets the PWM mode, the mode is only applied after setOnTime() + applyUpdate() More...
 
IFX_EXTERN void IfxGtm_Tom_PwmHl_setOnTime (IfxGtm_Tom_PwmHl *driver, Ifx_TimerValue *tOn)
 Sets the ON time. More...
 
IFX_EXTERN void IfxGtm_Tom_PwmHl_setupChannels (IfxGtm_Tom_PwmHl *driver, boolean *activeCh, boolean *stuckSt)
 Set up channels. More...
 
IFX_EXTERN boolean IfxGtm_Tom_PwmHl_stdIfPwmHlInit (IfxStdIf_PwmHl *stdif, IfxGtm_Tom_PwmHl *driver)
 Initialises the statndard interface Pwm. More...
 

Detailed Description

Function Documentation

IFX_EXTERN float32 IfxGtm_Tom_PwmHl_getDeadtime ( IfxGtm_Tom_PwmHl driver)

Returns the dead time.

See Also
IfxStdIf_PwmHl_GetDeadtime
Parameters
driverGTM TOM PWM driver
Returns
Dead Time

Definition at line 98 of file IfxGtm_Tom_PwmHl.c.

Referenced by IfxGtm_Tom_PwmHl_stdIfPwmHlInit().

IFX_EXTERN float32 IfxGtm_Tom_PwmHl_getMinPulse ( IfxGtm_Tom_PwmHl driver)

Returns the minimum pulse.

See Also
IfxStdIf_PwmHl_GetMinPulse
Parameters
driverGTM TOM PWM driver
Returns
Min Pulse

Definition at line 104 of file IfxGtm_Tom_PwmHl.c.

Referenced by IfxGtm_Tom_PwmHl_stdIfPwmHlInit().

IFX_EXTERN Ifx_Pwm_Mode IfxGtm_Tom_PwmHl_getMode ( IfxGtm_Tom_PwmHl driver)

Returns Pwm mode.

See Also
IfxStdIf_PwmHl_GetMode
Parameters
driverGTM TOM PWM driver
Returns
Pwm mode

Definition at line 110 of file IfxGtm_Tom_PwmHl.c.

Referenced by IfxGtm_Tom_PwmHl_stdIfPwmHlInit().

IFX_INLINE Ifx_ActiveState IfxGtm_Tom_PwmHl_invertActiveState ( Ifx_ActiveState  activeState)

Inverts the active state.

Parameters
activeStateActive state
Returns
State

Definition at line 88 of file IfxGtm_Tom_PwmHl.c.

Referenced by IfxGtm_Tom_PwmHl_init(), and IfxGtm_Tom_PwmHl_setMode().

IFX_EXTERN boolean IfxGtm_Tom_PwmHl_setDeadtime ( IfxGtm_Tom_PwmHl driver,
float32  deadtime 
)

Sets the dead time.

See Also
IfxStdIf_PwmHl_setDeadtime
Parameters
driverGTM TOM PWM driver
deadtimeDead time value
Returns
TRUE on success else FALSE

Definition at line 255 of file IfxGtm_Tom_PwmHl.c.

Referenced by IfxGtm_Tom_PwmHl_init(), and IfxGtm_Tom_PwmHl_stdIfPwmHlInit().

IFX_EXTERN boolean IfxGtm_Tom_PwmHl_setMinPulse ( IfxGtm_Tom_PwmHl driver,
float32  minPulse 
)

Sets the minimum pulse.

See Also
IfxStdIf_PwmHl_setMinPulse
Parameters
driverGTM TOM PWM driver
minPulseMinimum pulse
Returns
TRUE on success else FALSE

Definition at line 266 of file IfxGtm_Tom_PwmHl.c.

Referenced by IfxGtm_Tom_PwmHl_init(), and IfxGtm_Tom_PwmHl_stdIfPwmHlInit().

IFX_EXTERN boolean IfxGtm_Tom_PwmHl_setMode ( IfxGtm_Tom_PwmHl driver,
Ifx_Pwm_Mode  mode 
)

Sets the PWM mode, the mode is only applied after setOnTime() + applyUpdate()

See Also
IfxStdIf_PwmHl_SetMode
Parameters
driverGTM TOM PWM driver
modePwm mode
Returns
TRUE on success else FALSE
Note
that changing signal level may produce short circuit at the power stage, in which case the inverter must be disable during this action.

Definition at line 277 of file IfxGtm_Tom_PwmHl.c.

Referenced by IfxGtm_Tom_PwmHl_init(), and IfxGtm_Tom_PwmHl_stdIfPwmHlInit().

IFX_EXTERN void IfxGtm_Tom_PwmHl_setOnTime ( IfxGtm_Tom_PwmHl driver,
Ifx_TimerValue tOn 
)

Sets the ON time.

See Also
IfxStdIf_PwmHl_SetOnTime
Parameters
driverGTM TOM PWM driver
tOnON time
Returns
None

Definition at line 342 of file IfxGtm_Tom_PwmHl.c.

Referenced by IfxGtm_Tom_PwmHl_stdIfPwmHlInit().

IFX_EXTERN void IfxGtm_Tom_PwmHl_setupChannels ( IfxGtm_Tom_PwmHl driver,
boolean activeCh,
boolean stuckSt 
)

Set up channels.

See Also
IfxStdIf_PwmHl_SetupChannels
Parameters
driverGTM TOM PWM driver
activeChActive channel
stuckStStuck state
Returns
None

Definition at line 348 of file IfxGtm_Tom_PwmHl.c.

Referenced by IfxGtm_Tom_PwmHl_stdIfPwmHlInit().

IFX_EXTERN boolean IfxGtm_Tom_PwmHl_stdIfPwmHlInit ( IfxStdIf_PwmHl stdif,
IfxGtm_Tom_PwmHl driver 
)

Initialises the statndard interface Pwm.

Parameters
stdifStandard interface object, will be initialized by the function
driverInterface driver to be used by the standard interface. must be initialised separately
Returns
TRUE on success else FALSE

Definition at line 354 of file IfxGtm_Tom_PwmHl.c.