iLLD_TC27xD
1.0
|
IFX_EXTERN float32 IfxCcu6_PwmHl_getDeadtime | ( | IfxCcu6_PwmHl * | driver) |
Returns the dead time.
driver | CCU6 PWM driver |
Definition at line 184 of file IfxCcu6_PwmHl.c.
Referenced by IfxCcu6_PwmHl_stdIfPwmHlInit().
IFX_EXTERN float32 IfxCcu6_PwmHl_getMinPulse | ( | IfxCcu6_PwmHl * | driver) |
Returns the minimum pulse.
driver | CCU6 PWM driver |
Definition at line 190 of file IfxCcu6_PwmHl.c.
Referenced by IfxCcu6_PwmHl_stdIfPwmHlInit().
IFX_EXTERN Ifx_Pwm_Mode IfxCcu6_PwmHl_getMode | ( | IfxCcu6_PwmHl * | driver) |
Returns Pwm mode.
driver | CCU6 PWM driver |
Definition at line 196 of file IfxCcu6_PwmHl.c.
Referenced by IfxCcu6_PwmHl_stdIfPwmHlInit().
IFX_INLINE Ifx_ActiveState IfxCcu6_PwmHl_invertActiveState | ( | Ifx_ActiveState | activeState) |
Inverts the active state.
activeState | Active state |
Definition at line 118 of file IfxCcu6_PwmHl.c.
IFX_EXTERN boolean IfxCcu6_PwmHl_setDeadtime | ( | IfxCcu6_PwmHl * | driver, |
float32 | deadtime | ||
) |
Sets the dead time.
driver | CCU6 PWM driver |
deadtime | Dead time value |
Definition at line 304 of file IfxCcu6_PwmHl.c.
Referenced by IfxCcu6_PwmHl_init(), and IfxCcu6_PwmHl_stdIfPwmHlInit().
IFX_EXTERN boolean IfxCcu6_PwmHl_setMinPulse | ( | IfxCcu6_PwmHl * | driver, |
float32 | minPulse | ||
) |
Sets the minimum pulse.
driver | CCU6 PWM driver |
minPulse | Minimum pulse |
Definition at line 316 of file IfxCcu6_PwmHl.c.
Referenced by IfxCcu6_PwmHl_init(), and IfxCcu6_PwmHl_stdIfPwmHlInit().
IFX_EXTERN boolean IfxCcu6_PwmHl_setMode | ( | IfxCcu6_PwmHl * | driver, |
Ifx_Pwm_Mode | mode | ||
) |
Sets the PWM mode, the mode is only applied after setOnTime() + applyUpdate()
driver | CCU6 PWM driver |
mode | Pwm mode |
Definition at line 327 of file IfxCcu6_PwmHl.c.
Referenced by IfxCcu6_PwmHl_init(), and IfxCcu6_PwmHl_stdIfPwmHlInit().
IFX_EXTERN void IfxCcu6_PwmHl_setOnTime | ( | IfxCcu6_PwmHl * | driver, |
Ifx_TimerValue * | tOn | ||
) |
Sets the ON time Assign the ON time to the TOP channels. The ON time of the BOTTOM channels are complementary.
driver | CCU6 PWM driver |
tOn | ON time |
Definition at line 357 of file IfxCcu6_PwmHl.c.
Referenced by IfxCcu6_PwmHl_stdIfPwmHlInit().
IFX_EXTERN void IfxCcu6_PwmHl_setupChannels | ( | IfxCcu6_PwmHl * | driver, |
boolean * | activeCh, | ||
boolean * | stuckSt | ||
) |
Set channels which are generating PWM or in "stuck-at" state.
driver | CCU6 PWM driver |
activeCh | Pointer to boolean array containing values for PWM channels. If FALSE, the channel will be in stuck-at state, else the channel will generate PWM. |
stuckSt | Pointer to boolean array containing values for active channels. If FALSE, the stuck-at state is passive level, else the stuck-at state is active level. |
Definition at line 439 of file IfxCcu6_PwmHl.c.
Referenced by IfxCcu6_PwmHl_stdIfPwmHlInit().
IFX_EXTERN boolean IfxCcu6_PwmHl_stdIfPwmHlInit | ( | IfxStdIf_PwmHl * | stdif, |
IfxCcu6_PwmHl * | driver | ||
) |
Initialises the statndard interface Pwm.
stdif | Standard interface object, will be initialized by the function |
driver | Interface driver to be used by the standard interface. must be initialised separately |
Definition at line 475 of file IfxCcu6_PwmHl.c.