iLLD_TC27xD
1.0
|
Functions | |
IFX_EXTERN volatile uint32 * | IfxCcu6_TimerWithTrigger_getPointer (IfxCcu6_TimerWithTrigger *driver) |
Returns the pointer to timer channel. More... | |
IFX_EXTERN boolean | IfxCcu6_TimerWithTrigger_init (IfxCcu6_TimerWithTrigger *driver, IfxCcu6_TimerWithTrigger_Config *config) |
Initialises the timer object T12 is configured as timer, T13 is optionally configured as trigger T12CLK, T12PRE and T12PR are chosen to achieve maximum PWM resolution Note: To achieve maximum PWM resolution, the requested T12 frequency should be the lowest PWM frequency. . More... | |
IFX_EXTERN void | IfxCcu6_TimerWithTrigger_initConfig (IfxCcu6_TimerWithTrigger_Config *config, Ifx_CCU6 *ccu6) |
Initializes the configuration structure to default. More... | |
IFX_EXTERN volatile uint32* IfxCcu6_TimerWithTrigger_getPointer | ( | IfxCcu6_TimerWithTrigger * | driver) |
Returns the pointer to timer channel.
driver | CCU6 Timer interface Handle |
Definition at line 97 of file IfxCcu6_TimerWithTrigger.c.
IFX_EXTERN boolean IfxCcu6_TimerWithTrigger_init | ( | IfxCcu6_TimerWithTrigger * | driver, |
IfxCcu6_TimerWithTrigger_Config * | config | ||
) |
Initialises the timer object
T12 is configured as timer, T13 is optionally configured as trigger
T12CLK, T12PRE and T12PR are chosen to achieve maximum PWM resolution
Note: To achieve maximum PWM resolution, the requested T12 frequency should be the
lowest PWM frequency.
.
driver | CCU6 Timer interface Handle |
config | Configuration structure for Timer |
IfxCcu6_Stat_wrongPwmFreq | if the T12 prescaler can't fulfill the required frequency
|
Definition at line 109 of file IfxCcu6_TimerWithTrigger.c.
IFX_EXTERN void IfxCcu6_TimerWithTrigger_initConfig | ( | IfxCcu6_TimerWithTrigger_Config * | config, |
Ifx_CCU6 * | ccu6 | ||
) |
Initializes the configuration structure to default.
config | Configuration structure for Timer |
ccu6 | Pointer to CCU6 module |
Definition at line 262 of file IfxCcu6_TimerWithTrigger.c.