iLLD_TC27xD  1.0
Enumerations
Collaboration diagram for Enumerations:

Enumerations

enum  IfxCcu6_CaptureCompareInput {
  IfxCcu6_CaptureCompareInput_cC60 = IFX_CCU6_PISEL0_ISCC60_OFF,
  IfxCcu6_CaptureCompareInput_cC61 = IFX_CCU6_PISEL0_ISCC61_OFF,
  IfxCcu6_CaptureCompareInput_cC62 = IFX_CCU6_PISEL0_ISCC62_OFF,
  IfxCcu6_CaptureCompareInput_cTRAP = IFX_CCU6_PISEL0_ISTRP_OFF,
  IfxCcu6_CaptureCompareInput_cCPOS0 = IFX_CCU6_PISEL0_ISPOS0_OFF,
  IfxCcu6_CaptureCompareInput_cCPOS1 = IFX_CCU6_PISEL0_ISPOS1_OFF,
  IfxCcu6_CaptureCompareInput_cCPOS2 = IFX_CCU6_PISEL0_ISPOS2_OFF
}
 Input selection, ( CC6x capture input / CTRAP input / CCPOSx input )
Definition in Ifx_CCU.PISEL0. More...
 
enum  IfxCcu6_CaptureCompareInputSignal {
  IfxCcu6_CaptureCompareInputSignal_a = 0,
  IfxCcu6_CaptureCompareInputSignal_b = 1,
  IfxCcu6_CaptureCompareInputSignal_c = 2,
  IfxCcu6_CaptureCompareInputSignal_d = 3
}
 Selection of actual input signal for the capture compare inputs. More...
 
enum  IfxCcu6_CaptureCompareState {
  IfxCcu6_CaptureCompareState_set = 0,
  IfxCcu6_CaptureCompareState_clear = 1,
  IfxCcu6_CaptureCompareState_toggle = 2
}
 capture/compare state to set / clear the CC6xST-bits More...
 
enum  IfxCcu6_ChannelOut {
  IfxCcu6_ChannelOut_cc0 = 0,
  IfxCcu6_ChannelOut_cout0 = 1,
  IfxCcu6_ChannelOut_cc1 = 2,
  IfxCcu6_ChannelOut_cout1 = 3,
  IfxCcu6_ChannelOut_cc2 = 4,
  IfxCcu6_ChannelOut_cout2 = 5,
  IfxCcu6_ChannelOut_cout3 = 6
}
 Capture compare output pins. More...
 
enum  IfxCcu6_CountingInputMode {
  IfxCcu6_CountingInputMode_internal = 0,
  IfxCcu6_CountingInputMode_manual = 1,
  IfxCcu6_CountingInputMode_externalRising = 2,
  IfxCcu6_CountingInputMode_externalFalling = 3
}
 Defines the input event leading to a counting action of the timer (T12 / T13)
Definition in Ifx_CCU.PISEL2.B.ISCNT12 / Ifx_CCU.PISEL2.B.ISCNT13. More...
 
enum  IfxCcu6_DelayBypass {
  IfxCcu6_DelayBypass_notActive = 0,
  IfxCcu6_DelayBypass_active = 1
}
 Controls whether the source signal for the sampling of the Hall input pattern (selected by HSYNC) is delayed by the Dead-Time Counter 0
Definition in Ifx_CCU.T12MSEL.B.DBYP. More...
 
enum  IfxCcu6_ExternalTriggerMode {
  IfxCcu6_ExternalTriggerMode_disable = 0,
  IfxCcu6_ExternalTriggerMode_risingEdge = 1,
  IfxCcu6_ExternalTriggerMode_fallingEdge = 2,
  IfxCcu6_ExternalTriggerMode_anyEdge = 3
}
 Defines the event of signal T1xHR that can set the run bit T1xR by HW
Definition in Ifx_CCU.TCTR2.B.T12RSEL / IIfx_CCU.TCTR2.B.T13RSEL. More...
 
enum  IfxCcu6_HallSensorTriggerMode {
  IfxCcu6_HallSensorTriggerMode_permanentCheck = 0,
  IfxCcu6_HallSensorTriggerMode_cM63 = 1,
  IfxCcu6_HallSensorTriggerMode_t13PM = 2,
  IfxCcu6_HallSensorTriggerMode_off = 3,
  IfxCcu6_HallSensorTriggerMode_t12PMCountingUp = 4,
  IfxCcu6_HallSensorTriggerMode_t12OMCountingDown = 5,
  IfxCcu6_HallSensorTriggerMode_cM61CountingUp = 6,
  IfxCcu6_HallSensorTriggerMode_cM61CountingDown = 7
}
 Defines the source for the sampling of the Hall input pattern and the comparison to the current and the expected Hall pattern bit fields
Definition in Ifx_CCU.T12MSEL.HSYNC. More...
 
enum  IfxCcu6_InterruptSource {
  IfxCcu6_InterruptSource_cc60RisingEdge = IFX_CCU6_IS_ICC60R_OFF,
  IfxCcu6_InterruptSource_cc60FallingEdge = IFX_CCU6_IS_ICC60F_OFF,
  IfxCcu6_InterruptSource_cc61RisingEdge = IFX_CCU6_IS_ICC61R_OFF,
  IfxCcu6_InterruptSource_cc61FallingEdge = IFX_CCU6_IS_ICC61F_OFF,
  IfxCcu6_InterruptSource_cc62RisingEdge = IFX_CCU6_IS_ICC62R_OFF,
  IfxCcu6_InterruptSource_cc62FallingEdge = IFX_CCU6_IS_ICC62F_OFF,
  IfxCcu6_InterruptSource_t12OneMatch = IFX_CCU6_IS_T12OM_OFF,
  IfxCcu6_InterruptSource_t12PeriodMatch = IFX_CCU6_IS_T12PM_OFF,
  IfxCcu6_InterruptSource_t13CompareMatch = IFX_CCU6_IS_T13CM_OFF,
  IfxCcu6_InterruptSource_t13PeriodMatch = IFX_CCU6_IS_T13PM_OFF,
  IfxCcu6_InterruptSource_trap = IFX_CCU6_IS_TRPF_OFF,
  IfxCcu6_InterruptSource_correctHallEvent = IFX_CCU6_IS_CHE_OFF,
  IfxCcu6_InterruptSource_wrongHallEvent = IFX_CCU6_IS_WHE_OFF
}
 Interrupt source selection Description in Ifx_CCU.IEN. More...
 
enum  IfxCcu6_MultiChannelSwitchingSelect {
  IfxCcu6_MultiChannelSwitchingSelect_noEvent = 0,
  IfxCcu6_MultiChannelSwitchingSelect_correctHallEvent = 1,
  IfxCcu6_MultiChannelSwitchingSelect_t13PeriodMatch = 2,
  IfxCcu6_MultiChannelSwitchingSelect_t12OneMatch = 3,
  IfxCcu6_MultiChannelSwitchingSelect_t12Channel1CompareMatch = 4,
  IfxCcu6_MultiChannelSwitchingSelect_t12PeriodMatch = 5
}
 Selection of the trigger request source (next multi-channel event) for the shadow transfer MCM_ST from MCMPS to MCMP
Definition in Ifx_CCU.MCMCTR.B.SWSEL. More...
 
enum  IfxCcu6_MultiChannelSwitchingSync {
  IfxCcu6_MultiChannelSwitchingSync_direct = 0,
  IfxCcu6_MultiChannelSwitchingSync_t13ZeroMatch = 1,
  IfxCcu6_MultiChannelSwitchingSync_t12ZeroMatch = 2
}
 Selection of the synchronization mechanism for the shadow transfer event MCM_ST
Definition in Ifx_CCU.MCMCTR.B.SWSYN. More...
 
enum  IfxCcu6_ServiceRequest {
  IfxCcu6_ServiceRequest_0 = 0,
  IfxCcu6_ServiceRequest_1,
  IfxCcu6_ServiceRequest_2,
  IfxCcu6_ServiceRequest_3
}
 Selection of service request outputs. More...
 
enum  IfxCcu6_SleepMode {
  IfxCcu6_SleepMode_enable = 0,
  IfxCcu6_SleepMode_disable = 1
}
 Enable/disable the sensitivity of the module to sleep signal
Definition in Ifx_CCU6.CLC.B.EDIS. More...
 
enum  IfxCcu6_T12Channel {
  IfxCcu6_T12Channel_0 = 0,
  IfxCcu6_T12Channel_1,
  IfxCcu6_T12Channel_2
}
 Capture compare channel of Timer12. More...
 
enum  IfxCcu6_T12ChannelMode {
  IfxCcu6_T12ChannelMode_off = 0,
  IfxCcu6_T12ChannelMode_compareMode = 1,
  IfxCcu6_T12ChannelMode_doubleRegisterCaptureRisingAndFalling = 4,
  IfxCcu6_T12ChannelMode_doubleRegisterCaptureRising = 5,
  IfxCcu6_T12ChannelMode_doubleRegisterCaptureFalling = 6,
  IfxCcu6_T12ChannelMode_doubleRegisterCaptureAny = 7,
  IfxCcu6_T12ChannelMode_hallSensor = 8,
  IfxCcu6_T12ChannelMode_hysteresisLikecompare = 9,
  IfxCcu6_T12ChannelMode_multiInputCaptureRisingAndFalling = 10,
  IfxCcu6_T12ChannelMode_multiInputCaptureFallingAndRising = 11,
  IfxCcu6_T12ChannelMode_multiInputCaptureBothRising = 12,
  IfxCcu6_T12ChannelMode_multiInputCaptureBothFalling = 13,
  IfxCcu6_T12ChannelMode_multiInputCaptureAny = 14
}
 The operating mode for the T12 channels are defined by the bit fields Ifx_CCU.T12MSEL.MSEL6x. More...
 
enum  IfxCcu6_T12CountDirection {
  IfxCcu6_T12CountDirection_up = 0,
  IfxCcu6_T12CountDirection_down = 1
}
 Counting direction of Timer12
Definition in Ifx_CCU.TCTR0.B.CDIR. More...
 
enum  IfxCcu6_T12CountMode {
  IfxCcu6_T12CountMode_edgeAligned = 0,
  IfxCcu6_T12CountMode_centerAligned = 1
}
 Operating mode of Timer 12
Definition in Ifx_CCU.TCTR0.B.CTM. More...
 
enum  IfxCcu6_T13TriggerDirection {
  IfxCcu6_T13TriggerDirection_noAction = 0,
  IfxCcu6_T13TriggerDirection_onT12CountingUp = 1,
  IfxCcu6_T13TriggerDirection_onT12CountingDown = 2,
  IfxCcu6_T13TriggerDirection_anyT12 = 3
}
 Delivers additional information to control the automatic set of bit T13R in the case that the trigger action defined by T13 trigger event control (T13TEC) is detected.
Definition in Ifx_CCU.TCTR2.B.T13TED. More...
 
enum  IfxCcu6_T13TriggerEvent {
  IfxCcu6_T13TriggerEvent_noAction = 0,
  IfxCcu6_T13TriggerEvent_onCC60RCompare = 1,
  IfxCcu6_T13TriggerEvent_onCC61RCompare = 2,
  IfxCcu6_T13TriggerEvent_onCC62RCompare = 3,
  IfxCcu6_T13TriggerEvent_onAnyT12Compare = 4,
  IfxCcu6_T13TriggerEvent_onT12Period = 5,
  IfxCcu6_T13TriggerEvent_onT12Zero = 6,
  IfxCcu6_T13TriggerEvent_onCCPOSxEdge = 7
}
 Selects the trigger event to start T13 (automatic set of T13R for synchronization to T12 compare signals)
Definition in Ifx_CCU.TCTR2.B.T13TEC. More...
 
enum  IfxCcu6_TimerId {
  IfxCcu6_TimerId_t12 = 0,
  IfxCcu6_TimerId_t13 = 1
}
 Timer number ( T12 / T13 ) More...
 
enum  IfxCcu6_TimerInputClock {
  IfxCcu6_TimerInputClock_fcc6 = 0,
  IfxCcu6_TimerInputClock_fcc6By2 = 1,
  IfxCcu6_TimerInputClock_fcc6By4 = 2,
  IfxCcu6_TimerInputClock_fcc6By8 = 3,
  IfxCcu6_TimerInputClock_fcc6By16 = 4,
  IfxCcu6_TimerInputClock_fcc6By32 = 5,
  IfxCcu6_TimerInputClock_fcc6By64 = 6,
  IfxCcu6_TimerInputClock_fcc6By128 = 7
}
 Selects the input clock for timers (T12 or T13) that is derived from the peripheral clock according to the equation
Definition in Ifx_CCU.TCTR0.B.T12CLK / Ifx_CCU.TCTR0.B.T13CLK. More...
 
enum  IfxCcu6_TimerInputSignal {
  IfxCcu6_TimerInputSignal_a = 0,
  IfxCcu6_TimerInputSignal_b = 1,
  IfxCcu6_TimerInputSignal_c = 2,
  IfxCcu6_TimerInputSignal_d = 3,
  IfxCcu6_TimerInputSignal_e = 0,
  IfxCcu6_TimerInputSignal_f = 1,
  IfxCcu6_TimerInputSignal_g = 2,
  IfxCcu6_TimerInputSignal_h = 3
}
 Selection of actual input signal for the timer inputs. More...
 
enum  IfxCcu6_TimerRunStatus {
  IfxCcu6_TimerRunStatus_stopped = 0,
  IfxCcu6_TimerRunStatus_running = 1
}
 Timer (T12 / T13) run status
Definition in Ifx_CCU.TCTR0.B.T12R and Ifx_CCU.TCTR0.B.T13R. More...
 
enum  IfxCcu6_TrapMode {
  IfxCcu6_TrapMode_automatic = 0,
  IfxCcu6_TrapMode_manual = 1
}
 Defines how the trap flag TRPF can be cleared after the trap input condition is no longer valid (either by CTRAP = 1 or by TRPPEN = 0)
Definition in Ifx_CCU.TRPCTR.B.TRPM2. More...
 
enum  IfxCcu6_TrapState {
  IfxCcu6_TrapState_t12Sync = 0,
  IfxCcu6_TrapState_t13Sync = 1,
  IfxCcu6_TrapState_immediate = 3
}
 Defines the behavior of the selected outputs when leaving the trap state, after the trap condition has become inactive again
Definition in Ifx_CCU.TRPCTR.B.TRPMx (x = 0, 1) More...
 

Detailed Description

Enumeration Type Documentation

Input selection, ( CC6x capture input / CTRAP input / CCPOSx input )
Definition in Ifx_CCU.PISEL0.

Enumerator
IfxCcu6_CaptureCompareInput_cC60 

CC60 capture input.

IfxCcu6_CaptureCompareInput_cC61 

CC61 capture input.

IfxCcu6_CaptureCompareInput_cC62 

CC62 capture input.

IfxCcu6_CaptureCompareInput_cTRAP 

CTRAP input.

IfxCcu6_CaptureCompareInput_cCPOS0 

CCPOS0 input.

IfxCcu6_CaptureCompareInput_cCPOS1 

CCPOS1 input.

IfxCcu6_CaptureCompareInput_cCPOS2 

CCPOS2 input.

Definition at line 61 of file IfxCcu6.h.

Selection of actual input signal for the capture compare inputs.

Enumerator
IfxCcu6_CaptureCompareInputSignal_a 

defines the input signal used as CC6x / CTRAP / CCPOSx / T1xHR input.

IfxCcu6_CaptureCompareInputSignal_b 

defines the input signal used as CC6x / CTRAP / CCPOSx / T1xHR input.

IfxCcu6_CaptureCompareInputSignal_c 

defines the input signal used as CC6x / CTRAP / CCPOSx / T1xHR input.

IfxCcu6_CaptureCompareInputSignal_d 

defines the input signal used as CC6x / CTRAP / CCPOSx / T1xHR input.

Definition at line 74 of file IfxCcu6.h.

capture/compare state to set / clear the CC6xST-bits

Enumerator
IfxCcu6_CaptureCompareState_set 

Bit CC6xST is set.

IfxCcu6_CaptureCompareState_clear 

Bit CC6xST is cleared.

IfxCcu6_CaptureCompareState_toggle 

Bit CC6xST is toggled.

Definition at line 84 of file IfxCcu6.h.

Capture compare output pins.

Enumerator
IfxCcu6_ChannelOut_cc0 

CC60 compare output CC0.

IfxCcu6_ChannelOut_cout0 

CC60 compare output COUT0.

IfxCcu6_ChannelOut_cc1 

CC61 compare output CC1.

IfxCcu6_ChannelOut_cout1 

CC61 compare output COUT1.

IfxCcu6_ChannelOut_cc2 

CC62 compare output CC2.

IfxCcu6_ChannelOut_cout2 

CC62 compare output COUT2.

IfxCcu6_ChannelOut_cout3 

CC63 compare output COUT3.

Definition at line 93 of file IfxCcu6.h.

Defines the input event leading to a counting action of the timer (T12 / T13)
Definition in Ifx_CCU.PISEL2.B.ISCNT12 / Ifx_CCU.PISEL2.B.ISCNT13.

Enumerator
IfxCcu6_CountingInputMode_internal 

The T1x prescaler generates the counting events, Bit TCTR4.T1xCNT is not taken into account.

IfxCcu6_CountingInputMode_manual 

Bit TCTR4.T1xCNT written with 1 is a counting event. The T1x prescaler is not taken into account.

IfxCcu6_CountingInputMode_externalRising 

The timer T1x is counting each rising edge detected in the selected T1xHR signal.

IfxCcu6_CountingInputMode_externalFalling 

The timer T1x is counting each falling edge detected in the selected T1xHR signal.

Definition at line 107 of file IfxCcu6.h.

Controls whether the source signal for the sampling of the Hall input pattern (selected by HSYNC) is delayed by the Dead-Time Counter 0
Definition in Ifx_CCU.T12MSEL.B.DBYP.

Enumerator
IfxCcu6_DelayBypass_notActive 

Dead-Time Counter 0 is generating a delay after the source signal becomes active.

IfxCcu6_DelayBypass_active 

Dead-Time Counter 0 is not used for a delay.

Definition at line 122 of file IfxCcu6.h.

Defines the event of signal T1xHR that can set the run bit T1xR by HW
Definition in Ifx_CCU.TCTR2.B.T12RSEL / IIfx_CCU.TCTR2.B.T13RSEL.

Enumerator
IfxCcu6_ExternalTriggerMode_disable 

The external setting of T1xR is disabled.

IfxCcu6_ExternalTriggerMode_risingEdge 

Bit T1xR is set if a rising edge of signal T1xHR is detected.

IfxCcu6_ExternalTriggerMode_fallingEdge 

Bit T1xR is set if a falling edge of signal T1xHR is detected.

IfxCcu6_ExternalTriggerMode_anyEdge 

Bit T1xR is set if an edge of signal T1xHR is detected.

Definition at line 132 of file IfxCcu6.h.

Defines the source for the sampling of the Hall input pattern and the comparison to the current and the expected Hall pattern bit fields
Definition in Ifx_CCU.T12MSEL.HSYNC.

Enumerator
IfxCcu6_HallSensorTriggerMode_permanentCheck 

Any edge at any of the inputs CCPOSx, independent from any PWM signal.

IfxCcu6_HallSensorTriggerMode_cM63 

A T13 Compare-Match.

IfxCcu6_HallSensorTriggerMode_t13PM 

A T13 Period-Match.

IfxCcu6_HallSensorTriggerMode_off 

Hall sampling triggered by HW sources is switched off.

IfxCcu6_HallSensorTriggerMode_t12PMCountingUp 

A T12 Period-Match while counting up (T12_PM and CDIR = 0)

IfxCcu6_HallSensorTriggerMode_t12OMCountingDown 

A T12 One-Match while counting down (T12_PM and CDIR = 1)

IfxCcu6_HallSensorTriggerMode_cM61CountingUp 

A T12 Compare-Match of compare channel CC61 while counting up (CM_61 and CDIR = 0)

IfxCcu6_HallSensorTriggerMode_cM61CountingDown 

A T12 Compare-Match of compare channel CC61 while counting down (CM_61 and CDIR = 1)

Definition at line 146 of file IfxCcu6.h.

Interrupt source selection Description in Ifx_CCU.IEN.

Enumerator
IfxCcu6_InterruptSource_cc60RisingEdge 

Capture compare match rising edge interrupt enable for channel CC60.

IfxCcu6_InterruptSource_cc60FallingEdge 

Capture compare match falling edge interrupt enable for channel CC60.

IfxCcu6_InterruptSource_cc61RisingEdge 

Capture compare match rising edge interrupt enable for channel CC61.

IfxCcu6_InterruptSource_cc61FallingEdge 

Capture compare match falling edge interrupt enable for channel CC61.

IfxCcu6_InterruptSource_cc62RisingEdge 

Capture compare match rising edge interrupt enable for channel CC62.

IfxCcu6_InterruptSource_cc62FallingEdge 

Capture compare match falling edge interrupt enable for channel CC62.

IfxCcu6_InterruptSource_t12OneMatch 

Interrupt enable for T12 one-match.

IfxCcu6_InterruptSource_t12PeriodMatch 

Interrupt enable for T12 period-match.

IfxCcu6_InterruptSource_t13CompareMatch 

Interrupt enable for T13 compare-match.

IfxCcu6_InterruptSource_t13PeriodMatch 

Interrupt enable for T13 period-match.

IfxCcu6_InterruptSource_trap 

Interrupt enable for trap flag.

IfxCcu6_InterruptSource_correctHallEvent 

Interrupt enable for correct hall event.

IfxCcu6_InterruptSource_wrongHallEvent 

Interrupt enable for wrong hall event.

Definition at line 162 of file IfxCcu6.h.

Selection of the trigger request source (next multi-channel event) for the shadow transfer MCM_ST from MCMPS to MCMP
Definition in Ifx_CCU.MCMCTR.B.SWSEL.

Enumerator
IfxCcu6_MultiChannelSwitchingSelect_noEvent 

No trigger request will be generated.

IfxCcu6_MultiChannelSwitchingSelect_correctHallEvent 

Correct Hall pattern detected (CM_CHE)

IfxCcu6_MultiChannelSwitchingSelect_t13PeriodMatch 

T13 period-match detected (while counting up)

IfxCcu6_MultiChannelSwitchingSelect_t12OneMatch 

T12 one-match (while counting down)

IfxCcu6_MultiChannelSwitchingSelect_t12Channel1CompareMatch 

T12 channel 1 compare-match detected (phase delay function)

IfxCcu6_MultiChannelSwitchingSelect_t12PeriodMatch 

T12 period match detected (while counting up)

Definition at line 188 of file IfxCcu6.h.

Selection of the synchronization mechanism for the shadow transfer event MCM_ST
Definition in Ifx_CCU.MCMCTR.B.SWSYN.

Enumerator
IfxCcu6_MultiChannelSwitchingSync_direct 

Direct, the trigger event immediately leads to the shadow transfer.

IfxCcu6_MultiChannelSwitchingSync_t13ZeroMatch 

A T13 zero-match triggers the shadow transfer.

IfxCcu6_MultiChannelSwitchingSync_t12ZeroMatch 

A T12 zero-match (while counting up) triggers the shadow transfer.

Definition at line 202 of file IfxCcu6.h.

Selection of service request outputs.

Enumerator
IfxCcu6_ServiceRequest_0 

Service request output SR0.

IfxCcu6_ServiceRequest_1 

Service request output SR1.

IfxCcu6_ServiceRequest_2 

Service request output SR2.

IfxCcu6_ServiceRequest_3 

Service request output SR3.

Definition at line 213 of file IfxCcu6.h.

Enable/disable the sensitivity of the module to sleep signal
Definition in Ifx_CCU6.CLC.B.EDIS.

Enumerator
IfxCcu6_SleepMode_enable 

enables sleep mode

IfxCcu6_SleepMode_disable 

disables sleep mode

Definition at line 224 of file IfxCcu6.h.

Capture compare channel of Timer12.

Enumerator
IfxCcu6_T12Channel_0 

T12 channel CC60.

IfxCcu6_T12Channel_1 

T12 channel CC61.

IfxCcu6_T12Channel_2 

T12 channel CC62.

Definition at line 232 of file IfxCcu6.h.

The operating mode for the T12 channels are defined by the bit fields Ifx_CCU.T12MSEL.MSEL6x.

Enumerator
IfxCcu6_T12ChannelMode_off 

Capture/Compare modes switched off.

IfxCcu6_T12ChannelMode_compareMode 

Compare mode.

IfxCcu6_T12ChannelMode_doubleRegisterCaptureRisingAndFalling 

CC6xIN rising edge: T12 stored in CC6xR, falling edge: T12 stored in CC6xSR.

IfxCcu6_T12ChannelMode_doubleRegisterCaptureRising 

CC6xIN rising edge: CC6nSR stored in CC6xR, falling edge: T12 stored in CC6xSR.

IfxCcu6_T12ChannelMode_doubleRegisterCaptureFalling 

CC6xIN rising edge: CC6nSR stored in CC6xR, falling edge: T12 stored in CC6xSR.

IfxCcu6_T12ChannelMode_doubleRegisterCaptureAny 

CC6xIN any active edge: CC6nSR stored in CC6xR, any active edge: T12 stored in CC6xSR.

IfxCcu6_T12ChannelMode_hallSensor 

Hall Sensor Mode, In order to properly enable this mode, all three MSEL6x fields have to be programmed to Hall Sensor mode.

IfxCcu6_T12ChannelMode_hysteresisLikecompare 

Hysteresis-like compare mode.

IfxCcu6_T12ChannelMode_multiInputCaptureRisingAndFalling 

CC6xIN rising edge: T12 stored in CC6xR, CCPOSx falling edge: T12 stored in CC6xSR.

IfxCcu6_T12ChannelMode_multiInputCaptureFallingAndRising 

CC6xIN falling edge: T12 stored in CC6xR, CCPOSx rising edge: T12 stored in CC6xSR.

IfxCcu6_T12ChannelMode_multiInputCaptureBothRising 

CC6xIN rising edge: T12 stored in CC6xR, CCPOSx rising edge: T12 stored in CC6xSR.

IfxCcu6_T12ChannelMode_multiInputCaptureBothFalling 

CC6xIN falling edge: T12 stored in CC6xR, CCPOSx falling edge: T12 stored in CC6xSR.

IfxCcu6_T12ChannelMode_multiInputCaptureAny 

CC6xIN any active edge : T12 stored in CC6xR, CCPOSx any active edge: T12 stored in CC6xSR.

Definition at line 241 of file IfxCcu6.h.

Counting direction of Timer12
Definition in Ifx_CCU.TCTR0.B.CDIR.

Enumerator
IfxCcu6_T12CountDirection_up 

Counting up.

IfxCcu6_T12CountDirection_down 

Counting down.

Definition at line 262 of file IfxCcu6.h.

Operating mode of Timer 12
Definition in Ifx_CCU.TCTR0.B.CTM.

Enumerator
IfxCcu6_T12CountMode_edgeAligned 

T12 always counts up and continues counting from zero after reaching the period value.

IfxCcu6_T12CountMode_centerAligned 

T12 counts down after detecting a period-match and counts up after detecting a one-match.

Definition at line 271 of file IfxCcu6.h.

Delivers additional information to control the automatic set of bit T13R in the case that the trigger action defined by T13 trigger event control (T13TEC) is detected.
Definition in Ifx_CCU.TCTR2.B.T13TED.

Enumerator
IfxCcu6_T13TriggerDirection_noAction 

no action

IfxCcu6_T13TriggerDirection_onT12CountingUp 

while T12 is counting up

IfxCcu6_T13TriggerDirection_onT12CountingDown 

while T12 is counting down

IfxCcu6_T13TriggerDirection_anyT12 

independent on the count direction of T12

Definition at line 282 of file IfxCcu6.h.

Selects the trigger event to start T13 (automatic set of T13R for synchronization to T12 compare signals)
Definition in Ifx_CCU.TCTR2.B.T13TEC.

Enumerator
IfxCcu6_T13TriggerEvent_noAction 

no action

IfxCcu6_T13TriggerEvent_onCC60RCompare 

set T13R on a T12 compare event on channel 0

IfxCcu6_T13TriggerEvent_onCC61RCompare 

set T13R on a T12 compare event on channel 1

IfxCcu6_T13TriggerEvent_onCC62RCompare 

set T13R on a T12 compare event on channel 2

IfxCcu6_T13TriggerEvent_onAnyT12Compare 

set T13R on any T12 compare event (ch. 0, 1, 2)

IfxCcu6_T13TriggerEvent_onT12Period 

set T13R upon a period-match of T12

IfxCcu6_T13TriggerEvent_onT12Zero 

set T13R upon a zero-match of T12 (while counting up)

IfxCcu6_T13TriggerEvent_onCCPOSxEdge 

set T13R on any edge of inputs CCPOSx

Definition at line 293 of file IfxCcu6.h.

Timer number ( T12 / T13 )

Enumerator
IfxCcu6_TimerId_t12 

Timer 12.

IfxCcu6_TimerId_t13 

Timer 13.

Definition at line 308 of file IfxCcu6.h.

Selects the input clock for timers (T12 or T13) that is derived from the peripheral clock according to the equation
Definition in Ifx_CCU.TCTR0.B.T12CLK / Ifx_CCU.TCTR0.B.T13CLK.

Enumerator
IfxCcu6_TimerInputClock_fcc6 

fcc6

IfxCcu6_TimerInputClock_fcc6By2 

fcc6 / 2

IfxCcu6_TimerInputClock_fcc6By4 

fcc6 / 4

IfxCcu6_TimerInputClock_fcc6By8 

fcc6 / 8

IfxCcu6_TimerInputClock_fcc6By16 

fcc6 / 16

IfxCcu6_TimerInputClock_fcc6By32 

fcc6 / 32

IfxCcu6_TimerInputClock_fcc6By64 

fcc6 / 64

IfxCcu6_TimerInputClock_fcc6By128 

fcc6 / 128

Definition at line 317 of file IfxCcu6.h.

Selection of actual input signal for the timer inputs.

Enumerator
IfxCcu6_TimerInputSignal_a 

defines the input signal used as CC6x / CTRAP / CCPOSx / T1xHR input.

IfxCcu6_TimerInputSignal_b 

defines the input signal used as CC6x / CTRAP / CCPOSx / T1xHR input.

IfxCcu6_TimerInputSignal_c 

defines the input signal used as CC6x / CTRAP / CCPOSx / T1xHR input.

IfxCcu6_TimerInputSignal_d 

defines the input signal used as CC6x / CTRAP / CCPOSx / T1xHR input.

IfxCcu6_TimerInputSignal_e 

defines the input signal used as T1xHR input.

IfxCcu6_TimerInputSignal_f 

defines the input signal used as T1xHR input.

IfxCcu6_TimerInputSignal_g 

defines the input signal used as T1xHR input.

IfxCcu6_TimerInputSignal_h 

defines the input signal used as T1xHR input.

Definition at line 331 of file IfxCcu6.h.

Timer (T12 / T13) run status
Definition in Ifx_CCU.TCTR0.B.T12R and Ifx_CCU.TCTR0.B.T13R.

Enumerator
IfxCcu6_TimerRunStatus_stopped 

Timer T1x is stopped.

IfxCcu6_TimerRunStatus_running 

Timer T1x is running.

Definition at line 346 of file IfxCcu6.h.

Defines how the trap flag TRPF can be cleared after the trap input condition is no longer valid (either by CTRAP = 1 or by TRPPEN = 0)
Definition in Ifx_CCU.TRPCTR.B.TRPM2.

Enumerator
IfxCcu6_TrapMode_automatic 

Bit TRPF is cleared by HW.

IfxCcu6_TrapMode_manual 

Bit TRPF stays 0, It has to be cleared by SW by writing ISR.RTRPF = 1.

Definition at line 355 of file IfxCcu6.h.

Defines the behavior of the selected outputs when leaving the trap state, after the trap condition has become inactive again
Definition in Ifx_CCU.TRPCTR.B.TRPMx (x = 0, 1)

Enumerator
IfxCcu6_TrapState_t12Sync 

The trap state is left when a zero-match of T12 (while counting up) is detected.

IfxCcu6_TrapState_t13Sync 

The trap state is left when a zeromatch of T13 is detected.

IfxCcu6_TrapState_immediate 

The trap state is left immediately without any synchronization to T12 or T13.

Definition at line 365 of file IfxCcu6.h.