iLLD_TC27xD
1.0
|
Functions | |
IFX_INLINE boolean | IfxCcu6_getDeadTimeStatus (Ifx_CCU6 *ccu6, IfxCcu6_T12Channel channel) |
Indicate the status of the dead time generation for each compare channel (0, 1, 2) of timer T12. More... | |
IFX_INLINE boolean | IfxCcu6_getHallPatternSampleState (Ifx_CCU6 *ccu6, IfxCcu6_T12Channel channel) |
Returns the value of the input Hall pattern of the Timer12 capture/compare channels CC6POS6x (x = 0, 1, 2) that has been compared to the current and expected value. More... | |
IFX_INLINE boolean | IfxCcu6_getInterruptStatusFlag (Ifx_CCU6 *ccu6, IfxCcu6_InterruptSource source) |
Gets the status of the selected interrupt flag. More... | |
IFX_INLINE boolean | IfxCcu6_getMultiChannelModeAvailabilityStatus (Ifx_CCU6 *ccu6) |
indicates if the multi-channel mode functionality is available More... | |
IFX_INLINE boolean | IfxCcu6_getMultiChannelPWMPatternShadowTransferStatus (Ifx_CCU6 *ccu6) |
Gets the status of the shadow transfer request from MCMPS to MCMP. More... | |
IFX_INLINE boolean | IfxCcu6_getShadowTransferStatus (Ifx_CCU6 *ccu6, IfxCcu6_TimerId timer) |
Returns the Timer (T12 / T13) shadow transfer enable status. More... | |
IFX_INLINE boolean | IfxCcu6_getT12CaptureCompareState (Ifx_CCU6 *ccu6, IfxCcu6_T12Channel channel) |
Returns the state of the Timer12 capture/compare channels CC6xST (x = 0, 1, 2) More... | |
IFX_INLINE IfxCcu6_T12CountDirection | IfxCcu6_getT12CountDirection (Ifx_CCU6 *ccu6) |
Returns the current counting direction of Timer12. More... | |
IFX_INLINE boolean | IfxCcu6_getT13CaptureCompareState (Ifx_CCU6 *ccu6) |
Returns the state of the Timer13 capture/compare channel CC63ST. More... | |
IFX_INLINE boolean | IfxCcu6_getTimerAvailabilityStatus (Ifx_CCU6 *ccu6, IfxCcu6_TimerId timer) |
indicates the Timer blocks (T12 / T13) availability More... | |
IFX_INLINE IfxCcu6_TimerRunStatus | IfxCcu6_getTimerRunStatus (Ifx_CCU6 *ccu6, IfxCcu6_TimerId timer) |
Returns the Timer (T12 / T13) run status. More... | |
IFX_EXTERN uint32 | IfxCcu6_getCaptureRegisterValue (Ifx_CCU6 *ccu6, IfxCcu6_T12Channel channel) |
Returns the capture register value of the selected channel. More... | |
IFX_EXTERN uint32 | IfxCcu6_getCaptureShadowRegisterValue (Ifx_CCU6 *ccu6, IfxCcu6_T12Channel channel) |
Returns the capture shadow register value of the selected channel. More... | |
IFX_EXTERN sint32 | IfxCcu6_getIndex (Ifx_CCU6 *ccu6) |
Returns CCU6 index. More... | |
IFX_EXTERN volatile Ifx_SRC_SRCR * | IfxCcu6_getSrcAddress (Ifx_CCU6 *ccu6, IfxCcu6_ServiceRequest serviceRequest) |
Returns the service request register. More... | |
IFX_EXTERN uint32 | IfxCcu6_readTimer (Ifx_CCU6 *ccu6, IfxCcu6_TimerId timer) |
Returns the current value of the timer register. More... | |
IFX_EXTERN uint32 IfxCcu6_getCaptureRegisterValue | ( | Ifx_CCU6 * | ccu6, |
IfxCcu6_T12Channel | channel | ||
) |
Returns the capture register value of the selected channel.
ccu6 | Pointer to the base of CCU6 registers |
channel | Timer12 Capture compare channel number |
Definition at line 128 of file IfxCcu6.c.
Referenced by IfxCcu6_PwmBc_getMotorSpeed().
IFX_EXTERN uint32 IfxCcu6_getCaptureShadowRegisterValue | ( | Ifx_CCU6 * | ccu6, |
IfxCcu6_T12Channel | channel | ||
) |
Returns the capture shadow register value of the selected channel.
ccu6 | Pointer to the base of CCU6 registers |
channel | Timer12 Capture compare channel number |
Definition at line 155 of file IfxCcu6.c.
Referenced by IfxCcu6_Icu_getTimeStamp(), and IfxCcu6_PwmBc_getMotorSpeed().
IFX_INLINE boolean IfxCcu6_getDeadTimeStatus | ( | Ifx_CCU6 * | ccu6, |
IfxCcu6_T12Channel | channel | ||
) |
IFX_INLINE boolean IfxCcu6_getHallPatternSampleState | ( | Ifx_CCU6 * | ccu6, |
IfxCcu6_T12Channel | channel | ||
) |
Returns the value of the input Hall pattern of the Timer12 capture/compare channels CC6POS6x (x = 0, 1, 2)
that has been compared to the current and expected value.
ccu6 | Pointer to the base of CCU6 registers |
channel | Timer12 Capture compare channel number |
IFX_EXTERN sint32 IfxCcu6_getIndex | ( | Ifx_CCU6 * | ccu6) |
Returns CCU6 index.
ccu6 | Specifies Ccu6 module |
Definition at line 182 of file IfxCcu6.c.
Referenced by IfxCcu6_getSrcAddress().
IFX_INLINE boolean IfxCcu6_getInterruptStatusFlag | ( | Ifx_CCU6 * | ccu6, |
IfxCcu6_InterruptSource | source | ||
) |
IFX_INLINE boolean IfxCcu6_getMultiChannelModeAvailabilityStatus | ( | Ifx_CCU6 * | ccu6) |
IFX_INLINE boolean IfxCcu6_getMultiChannelPWMPatternShadowTransferStatus | ( | Ifx_CCU6 * | ccu6) |
Gets the status of the shadow transfer request from MCMPS to MCMP.
ccu6 | Pointer to the base of CCU6 registers |
IFX_INLINE boolean IfxCcu6_getShadowTransferStatus | ( | Ifx_CCU6 * | ccu6, |
IfxCcu6_TimerId | timer | ||
) |
IFX_EXTERN volatile Ifx_SRC_SRCR* IfxCcu6_getSrcAddress | ( | Ifx_CCU6 * | ccu6, |
IfxCcu6_ServiceRequest | serviceRequest | ||
) |
Returns the service request register.
ccu6 | Specifies Ccu6 module |
serviceRequest | Selection of service request outputs |
Definition at line 199 of file IfxCcu6.c.
Referenced by IfxCcu6_Icu_initChannel(), IfxCcu6_PwmBc_initModule(), IfxCcu6_Timer_initModule(), IfxCcu6_TimerWithTrigger_init(), and IfxCcu6_TPwm_initModule().
IFX_INLINE boolean IfxCcu6_getT12CaptureCompareState | ( | Ifx_CCU6 * | ccu6, |
IfxCcu6_T12Channel | channel | ||
) |
IFX_INLINE IfxCcu6_T12CountDirection IfxCcu6_getT12CountDirection | ( | Ifx_CCU6 * | ccu6) |
IFX_INLINE boolean IfxCcu6_getT13CaptureCompareState | ( | Ifx_CCU6 * | ccu6) |
IFX_INLINE boolean IfxCcu6_getTimerAvailabilityStatus | ( | Ifx_CCU6 * | ccu6, |
IfxCcu6_TimerId | timer | ||
) |
indicates the Timer blocks (T12 / T13) availability
ccu6 | Pointer to the base of CCU6 registers |
timer | Timer selection, ( Timer12 / Timer13 ) |
Definition at line 1559 of file IfxCcu6.h.
Referenced by IfxCcu6_Icu_initModule(), IfxCcu6_PwmBc_initModule(), IfxCcu6_Timer_initModule(), and IfxCcu6_TPwm_initModule().
IFX_INLINE IfxCcu6_TimerRunStatus IfxCcu6_getTimerRunStatus | ( | Ifx_CCU6 * | ccu6, |
IfxCcu6_TimerId | timer | ||
) |
Returns the Timer (T12 / T13) run status.
ccu6 | Pointer to the base of CCU6 registers |
timer | Timer selection, ( Timer12 / Timer13 ) |
Definition at line 1566 of file IfxCcu6.h.
Referenced by IfxCcu6_Icu_startCapture().
IFX_EXTERN uint32 IfxCcu6_readTimer | ( | Ifx_CCU6 * | ccu6, |
IfxCcu6_TimerId | timer | ||
) |