iLLD_TC27xD  1.0
PwmHl Functions
Collaboration diagram for PwmHl Functions:

Functions

IFX_EXTERN boolean IfxCcu6_PwmHl_init (IfxCcu6_PwmHl *driver, const IfxCcu6_PwmHl_Config *config)
 Initializes the timer object. More...
 
IFX_EXTERN void IfxCcu6_PwmHl_initConfig (IfxCcu6_PwmHl_Config *config)
 Initialize the configuration structure to default. More...
 

Detailed Description

Function Documentation

IFX_EXTERN boolean IfxCcu6_PwmHl_init ( IfxCcu6_PwmHl driver,
const IfxCcu6_PwmHl_Config config 
)

Initializes the timer object.

Note
To ensure that the channels counter are reset by the timer and do not overflow, leading to random signal on the output, the timer must be started before the call to this function. Initialise the CCU6 module for PWM generation of high- and low switches usage, e.g.
  • electric motor drive
  • half-bridge switches

It is assumed that the whole CCU6 module is only used for purposes mentioned at the IfxCcu6_PwmHl API. No part of CCU6 module is used for other purpose.

The timer used should configure the T12 as PWM base timer and T13 as trigger.

Parameters
driverCCU6 PWM driver
configCCU6 : PWM HL configuration
Returns
TRUE on success else FALSE
  • All T12 channels (0,1,2) are set in compare mode
  • Enable T12 modulation mode

Definition at line 202 of file IfxCcu6_PwmHl.c.

IFX_EXTERN void IfxCcu6_PwmHl_initConfig ( IfxCcu6_PwmHl_Config config)

Initialize the configuration structure to default.

Parameters
configChannel configuration. This parameter is Initialised by the function
Returns
None

Definition at line 291 of file IfxCcu6_PwmHl.c.