iLLD_TC27xD  1.0
Configuration Functions
Collaboration diagram for Configuration Functions:

Functions

IFX_INLINE void IfxCcu6_disableAdditionalPrescaler (Ifx_CCU6 *ccu6, IfxCcu6_TimerId timer)
 Disables the additional prescaler of 1/256 can be enabled for the prescaler of T12 or T13 to support higher clock frequencies. More...
 
IFX_INLINE void IfxCcu6_disableDeadTime (Ifx_CCU6 *ccu6, IfxCcu6_T12Channel channel)
 Disables the dead time generation for each compare channel (0, 1, 2) of Timer12. More...
 
IFX_INLINE void IfxCcu6_disableDelayBypass (Ifx_CCU6 *ccu6)
 Disables the delay of the source signal for the sampling of the Hall input pattern (selected by HSYNC) More...
 
IFX_INLINE void IfxCcu6_disableInterrupt (Ifx_CCU6 *ccu6, IfxCcu6_InterruptSource source)
 Disables the selected interrupt. More...
 
IFX_INLINE void IfxCcu6_disableMultiChannelMode (Ifx_CCU6 *ccu6)
 Sets multi channel mode unavailable, A write access to MCMOUTS is ignored. More...
 
IFX_INLINE void IfxCcu6_disableShadowTransfer (Ifx_CCU6 *ccu6, boolean t12, boolean t13)
 Disables shadow transfers of the timers (T12, T13 individually or together based on the selection) More...
 
IFX_INLINE void IfxCcu6_disableSingleShotMode (Ifx_CCU6 *ccu6, IfxCcu6_TimerId timer)
 Disables the single shot-mode of Timers (T12 T13). More...
 
IFX_INLINE void IfxCcu6_disableT13InvertedModulation (Ifx_CCU6 *ccu6)
 Disables the Inversion of T13 signal for the modulation of the CC6x and COUT6x (x = 0, 1, 2) signals
T13 output CC63_O is equal to CC63ST. More...
 
IFX_INLINE void IfxCcu6_disableTimer (Ifx_CCU6 *ccu6, IfxCcu6_TimerId timer)
 Sets Timer12 block unavailable, A write access to T12PR is ignored. More...
 
IFX_INLINE void IfxCcu6_disableTrap (Ifx_CCU6 *ccu6, IfxCcu6_ChannelOut channelOut)
 Disables the trap functionality for the corresponding output signals. More...
 
IFX_INLINE void IfxCcu6_disableTrapPin (Ifx_CCU6 *ccu6)
 Disables the input (pin) function for the trap generation. More...
 
IFX_INLINE void IfxCcu6_enableAdditionalPrescaler (Ifx_CCU6 *ccu6, IfxCcu6_TimerId timer)
 Enables the additional prescaler of 1/256 can be enabled for the prescaler of T12 or T13 to support higher clock frequencies. More...
 
IFX_INLINE void IfxCcu6_enableCountEvent (Ifx_CCU6 *ccu6, boolean t12, boolean t13)
 Sets the single shot-mode of Timers (T12, T13). More...
 
IFX_INLINE void IfxCcu6_enableDeadTime (Ifx_CCU6 *ccu6, IfxCcu6_T12Channel channel)
 Enables the dead time generation for each compare channel (0, 1, 2) of Timer12. More...
 
IFX_INLINE void IfxCcu6_enableDelayBypass (Ifx_CCU6 *ccu6)
 Enables the delay of the source signal for the sampling of the Hall input pattern (selected by HSYNC) by the Dead-Time Counter 0. More...
 
IFX_INLINE void IfxCcu6_enableHallPatternShadowTransfer (Ifx_CCU6 *ccu6)
 Sets HP_ST immediately to update bit fields EXPH and CURH by EXPHS and CURHS. More...
 
IFX_INLINE void IfxCcu6_enableInterrupt (Ifx_CCU6 *ccu6, IfxCcu6_InterruptSource source)
 Enables the selected interrupt. More...
 
IFX_INLINE void IfxCcu6_enableMultiChannelMode (Ifx_CCU6 *ccu6)
 Sets multi channel mode available, A write access to MCMOUTS is executed. More...
 
IFX_INLINE void IfxCcu6_enableMultiChannelPwmPatternShadowTransfer (Ifx_CCU6 *ccu6)
 Sets MCM_ST immediately to update bit field MCMP by the value of MCMPS. More...
 
IFX_INLINE void IfxCcu6_enableMultiChannelT12DowncountingShadowTransfer (Ifx_CCU6 *ccu6)
 Enables the shadow transfer T12_ST if flag MCMOUT.R is set or
becomes set while a T12 one match is detected while counting down. More...
 
IFX_INLINE void IfxCcu6_enableMultiChannelT12UpcountingShadowTransfer (Ifx_CCU6 *ccu6)
 Enables the shadow transfer T12_ST if flag MCMOUT.R is set or
becomes set while a T12 period match is detected while counting up. More...
 
IFX_INLINE void IfxCcu6_enableMultiChannelT13UpcountingShadowTransfer (Ifx_CCU6 *ccu6)
 Enables the shadow transfer T13_ST if flag MCMOUT.R is set or
becomes set while a T13 period match is detected. More...
 
IFX_INLINE void IfxCcu6_enableShadowTransfer (Ifx_CCU6 *ccu6, boolean t12, boolean t13)
 Enables shadow transfers of the timers (T12, T13 individually or together based on the selection) More...
 
IFX_INLINE void IfxCcu6_enableSingleShotMode (Ifx_CCU6 *ccu6, IfxCcu6_TimerId timer)
 Enables the single shot-mode of Timers (T12 T13). More...
 
IFX_INLINE void IfxCcu6_enableT13InvertedModulation (Ifx_CCU6 *ccu6)
 Enables the Inversion of T13 signal for the modulation of the CC6x and COUT6x (x = 0, 1, 2) signals
T13 output CC63_O is equal to CC63ST. More...
 
IFX_INLINE void IfxCcu6_enableTimer (Ifx_CCU6 *ccu6, IfxCcu6_TimerId timer)
 Sets Timer12 block available, A write access to T12PR is executed. More...
 
IFX_INLINE void IfxCcu6_enableTrap (Ifx_CCU6 *ccu6, IfxCcu6_ChannelOut channelOut)
 Enables the trap functionality for the corresponding output signals. More...
 
IFX_INLINE void IfxCcu6_enableTrapPin (Ifx_CCU6 *ccu6)
 Enables the input (pin) function for the trap generation. More...
 
IFX_INLINE void IfxCcu6_setCaptureCompareInputSignal (Ifx_CCU6 *ccu6, IfxCcu6_CaptureCompareInput input, IfxCcu6_CaptureCompareInputSignal signal)
 selects the actual input signal for the capture compare inputs. More...
 
IFX_EXTERN void IfxCcu6_disableModulationOutput (Ifx_CCU6 *ccu6, IfxCcu6_TimerId timer, IfxCcu6_ChannelOut channelOut)
 Disables the modulation of the corresponding output signal by PWM pattern generated by the timers T12 and T13. More...
 
IFX_EXTERN void IfxCcu6_enableModulationOutput (Ifx_CCU6 *ccu6, IfxCcu6_TimerId timer, IfxCcu6_ChannelOut channelOut)
 Enables the modulation of the corresponding output signal by PWM pattern generated by the timers T12 and T13. More...
 
IFX_EXTERN void IfxCcu6_enableModule (Ifx_CCU6 *ccu6)
 Enables the selected CCU6 kernel. More...
 

Detailed Description

Function Documentation

IFX_INLINE void IfxCcu6_disableAdditionalPrescaler ( Ifx_CCU6 *  ccu6,
IfxCcu6_TimerId  timer 
)

Disables the additional prescaler of 1/256 can be enabled for the prescaler of T12 or T13 to support higher clock frequencies.

Parameters
ccu6Pointer to the base of CCU6 registers
timerTimer selection, ( Timer12 / Timer13 )
Returns
None

Definition at line 1293 of file IfxCcu6.h.

IFX_INLINE void IfxCcu6_disableDeadTime ( Ifx_CCU6 *  ccu6,
IfxCcu6_T12Channel  channel 
)

Disables the dead time generation for each compare channel (0, 1, 2) of Timer12.

Parameters
ccu6Pointer to the base of CCU6 registers
channelTimer12 Capture compare channel number
Returns
None

Definition at line 1301 of file IfxCcu6.h.

IFX_INLINE void IfxCcu6_disableDelayBypass ( Ifx_CCU6 *  ccu6)

Disables the delay of the source signal for the sampling of the Hall input pattern (selected by HSYNC)

Parameters
ccu6Pointer to the base of CCU6 registers
Returns
None

Definition at line 1309 of file IfxCcu6.h.

Referenced by IfxCcu6_PwmBc_initModule().

IFX_INLINE void IfxCcu6_disableInterrupt ( Ifx_CCU6 *  ccu6,
IfxCcu6_InterruptSource  source 
)

Disables the selected interrupt.

Parameters
ccu6Pointer to the base of CCU6 registers
sourceInterrupt source selection
Returns
None

Definition at line 1315 of file IfxCcu6.h.

IFX_EXTERN void IfxCcu6_disableModulationOutput ( Ifx_CCU6 *  ccu6,
IfxCcu6_TimerId  timer,
IfxCcu6_ChannelOut  channelOut 
)

Disables the modulation of the corresponding output signal by PWM pattern generated by the timers T12 and T13.

Parameters
ccu6Pointer to the base of CCU6 registers
timerTimer selection, ( Timer12 / Timer13 )
channelOutCapture compare output selection
Returns
None

Definition at line 53 of file IfxCcu6.c.

Referenced by IfxCcu6_PwmBc_stop(), IfxCcu6_TPwm_pause(), and IfxCcu6_TPwm_stop().

IFX_INLINE void IfxCcu6_disableMultiChannelMode ( Ifx_CCU6 *  ccu6)

Sets multi channel mode unavailable, A write access to MCMOUTS is ignored.

Parameters
ccu6Pointer to the base of CCU6 registers
Returns
None

Definition at line 1322 of file IfxCcu6.h.

IFX_INLINE void IfxCcu6_disableShadowTransfer ( Ifx_CCU6 *  ccu6,
boolean  t12,
boolean  t13 
)

Disables shadow transfers of the timers (T12, T13 individually or together based on the selection)

Parameters
ccu6Pointer to the base of CCU6 registers
t12Timer12 choice (enable / disable)
t13Timer13 choice (enable / disable)
Returns
None

Definition at line 1328 of file IfxCcu6.h.

Referenced by IfxCcu6_Icu_stopCapture(), IfxCcu6_PwmBc_stop(), IfxCcu6_Timer_stop(), IfxCcu6_Timer_synchronousStop(), and IfxCcu6_TPwm_stop().

IFX_INLINE void IfxCcu6_disableSingleShotMode ( Ifx_CCU6 *  ccu6,
IfxCcu6_TimerId  timer 
)

Disables the single shot-mode of Timers (T12 T13).

Parameters
ccu6Pointer to the base of CCU6 registers
timerTimer selection, ( Timer12 / Timer13 )
Returns
None

Definition at line 1338 of file IfxCcu6.h.

Referenced by IfxCcu6_TimerWithTrigger_setSingleMode().

IFX_INLINE void IfxCcu6_disableT13InvertedModulation ( Ifx_CCU6 *  ccu6)

Disables the Inversion of T13 signal for the modulation of the CC6x and COUT6x (x = 0, 1, 2) signals
T13 output CC63_O is equal to CC63ST.

Parameters
ccu6Pointer to the base of CCU6 registers
Returns
None

Definition at line 1345 of file IfxCcu6.h.

IFX_INLINE void IfxCcu6_disableTimer ( Ifx_CCU6 *  ccu6,
IfxCcu6_TimerId  timer 
)

Sets Timer12 block unavailable, A write access to T12PR is ignored.

Parameters
ccu6Pointer to the base of CCU6 registers
timerTimer selection, ( Timer12 / Timer13 )
Returns
None

Definition at line 1351 of file IfxCcu6.h.

IFX_INLINE void IfxCcu6_disableTrap ( Ifx_CCU6 *  ccu6,
IfxCcu6_ChannelOut  channelOut 
)

Disables the trap functionality for the corresponding output signals.

Parameters
ccu6Pointer to the base of CCU6 registers
channelOutCapture compare output selection
Returns
None

Definition at line 1358 of file IfxCcu6.h.

IFX_INLINE void IfxCcu6_disableTrapPin ( Ifx_CCU6 *  ccu6)

Disables the input (pin) function for the trap generation.

Parameters
ccu6Pointer to the base of CCU6 registers
Returns
None

Definition at line 1366 of file IfxCcu6.h.

IFX_INLINE void IfxCcu6_enableAdditionalPrescaler ( Ifx_CCU6 *  ccu6,
IfxCcu6_TimerId  timer 
)

Enables the additional prescaler of 1/256 can be enabled for the prescaler of T12 or T13 to support higher clock frequencies.

Parameters
ccu6Pointer to the base of CCU6 registers
timerTimer selection, ( Timer12 / Timer13 )
Returns
None

Definition at line 1372 of file IfxCcu6.h.

Referenced by IfxCcu6_setT12Frequency(), and IfxCcu6_setT13Frequency().

IFX_INLINE void IfxCcu6_enableCountEvent ( Ifx_CCU6 *  ccu6,
boolean  t12,
boolean  t13 
)

Sets the single shot-mode of Timers (T12, T13).

Parameters
ccu6Pointer to the base of CCU6 registers
t12Timer12 choice (enable / disable)
t13Timer13 choice (enable / disable)
Returns
None

Definition at line 1380 of file IfxCcu6.h.

Referenced by IfxCcu6_Timer_countOneStep().

IFX_INLINE void IfxCcu6_enableDeadTime ( Ifx_CCU6 *  ccu6,
IfxCcu6_T12Channel  channel 
)

Enables the dead time generation for each compare channel (0, 1, 2) of Timer12.

Parameters
ccu6Pointer to the base of CCU6 registers
channelTimer12 Capture compare channel number
Returns
None

Definition at line 1390 of file IfxCcu6.h.

Referenced by IfxCcu6_PwmBc_initModule(), IfxCcu6_PwmHl_init(), and IfxCcu6_TPwm_initModule().

IFX_INLINE void IfxCcu6_enableDelayBypass ( Ifx_CCU6 *  ccu6)

Enables the delay of the source signal for the sampling of the Hall input pattern (selected by HSYNC) by the Dead-Time Counter 0.

Parameters
ccu6Pointer to the base of CCU6 registers
Returns
None

Definition at line 1398 of file IfxCcu6.h.

IFX_INLINE void IfxCcu6_enableHallPatternShadowTransfer ( Ifx_CCU6 *  ccu6)

Sets HP_ST immediately to update bit fields EXPH and CURH by EXPHS and CURHS.

Parameters
ccu6Pointer to the base of CCU6 registers
Returns
None

Definition at line 1404 of file IfxCcu6.h.

IFX_INLINE void IfxCcu6_enableInterrupt ( Ifx_CCU6 *  ccu6,
IfxCcu6_InterruptSource  source 
)

Enables the selected interrupt.

Parameters
ccu6Pointer to the base of CCU6 registers
sourceInterrupt source selection
Returns
None

Definition at line 1410 of file IfxCcu6.h.

Referenced by IfxCcu6_Icu_initChannel(), IfxCcu6_PwmBc_initModule(), IfxCcu6_Timer_initModule(), IfxCcu6_TimerWithTrigger_init(), and IfxCcu6_TPwm_initModule().

IFX_EXTERN void IfxCcu6_enableModulationOutput ( Ifx_CCU6 *  ccu6,
IfxCcu6_TimerId  timer,
IfxCcu6_ChannelOut  channelOut 
)

Enables the modulation of the corresponding output signal by PWM pattern generated by the timers T12 and T13.

Parameters
ccu6Pointer to the base of CCU6 registers
timerTimer selection, ( Timer12 / Timer13 )
channelOutCapture compare output selection
Returns
None

Definition at line 84 of file IfxCcu6.c.

Referenced by IfxCcu6_PwmBc_initModule(), IfxCcu6_TimerWithTrigger_init(), IfxCcu6_TPwm_initModule(), and IfxCcu6_TPwm_resume().

IFX_EXTERN void IfxCcu6_enableModule ( Ifx_CCU6 *  ccu6)

Enables the selected CCU6 kernel.

Parameters
ccu6Pointer to the base of CCU6 registers
Returns
None

Definition at line 115 of file IfxCcu6.c.

Referenced by IfxCcu6_Icu_initModule(), IfxCcu6_PwmBc_initModule(), IfxCcu6_Timer_initModule(), IfxCcu6_TimerWithTrigger_init(), and IfxCcu6_TPwm_initModule().

IFX_INLINE void IfxCcu6_enableMultiChannelMode ( Ifx_CCU6 *  ccu6)

Sets multi channel mode available, A write access to MCMOUTS is executed.

Parameters
ccu6Pointer to the base of CCU6 registers
Returns
None

Definition at line 1417 of file IfxCcu6.h.

IFX_INLINE void IfxCcu6_enableMultiChannelPwmPatternShadowTransfer ( Ifx_CCU6 *  ccu6)

Sets MCM_ST immediately to update bit field MCMP by the value of MCMPS.

Parameters
ccu6Pointer to the base of CCU6 registers
Returns
None

Definition at line 1423 of file IfxCcu6.h.

IFX_INLINE void IfxCcu6_enableMultiChannelT12DowncountingShadowTransfer ( Ifx_CCU6 *  ccu6)

Enables the shadow transfer T12_ST if flag MCMOUT.R is set or
becomes set while a T12 one match is detected while counting down.

Parameters
ccu6Pointer to the base of CCU6 registers
Returns
None

Definition at line 1429 of file IfxCcu6.h.

IFX_INLINE void IfxCcu6_enableMultiChannelT12UpcountingShadowTransfer ( Ifx_CCU6 *  ccu6)

Enables the shadow transfer T12_ST if flag MCMOUT.R is set or
becomes set while a T12 period match is detected while counting up.

Parameters
ccu6Pointer to the base of CCU6 registers
Returns
None

Definition at line 1435 of file IfxCcu6.h.

IFX_INLINE void IfxCcu6_enableMultiChannelT13UpcountingShadowTransfer ( Ifx_CCU6 *  ccu6)

Enables the shadow transfer T13_ST if flag MCMOUT.R is set or
becomes set while a T13 period match is detected.

Parameters
ccu6Pointer to the base of CCU6 registers
Returns
None

Definition at line 1441 of file IfxCcu6.h.

IFX_INLINE void IfxCcu6_enableShadowTransfer ( Ifx_CCU6 *  ccu6,
boolean  t12,
boolean  t13 
)

Enables shadow transfers of the timers (T12, T13 individually or together based on the selection)

Parameters
ccu6Pointer to the base of CCU6 registers
t12Timer12 choice (enable / disable)
t13Timer13 choice (enable / disable)
Returns
None

Definition at line 1447 of file IfxCcu6.h.

Referenced by IfxCcu6_Icu_startCapture(), IfxCcu6_PwmBc_start(), IfxCcu6_setT12Frequency(), IfxCcu6_setT13Frequency(), IfxCcu6_Timer_countOneStep(), IfxCcu6_Timer_start(), IfxCcu6_Timer_startSingleShotMode(), IfxCcu6_Timer_synchronousStart(), IfxCcu6_TimerWithTrigger_applyUpdate(), and IfxCcu6_TPwm_start().

IFX_INLINE void IfxCcu6_enableSingleShotMode ( Ifx_CCU6 *  ccu6,
IfxCcu6_TimerId  timer 
)

Enables the single shot-mode of Timers (T12 T13).

Parameters
ccu6Pointer to the base of CCU6 registers
timerTimer selection, ( Timer12 / Timer13 )
Returns
None

Definition at line 1457 of file IfxCcu6.h.

Referenced by IfxCcu6_Timer_startSingleShotMode(), and IfxCcu6_TimerWithTrigger_setSingleMode().

IFX_INLINE void IfxCcu6_enableT13InvertedModulation ( Ifx_CCU6 *  ccu6)

Enables the Inversion of T13 signal for the modulation of the CC6x and COUT6x (x = 0, 1, 2) signals
T13 output CC63_O is equal to CC63ST.

Parameters
ccu6Pointer to the base of CCU6 registers
Returns
None

Definition at line 1464 of file IfxCcu6.h.

IFX_INLINE void IfxCcu6_enableTimer ( Ifx_CCU6 *  ccu6,
IfxCcu6_TimerId  timer 
)

Sets Timer12 block available, A write access to T12PR is executed.

Parameters
ccu6Pointer to the base of CCU6 registers
timerTimer selection, ( Timer12 / Timer13 )
Returns
None

Definition at line 1470 of file IfxCcu6.h.

Referenced by IfxCcu6_Icu_initModule(), IfxCcu6_PwmBc_initModule(), IfxCcu6_Timer_initModule(), and IfxCcu6_TPwm_initModule().

IFX_INLINE void IfxCcu6_enableTrap ( Ifx_CCU6 *  ccu6,
IfxCcu6_ChannelOut  channelOut 
)

Enables the trap functionality for the corresponding output signals.

Parameters
ccu6Pointer to the base of CCU6 registers
channelOutCapture compare output selection
Returns
None

Definition at line 1477 of file IfxCcu6.h.

IFX_INLINE void IfxCcu6_enableTrapPin ( Ifx_CCU6 *  ccu6)

Enables the input (pin) function for the trap generation.

Parameters
ccu6Pointer to the base of CCU6 registers
Returns
None

Definition at line 1485 of file IfxCcu6.h.

IFX_INLINE void IfxCcu6_setCaptureCompareInputSignal ( Ifx_CCU6 *  ccu6,
IfxCcu6_CaptureCompareInput  input,
IfxCcu6_CaptureCompareInputSignal  signal 
)

selects the actual input signal for the capture compare inputs.

Parameters
ccu6Pointer to the base of CCU6 registers
inputInput selection, ( CC6x capture input / CTRAP input / CCPOSx input )
signalselection of actual input signal for the module inputs
Returns
None

Definition at line 1710 of file IfxCcu6.h.

Referenced by IfxCcu6_initCc60InPin(), IfxCcu6_initCc61InPin(), IfxCcu6_initCc62InPin(), IfxCcu6_initCcpos0Pin(), IfxCcu6_initCcpos1Pin(), IfxCcu6_initCcpos2Pin(), and IfxCcu6_initCtrapPin().