Infineon MOTIX™ MCU TLE988x/9x Device Family SDK
Macros | Typedefs | Enumerations | Functions | Variables
CCU7_api

Detailed Description

Macros

#define CCU7_MODCTR_T12MODEN_Pos   (0x0U)
 
#define CCU7_MODCTR_T12MODEN_Msk   (0x3FU)
 
#define CCU7_MODCTR_T13MODEN_Pos   (0x8U)
 
#define CCU7_MODCTR_T13MODEN_Msk   (0x3F00U)
 

Typedefs

typedef enum CCU7_HallSync tCCU7_HallSync
 
typedef enum CCU7_MultiChMode_SWSEL tCCU7_MultiChMode_SWSEL
 
typedef enum CCU7_MultiChMode_SWSYN tCCU7_MultiChMode_SWSYN
 

Enumerations

enum  CCU7_HallSync {
  CCU7_HallSync_CCPOS0x_Any_Edge = 0u , CCU7_HallSync_T13_CM = 1u , CCU7_HallSync_T13_PM = 2u , CCU7_HallSync_HW_Hall_Sampling_Off = 3u ,
  CCU7_HallSync_T12_PM = 4u , CCU7_HallSync_T12_OM = 5u , CCU7_HallSync_T12_CM_Ch0_up = 6u , CCU7_HallSync_T12_CM_Ch0_down = 7u
}
 This enum lists the CCU7 Hall Synch Configuration. Used in function CCU7_setHallSync. More...
 
enum  CCU7_MultiChMode_SWSEL {
  CCU7_MultiChMode_SWSEL_No_Action = 0u , CCU7_MultiChMode_SWSEL_Correct_Hall = 1u , CCU7_MultiChMode_SWSEL_T13_PM = 2u , CCU7_MultiChMode_SWSEL_T12_OM = 3u ,
  CCU7_MultiChMode_SWSEL_T12_Ch1_CM = 4u , CCU7_MultiChMode_SWSEL_T12_PM = 5u
}
 This enum lists the CCU7 Multi Channel Mode Switching Selection. Used in function CCU7_setMultiChModeShadowTransferTrig. More...
 
enum  CCU7_MultiChMode_SWSYN { CCU7_MultiChMode_SWSYN_Direct = 0u , CCU7_MultiChMode_SWSYN_T13_ZM = 1u , CCU7_MultiChMode_SWSYN_T12_ZM = 2u }
 This enum lists the CCU7 Multi Channel Mode Switching Synchronization. Used in function CCU7_setMultiChModeShadowTransferSync. More...
 

Functions

sint8 CCU7_init (void)
 Initialize the CCU7 module. More...
 
sint8 CCU7_enModule (void)
 Enable the CCU7 module by calling the CCU7_init() function. More...
 
sint8 CCU7_disModule (void)
 Disable the CCU7 module by performing the following steps: stop T12 stop T13, T14, T15, T16 programming the passive states to LOW switching all CCU7 outputs to passive state. More...
 
INLINE uint16 CCU7_getT12CntVal (void)
 Get T12 Counter Value. More...
 
INLINE void CCU7_setT12PerVal (uint16 u16_value)
 Set T12 Period Value. More...
 
INLINE uint16 CCU7_getT12PerVal (void)
 Get T12 Period Value. More...
 
INLINE sint8 CCU7_setT12Freq_Hz (uint32 u32_freq_hz)
 Set T12 Period in Hz This function sets the T12 period value based on the input parameter u32_freq_hz related to the constant timer 12 clock CCU7_T12_CLK_HZ, taking the edge-/center-aligned mode into consideration. If the requested frequency by the parameter u32_freq_hz can be represented by the current clocking of the CCU7 module and the T12 width then this function returns '0' (success), else failure code (parameter out of range). More...
 
INLINE uint32 CCU7_getT12Freq_Hz (void)
 Get T12 Period in Hz This function returns the T12 period value related to the constant CCU7_T12_CLK_HZ in Hz, taking the edge-/center-aligned mode into consideration. More...
 
INLINE void CCU7_setCh0DeadTimeRise_ticks (uint8 u8_value)
 Set Dead-Time for Channel 0 rise in ticks. More...
 
INLINE uint8 CCU7_getCh0DeadTimeRise_ticks (void)
 Get Dead-Time for Channel 0 rise in ticks. More...
 
INLINE void CCU7_setCh0DeadTimeFall_ticks (uint8 u8_value)
 Set Dead-Time for Channel 0 fall in ticks. More...
 
INLINE uint8 CCU7_getCh0DeadTimeFall_ticks (void)
 Get Dead-Time for Channel 0 fall in ticks. More...
 
INLINE void CCU7_setCh1DeadTimeRise_ticks (uint8 u8_value)
 Set Dead-Time for Channel 1 rise in ticks. More...
 
INLINE uint8 CCU7_getCh1DeadTimeRise_ticks (void)
 Get Dead-Time for Channel 1 rise in ticks. More...
 
INLINE void CCU7_setCh1DeadTimeFall_ticks (uint8 u8_value)
 Set Dead-Time for Channel 1 fall in ticks. More...
 
INLINE uint8 CCU7_getCh1DeadTimeFall_ticks (void)
 Get Dead-Time for Channel 1 fall in ticks. More...
 
INLINE void CCU7_setCh2DeadTimeRise_ticks (uint8 u8_value)
 Set Dead-Time for Channel 2 rise in ticks. More...
 
INLINE uint8 CCU7_getCh2DeadTimeRise_ticks (void)
 Get Dead-Time for Channel 2 rise in ticks. More...
 
INLINE void CCU7_setCh2DeadTimeFall_ticks (uint8 u8_value)
 Set Dead-Time for Channel 2 fall in ticks. More...
 
INLINE uint8 CCU7_getCh2DeadTimeFall_ticks (void)
 Get Dead-Time for Channel 2 fall in ticks. More...
 
INLINE sint8 CCU7_setDeadTime_ns (uint8 u8_channel, uint32 u32_deadTimeRise_ns, uint32 u32_deadTimeFall_ns)
 Set the dead time values (rise/fall) for one Channel. This function sets the deadtime counter to a value given by the parameter deadTimeRise/Fall_ns with a relation to the constant clock value given in CCU7_DT_CLK_MHz. The deadtime is entered per channel, with u8_channel from 0..2, and as rising and falling value. If the requested deadtime, for either rising or falling, cannot be represented by the 8bit (overflow) deadtime counter, the function returns "parameter out of range" failure code, the previous dead time counter values for this channel remain unchanged. If the given input u8_channel is out of range a failure code "parameter out of range" is returned, no changes are made. If all parameters are valid the function returns "success". If the input deadtime is not given in multiple of the CCU7_DT_CLK_MHz, the deadtime will be rounded up to the next possible value, in this case the function still returns "success". More...
 
INLINE sint8 CCU7_getDeadTime_ns (uint8 u8_channel, uint32 *u32p_DeadTimeRise_ns, uint32 *u32p_DeadTimeFall_ns)
 This function reads the dead time counter value for the given channel, with u8_channel from 0..2, into the provided pointers u32p_DeadTimeRise_ns and u32p_DeadTimeFall_ns. The input parameters u32p_DeadTimeRise_ns and u32p_DeadTimeFall_ns are checked to point to a valid RAM address. The dead time in nano seconds related to the constant clock CCU7_DT_CLK_MHz. If at least one of the provided parameters is out of range a failure code "parameter out of range" is returned, the pointers u32p_DeadTimeRise_ns and u32p_DeadTimeFall_ns are not updated in this case. More...
 
INLINE uint16 CCU7_getCC70AVal (void)
 Get CC70A Capture/Compare Value. More...
 
INLINE uint16 CCU7_getCC71AVal (void)
 Get CC71A Capture/Compare Value. More...
 
INLINE uint16 CCU7_getCC72AVal (void)
 Get CC72A Capture/Compare Value. More...
 
INLINE void CCU7_setCC70AValShadow (uint16 u16_value)
 Set Shadow Register for CC70A Capture/Compare Value. More...
 
INLINE void CCU7_setCC71AValShadow (uint16 u16_value)
 Set Shadow Register for CC71A Capture/Compare Value. More...
 
INLINE void CCU7_setCC72AValShadow (uint16 u16_value)
 Set Shadow Register for CC72A Capture/Compare Value. More...
 
INLINE uint16 CCU7_getC70BVal (void)
 Get C70B Compare Value. More...
 
INLINE uint16 CCU7_getC71BVal (void)
 Get C71B Compare Value. More...
 
INLINE uint16 CCU7_getC72BVal (void)
 Get C72B Compare Value. More...
 
INLINE void CCU7_setC70BValShadow (uint16 u16_value)
 Set Shadow Register for C70B Compare Value. More...
 
INLINE void CCU7_setC71BValShadow (uint16 u16_value)
 Set Shadow Register for C71B Compare Value. More...
 
INLINE void CCU7_setC72BValShadow (uint16 u16_value)
 Set Shadow Register for C72B Compare Value. More...
 
INLINE uint16 CCU7_getT13CntVal (void)
 Get T13 Counter Value. More...
 
INLINE uint16 CCU7_getT14CntVal (void)
 Get T14 Counter Value. More...
 
INLINE uint16 CCU7_getT15CntVal (void)
 Get T15 Counter Value. More...
 
INLINE uint16 CCU7_getT16CntVal (void)
 Get T16 Counter Value. More...
 
INLINE void CCU7_setT13PerVal (uint16 u16_value)
 Set T13 Period Value. More...
 
INLINE uint16 CCU7_getT13PerVal (void)
 Get T13 Period Value. More...
 
INLINE void CCU7_setT14PerVal (uint16 u16_value)
 Set T14 Period Value. More...
 
INLINE uint16 CCU7_getT14PerVal (void)
 Get T14 Period Value. More...
 
INLINE void CCU7_setT15PerVal (uint16 u16_value)
 Set T15 Period Value. More...
 
INLINE uint16 CCU7_getT15PerVal (void)
 Get T15 Period Value. More...
 
INLINE void CCU7_setT16PerVal (uint16 u16_value)
 Set T16 Period Value. More...
 
INLINE uint16 CCU7_getT16PerVal (void)
 Get T16 Period Value. More...
 
INLINE uint16 CCU7_getC73Val (void)
 Get C73 Compare Value. More...
 
INLINE uint16 CCU7_getC74Val (void)
 Get C74 Compare Value. More...
 
INLINE uint16 CCU7_getC75Val (void)
 Get C75 Compare Value. More...
 
INLINE uint16 CCU7_getC76Val (void)
 Get C76 Compare Value. More...
 
INLINE void CCU7_setC73ValShadow (uint16 u16_value)
 Set Shadow Register for C73 Compare Value. More...
 
INLINE void CCU7_setC74ValShadow (uint16 u16_value)
 Set Shadow Register for C74 Compare Value. More...
 
INLINE void CCU7_setC75ValShadow (uint16 u16_value)
 Set Shadow Register for C75 Compare Value. More...
 
INLINE void CCU7_setC76ValShadow (uint16 u16_value)
 Set Shadow Register for C76 Compare Value. More...
 
INLINE uint8 CCU7_getHallPatternSampled (void)
 Get Sampled Hall Pattern. More...
 
INLINE uint16 CCU7_getCmpSts (void)
 Get Compare State Bits for C70B, C71B, C72B, C74ST, C75ST, C76ST, CC70AST, CC71AST, CC72AST, and CC73ST. More...
 
INLINE void CCU7_setHallSync (tCCU7_HallSync e_value)
 Set Hall Synchronization. More...
 
INLINE void CCU7_enT12SingleShot (void)
 Enable T12 Single Shot Control. More...
 
INLINE void CCU7_disT12SingleShot (void)
 Disable T12 Single Shot Control. More...
 
INLINE void CCU7_enT13SingleShot (void)
 Enable T13 Single Shot Control. More...
 
INLINE void CCU7_disT13SingleShot (void)
 Disable T13 Single Shot Control. More...
 
INLINE void CCU7_enT14SingleShot (void)
 Enable T14 Single Shot Control. More...
 
INLINE void CCU7_disT14SingleShot (void)
 Disable T14 Single Shot Control. More...
 
INLINE void CCU7_enT15SingleShot (void)
 Enable T15 Single Shot Control. More...
 
INLINE void CCU7_disT15SingleShot (void)
 Disable T15 Single Shot Control. More...
 
INLINE void CCU7_enT16SingleShot (void)
 Enable T16 Single Shot Control. More...
 
INLINE void CCU7_disT16SingleShot (void)
 Disable T16 Single Shot Control. More...
 
INLINE void CCU7_stopT12 (void)
 Stop T12. More...
 
INLINE void CCU7_startT12 (void)
 Start T12. More...
 
INLINE void CCU7_stopT13 (void)
 Stop T13. More...
 
INLINE void CCU7_startT13 (void)
 Start T13. More...
 
INLINE void CCU7_stopT14 (void)
 Stop T14. More...
 
INLINE void CCU7_startT14 (void)
 Start T14. More...
 
INLINE void CCU7_stopT15 (void)
 Stop T15. More...
 
INLINE void CCU7_startT15 (void)
 Start T15. More...
 
INLINE void CCU7_stopT16 (void)
 Stop T16. More...
 
INLINE void CCU7_startT16 (void)
 Start T16. More...
 
INLINE void CCU7_setT12Modulation (uint8 u8_value)
 Set T12 Modulation. More...
 
INLINE void CCU7_enMultiChMode (void)
 Enable Multi-Channel Mode. More...
 
INLINE void CCU7_disMultiChMode (void)
 Disable Multi-Channel Mode. More...
 
INLINE void CCU7_setT13Modulation (uint8 u8_value)
 Set T13 Modulation. More...
 
INLINE void CCU7_enTrap (void)
 Enable Trap Control for all signals (CC70/1/2, COUT70/1/2) More...
 
INLINE void CCU7_disTrap (void)
 Disable Trap Control. More...
 
INLINE uint8 CCU7_getTrapConfig (void)
 Get Trap Control This function returns '1' , if Trap is enabled for all signals (CC70/1/2, COUT70/1/2), otherwise it returns '0'. More...
 
INLINE void CCU7_enTrapPin (void)
 Enable Trap Pin. More...
 
INLINE void CCU7_disTrapPin (void)
 Disable Trap Pin. More...
 
INLINE void CCU7_setTrapModeAutomatic (void)
 Set trap mode to Automatic (Automatic Mode: Bit TRPF is cleared by HW if the trap input condition is no longer valid.) More...
 
INLINE void CCU7_setTrapModeManual (void)
 Set trap mode to Manual (Manual Mode: Bit TRPF stays 1 after the trap input condition is no longer valid. It has to be cleared by SW by writing ISR.RTRPF = 1.) More...
 
INLINE void CCU7_setMultiChModePWMPatternShadow (uint8 u8_value)
 Set Multi-Channel PWM Pattern Shadow. More...
 
INLINE void CCU7_setMultiChModeShadowTransferReq (void)
 Set Shadow Transfer Request for Multi-Channel Mode. More...
 
INLINE void CCU7_setHallPatternExpectedShadow (uint8 u8_value)
 Set Expected Hall Pattern Shadow. More...
 
INLINE void CCU7_setHallPatternCurrentShadow (uint8 u8_value)
 Set Current Hall Pattern Shadow. More...
 
INLINE void CCU7_setHallShadowTransferReq (void)
 Set Shadow Transfer Request for the Hall Pattern. More...
 
INLINE uint8 CCU7_getMultiChModePWMPattern (void)
 Get Multi-Channel PWM Pattern. More...
 
INLINE void CCU7_setMultiChModeShadowTransferTrig (tCCU7_MultiChMode_SWSEL e_value)
 Set Switching Selection. More...
 
INLINE void CCU7_setMultiChModeShadowTransferSync (tCCU7_MultiChMode_SWSYN e_value)
 Set Switching Synchronization. More...
 
INLINE void CCU7_clrLostBitEventSts (void)
 Clear Lost Bit Event Flag. More...
 
INLINE uint8 CCU7_getLostBitEventSts (void)
 Get Lost Bit Event Flag. More...
 
INLINE void CCU7_enLostBitEventInt (void)
 Enable Interrupt for Lost Bit Event - LBEEN. More...
 
INLINE void CCU7_disLostBitEventInt (void)
 Disable Interrupt for Lost Bit Event - LBEEN. More...
 
INLINE uint8 CCU7_getCC70ACmpMatchRiseIntSts (void)
 Get Capture, Compare-Match Rising Edge Flag for CC70A. More...
 
INLINE uint8 CCU7_getCC70ACmpMatchFallIntSts (void)
 Get Capture, Compare-Match Falling Edge Flag for CC70A. More...
 
INLINE uint8 CCU7_getCC71ACmpMatchRiseIntSts (void)
 Get Capture, Compare-Match Rising Edge Flag for CC71A. More...
 
INLINE uint8 CCU7_getCC71ACmpMatchFallIntSts (void)
 Get Capture, Compare-Match Falling Edge Flag for CC71A. More...
 
INLINE uint8 CCU7_getCC72ACmpMatchRiseIntSts (void)
 Get Capture, Compare-Match Rising Edge Flag for CC72A. More...
 
INLINE uint8 CCU7_getCC72ACmpMatchFallIntSts (void)
 Get Capture, Compare-Match Falling Edge Flag for CC72A. More...
 
INLINE uint8 CCU7_getT12OneMatchIntSts (void)
 Get T12 One-Match Flag. More...
 
INLINE uint8 CCU7_getT12PerMatchIntSts (void)
 Get T12 Period-Match Flag. More...
 
INLINE uint8 CCU7_getT13CmpMatchIntSts (void)
 Get T13 Compare-Match Flag. More...
 
INLINE uint8 CCU7_getT13PerMatchIntSts (void)
 Get T13 Period-Match Flag. More...
 
INLINE uint8 CCU7_getTrapCond (void)
 Get Trap Flag (Trap condition fulfilled) More...
 
INLINE uint8 CCU7_getTrapIntSts (void)
 Get Trap State (Synchronized to the event selected by CCU7-TRPCTR.bit.TRPM0 and CCU7-TRPCTR.bit.TRPM1). The selected outputs are set to the passive state while Trap State (TRPS) = 1. More...
 
INLINE uint8 CCU7_getHallEventCorrectIntSts (void)
 Get Correct Hall Event Flag. More...
 
INLINE uint8 CCU7_getHallEventWrongIntSts (void)
 Get Wrong Hall Event Flag. More...
 
INLINE uint8 CCU7_getHallIdleIntSts (void)
 Get Hall Idle State Flag. More...
 
INLINE uint8 CCU7_getMultiChModeShadowTransferReqIntSts (void)
 Get Multi-Channel Mode Shadow Transfer Request Flag. More...
 
INLINE void CCU7_clrCC70ACmpMatchRiseIntSts (void)
 Clear Capture, Compare-Match Rising Edge Flag for CC70A. More...
 
INLINE void CCU7_clrCC70ACmpMatchFallIntSts (void)
 Clear Capture, Compare-Match Falling Edge Flag for CC70A. More...
 
INLINE void CCU7_clrCC71ACmpMatchRiseIntSts (void)
 Clear Capture, Compare-Match Rising Edge Flag for CC71A. More...
 
INLINE void CCU7_clrCC71ACmpMatchFallIntSts (void)
 Clear Capture, Compare-Match Falling Edge Flag for CC71A. More...
 
INLINE void CCU7_clrCC72ACmpMatchRiseIntSts (void)
 Clear Capture, Compare-Match Rising Edge Flag for CC72A. More...
 
INLINE void CCU7_clrCC72ACmpMatchFallIntSts (void)
 Clear Capture, Compare-Match Falling Edge Flag for CC72A. More...
 
INLINE void CCU7_clrT12OneMatchIntSts (void)
 Clear T12 One-Match Flag. More...
 
INLINE void CCU7_clrT12PerMatchIntSts (void)
 Clear T12 Period-Match Flag. More...
 
INLINE void CCU7_clrT13CmpMatchIntSts (void)
 Clear T13 Compare-Match Flag. More...
 
INLINE void CCU7_clrT13PerMatchIntSts (void)
 Clear T13 Period-Match Flag. More...
 
INLINE void CCU7_clrTrapIntSts (void)
 Clear Trap Flag. More...
 
INLINE void CCU7_clrHallEventCorrectIntSts (void)
 Clear Correct Hall Event Flag. More...
 
INLINE void CCU7_clrHallEventWrongIntSts (void)
 Clear Wrong Hall Event Flag. More...
 
INLINE void CCU7_clrHallIdleIntSts (void)
 Clear Hall Idle Flag. More...
 
INLINE void CCU7_clrMultiChModeShadowTransferReqIntSts (void)
 Clear Multi-Channel Mode STR Flag. More...
 
INLINE void CCU7_enCC70ACmpMatchRiseInt (void)
 Enable Capture, Compare-Match Rising Edge Interrupt for CC70A. More...
 
INLINE void CCU7_disCC70ACmpMatchRiseInt (void)
 Disable Capture, Compare-Match Rising Edge Interrupt for CC70A. More...
 
INLINE void CCU7_enCC70ACmpMatchFallInt (void)
 Enable Capture, Compare-Match Falling Edge Interrupt for CC70A. More...
 
INLINE void CCU7_disCC70ACmpMatchFallInt (void)
 Disable Capture, Compare-Match Falling Edge Interrupt for CC70A. More...
 
INLINE void CCU7_enCC71ACmpMatchRiseInt (void)
 Enable Capture, Compare-Match Rising Edge Interrupt for CC71A. More...
 
INLINE void CCU7_disCC71ACmpMatchRiseInt (void)
 Disable Capture, Compare-Match Rising Edge Interrupt for CC71A. More...
 
INLINE void CCU7_enCC71ACmpMatchFallInt (void)
 Enable Capture, Compare-Match Falling Edge Interrupt for CC71A. More...
 
INLINE void CCU7_disCC71ACmpMatchFallInt (void)
 Disable Capture, Compare-Match Falling Edge Interrupt for CC71A. More...
 
INLINE void CCU7_enCC72ACmpMatchRiseInt (void)
 Enable Capture, Compare-Match Rising Edge Interrupt for CC72A. More...
 
INLINE void CCU7_disCC72ACmpMatchRiseInt (void)
 Disable Capture, Compare-Match Rising Edge Interrupt for CC72A. More...
 
INLINE void CCU7_enCC72ACmpMatchFallInt (void)
 Enable Capture, Compare-Match Falling Edge Interrupt for CC72A. More...
 
INLINE void CCU7_disCC72ACmpMatchFallInt (void)
 Disable Capture, Compare-Match Falling Edge Interrupt for CC72A. More...
 
INLINE void CCU7_enT12OneMatchInt (void)
 Enable Interrupt for T12 One-Match. More...
 
INLINE void CCU7_disT12OneMatchInt (void)
 Disable Interrupt for T12 One-Match. More...
 
INLINE void CCU7_enT12PerMatchInt (void)
 Enable Interrupt for T12 Period-Match. More...
 
INLINE void CCU7_disT12PerMatchInt (void)
 Disable Interrupt for T12 Period-Match. More...
 
INLINE void CCU7_enT13CmpMatchInt (void)
 Enable Interrupt for T13 Compare-Match. More...
 
INLINE void CCU7_disT13CmpMatchInt (void)
 Disable Interrupt for T13 Compare-Match. More...
 
INLINE void CCU7_enT13PerMatchInt (void)
 Enable Interrupt for T13 Period-Match. More...
 
INLINE void CCU7_disT13PerMatchInt (void)
 Disable Interrupt for T13 Period-Match. More...
 
INLINE void CCU7_enTrapCondInt (void)
 Enable Interrupt for Trap Flag (Trap condition fulfilled) More...
 
INLINE void CCU7_disTrapCondInt (void)
 Disable Interrupt for Trap Flag (Trap condition fulfilled) More...
 
INLINE void CCU7_enHallEventCorrectInt (void)
 Enable Interrupt for Correct Hall Event. More...
 
INLINE void CCU7_disHallEventCorrectInt (void)
 Disable Interrupt for Correct Hall Event. More...
 
INLINE void CCU7_enHallEventWrongInt (void)
 Enable Interrupt for Wrong Hall Event. More...
 
INLINE void CCU7_disHallEventWrongInt (void)
 Disable Interrupt for Wrong Hall Event. More...
 
INLINE void CCU7_enHallIdleInt (void)
 Enable Hall Idle Interrupt. More...
 
INLINE void CCU7_disHallIdleInt (void)
 Disable Hall Idle Interrupt. More...
 
INLINE void CCU7_enMultiChModeShadowTransferReqInt (void)
 Enable Multi-Channel Mode Shadow Transfer Interrupt. More...
 
INLINE void CCU7_disMultiChModeShadowTransferReqInt (void)
 Disable Multi-Channel Mode Shadow Transfer Interrupt. More...
 
INLINE uint8 CCU7_getC70BCmpMatchRiseIntSts (void)
 Get Compare-Match Rising Edge Flag for C70B. More...
 
INLINE uint8 CCU7_getC70BCmpMatchFallIntSts (void)
 Get Compare-Match Falling Edge Flag for C70B. More...
 
INLINE uint8 CCU7_getC71BCmpMatchRiseIntSts (void)
 Get Compare-Match Rising Edge Flag for C71B. More...
 
INLINE uint8 CCU7_getC71BCmpMatchFallIntSts (void)
 Get Compare-Match Falling Edge Flag for C71B. More...
 
INLINE uint8 CCU7_getC72BCmpMatchRiseIntSts (void)
 Get Compare-Match Rising Edge Flag for C72B. More...
 
INLINE uint8 CCU7_getC72BCmpMatchFallIntSts (void)
 Get Compare-Match Falling Edge Flag for C72B. More...
 
INLINE uint8 CCU7_getT14CmpMatchIntSts (void)
 Get T14 Compare-Match Flag. More...
 
INLINE uint8 CCU7_getT14PerMatchIntSts (void)
 Get T14 Period-Match Flag. More...
 
INLINE uint8 CCU7_getT15CmpMatchIntSts (void)
 Get T15 Compare-Match Flag. More...
 
INLINE uint8 CCU7_getT15PerMatchIntSts (void)
 Get T15 Period-Match Flag. More...
 
INLINE uint8 CCU7_getT16CmpMatchIntSts (void)
 Get T16 Compare-Match Flag. More...
 
INLINE uint8 CCU7_getT16PerMatchIntSts (void)
 Get T16 Period-Match Flag. More...
 
INLINE void CCU7_clrC70BCmpMatchRiseIntSts (void)
 Clear Compare-Match Rising Edge Flag for C70B. More...
 
INLINE void CCU7_clrC70BCmpMatchFallIntSts (void)
 Clear Compare-Match Falling Edge Flag for C70B. More...
 
INLINE void CCU7_clrC71BCmpMatchRiseIntSts (void)
 Clear Compare-Match Rising Edge Flag for C71B. More...
 
INLINE void CCU7_clrC71BCmpMatchFallIntSts (void)
 Clear Compare-Match Falling Edge Flag for C71B. More...
 
INLINE void CCU7_clrC72BCmpMatchRiseIntSts (void)
 Clear Compare-Match Rising Edge Flag for C72B. More...
 
INLINE void CCU7_clrC72BCmpMatchFallIntSts (void)
 Clear Compare-Match Falling Edge Flag for C72B. More...
 
INLINE void CCU7_clrT14CmpMatchIntSts (void)
 Clear T14 Compare-Match Flag. More...
 
INLINE void CCU7_clrT14PerMatchIntSts (void)
 Clear T14 Period-Match Flag. More...
 
INLINE void CCU7_clrT15CmpMatchIntSts (void)
 Clear T15 Compare-Match Flag. More...
 
INLINE void CCU7_clrT15PerMatchIntSts (void)
 Clear T15 Period-Match Flag. More...
 
INLINE void CCU7_clrT16CmpMatchIntSts (void)
 Clear T16 Compare-Match Flag. More...
 
INLINE void CCU7_clrT16PerMatchIntSts (void)
 Clear T16 Period-Match Flag. More...
 
INLINE void CCU7_enC70BCmpMatchRiseInt (void)
 Enable Compare-Match Rising Edge Interrupt for C70B. More...
 
INLINE void CCU7_disC70BCmpMatchRiseInt (void)
 Disable Compare-Match Rising Edge Interrupt for C70B. More...
 
INLINE void CCU7_enC70BCmpMatchFallInt (void)
 Enable Compare-Match Falling Edge Interrupt for C70B. More...
 
INLINE void CCU7_disC70BCmpMatchFallInt (void)
 Disable Compare-Match Falling Edge Interrupt for C70B. More...
 
INLINE void CCU7_enC71BCmpMatchRiseInt (void)
 Enable Compare-Match Rising Edge Interrupt for C71B. More...
 
INLINE void CCU7_disC71BCmpMatchRiseInt (void)
 Disable Compare-Match Rising Edge Interrupt for C71B. More...
 
INLINE void CCU7_enC71BCmpMatchFallInt (void)
 Enable Compare-Match Falling Edge Interrupt for C71B. More...
 
INLINE void CCU7_disC71BCmpMatchFallInt (void)
 Disable Compare-Match Falling Edge Interrupt for C71B. More...
 
INLINE void CCU7_enC72BCmpMatchRiseInt (void)
 Enable Compare-Match Rising Edge Interrupt for C72B. More...
 
INLINE void CCU7_disC72BCmpMatchRiseInt (void)
 Disable Compare-Match Rising Edge Interrupt for C72B. More...
 
INLINE void CCU7_enC72BCmpMatchFallInt (void)
 Enable Compare-Match Falling Edge Interrupt for C72B. More...
 
INLINE void CCU7_disC72BCmpMatchFallInt (void)
 Disable Compare-Match Falling Edge Interrupt for C72B. More...
 
INLINE void CCU7_enT14CmpMatchInt (void)
 Enable Interrupt for T14 Compare-Match. More...
 
INLINE void CCU7_disT14CmpMatchInt (void)
 Disable Interrupt for T14 Compare-Match. More...
 
INLINE void CCU7_enT14PerMatchInt (void)
 Enable Interrupt for T14 Period-Match. More...
 
INLINE void CCU7_disT14PerMatchInt (void)
 Disable Interrupt for T14 Period-Match. More...
 
INLINE void CCU7_enT15CmpMatchInt (void)
 Enable Interrupt for T15 Compare-Match. More...
 
INLINE void CCU7_disT15CmpMatchInt (void)
 Disable Interrupt for T15 Compare-Match. More...
 
INLINE void CCU7_enT15PerMatchInt (void)
 Enable Interrupt for T15 Period-Match. More...
 
INLINE void CCU7_disT15PerMatchInt (void)
 Disable Interrupt for T15 Period-Match. More...
 
INLINE void CCU7_enT16CmpMatchInt (void)
 Enable Interrupt for T16 Compare-Match. More...
 
INLINE void CCU7_disT16CmpMatchInt (void)
 Disable Interrupt for T16 Compare-Match. More...
 
INLINE void CCU7_enT16PerMatchInt (void)
 Enable Interrupt for T16 Period-Match. More...
 
INLINE void CCU7_disT16PerMatchInt (void)
 Disable Interrupt for T16 Period-Match. More...
 
INLINE void CCU7_setT12ShadowTransferReq (void)
 Set T12 Shadow Transfer Request. More...
 
INLINE void CCU7_setT13ShadowTransferReq (void)
 Set T13 Shadow Transfer Request. More...
 
INLINE void CCU7_setT14ShadowTransferReq (void)
 Set T14 Shadow Transfer Request. More...
 
INLINE void CCU7_setT15ShadowTransferReq (void)
 Set T15 Shadow Transfer Request. More...
 
INLINE void CCU7_setT16ShadowTransferReq (void)
 Set T16 Shadow Transfer Request. More...
 
void CCU7_setCC70AIntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Interrupt Node Pointer for CC70A Interrupts. More...
 
void CCU7_setCC71AIntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Interrupt Node Pointer for CC71A Interrupts. More...
 
void CCU7_setCC72AIntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Interrupt Node Pointer for CC72A Interrupts. More...
 
void CCU7_setCHEIntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Interrupt Node Pointer for the CHE Interrupt. More...
 
void CCU7_setErrorIntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Interrupt Node Pointer for Error Interrupts. More...
 
void CCU7_setT12IntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Interrupt Node Pointer for T12 Interrupts. More...
 
void CCU7_setT13IntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Interrupt Node Pointer for T13 Interrupts. More...
 
void CCU7_setC70BIntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Interrupt Node Pointer for C70B Interrupts. More...
 
void CCU7_setC71BIntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Interrupt Node Pointer for C71B Interrupts. More...
 
void CCU7_setC72BIntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Interrupt Node Pointer for C72B Interrupts. More...
 
void CCU7_setT14IntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Interrupt Node Pointer for T14 Interrupts. More...
 
void CCU7_setT15IntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Interrupt Node Pointer for T15 Interrupts. More...
 
void CCU7_setT16IntNodePtr (void) __attribute__((deprecated("Do not change this at runtime
 Set Interrupt Node Pointer for T16 Interrupts. More...
 

Variables

void use the ConfigWizard to configure this feature
 

Macro Definition Documentation

◆ CCU7_MODCTR_T12MODEN_Msk

#define CCU7_MODCTR_T12MODEN_Msk   (0x3FU)

◆ CCU7_MODCTR_T12MODEN_Pos

#define CCU7_MODCTR_T12MODEN_Pos   (0x0U)

◆ CCU7_MODCTR_T13MODEN_Msk

#define CCU7_MODCTR_T13MODEN_Msk   (0x3F00U)

◆ CCU7_MODCTR_T13MODEN_Pos

#define CCU7_MODCTR_T13MODEN_Pos   (0x8U)

Typedef Documentation

◆ tCCU7_HallSync

◆ tCCU7_MultiChMode_SWSEL

◆ tCCU7_MultiChMode_SWSYN

Enumeration Type Documentation

◆ CCU7_HallSync

This enum lists the CCU7 Hall Synch Configuration. Used in function CCU7_setHallSync.

Note
You can use this type via 'tCCU7_HallSync' or 'enum CCU7_HallSync'
Enumerator
CCU7_HallSync_CCPOS0x_Any_Edge 

Hall Synchronization Event: Any edge at one of the inputs CCPOSx

CCU7_HallSync_T13_CM 

Hall Synchronization Event: T13 compare-match

CCU7_HallSync_T13_PM 

Hall Synchronization Event: T13 period-match

CCU7_HallSync_HW_Hall_Sampling_Off 

Hall Synchronization Event: Hall

CCU7_HallSync_T12_PM 

Hall Synchronization Event: T12 period-match

CCU7_HallSync_T12_OM 

Hall Synchronization Event: T12 one-match

CCU7_HallSync_T12_CM_Ch0_up 

Hall Synchronization Event: T12 compare-match UP

CCU7_HallSync_T12_CM_Ch0_down 

Hall Synchronization Event: T12 compare-match DOWN

◆ CCU7_MultiChMode_SWSEL

This enum lists the CCU7 Multi Channel Mode Switching Selection. Used in function CCU7_setMultiChModeShadowTransferTrig.

Note
You can use this type via 'tCCU7_MultiChMode_SWSEL' or 'enum CCU7_MultiChMode_SWSEL'
Enumerator
CCU7_MultiChMode_SWSEL_No_Action 

The trigger request sources for Switching Selection: No request

CCU7_MultiChMode_SWSEL_Correct_Hall 

The trigger request sources for Switching Selection: Correct pattern

CCU7_MultiChMode_SWSEL_T13_PM 

The trigger request sources for Switching Selection: T13 period-match

CCU7_MultiChMode_SWSEL_T12_OM 

The trigger request sources for Switching Selection: T12 one-match

CCU7_MultiChMode_SWSEL_T12_Ch1_CM 

The trigger request sources for Switching Selection: T12 channel 1 compare-match

CCU7_MultiChMode_SWSEL_T12_PM 

The trigger request sources for Switching Selection: T12 period-match

◆ CCU7_MultiChMode_SWSYN

This enum lists the CCU7 Multi Channel Mode Switching Synchronization. Used in function CCU7_setMultiChModeShadowTransferSync.

Note
You can use this type via 'tCCU7_MultiChMode_SWSYN' or 'enum CCU7_MultiChMode_SWSYN'
Enumerator
CCU7_MultiChMode_SWSYN_Direct 

The trigger request sources for Switching Synchronization: Direct

CCU7_MultiChMode_SWSYN_T13_ZM 

The trigger request sources for Switching Synchronization: T13 zero-match

CCU7_MultiChMode_SWSYN_T12_ZM 

The trigger request sources for Switching Synchronization: T12 zero-match

Function Documentation

◆ CCU7_clrC70BCmpMatchFallIntSts()

INLINE void CCU7_clrC70BCmpMatchFallIntSts ( void  )

Clear Compare-Match Falling Edge Flag for C70B.

◆ CCU7_clrC70BCmpMatchRiseIntSts()

INLINE void CCU7_clrC70BCmpMatchRiseIntSts ( void  )

Clear Compare-Match Rising Edge Flag for C70B.

◆ CCU7_clrC71BCmpMatchFallIntSts()

INLINE void CCU7_clrC71BCmpMatchFallIntSts ( void  )

Clear Compare-Match Falling Edge Flag for C71B.

◆ CCU7_clrC71BCmpMatchRiseIntSts()

INLINE void CCU7_clrC71BCmpMatchRiseIntSts ( void  )

Clear Compare-Match Rising Edge Flag for C71B.

◆ CCU7_clrC72BCmpMatchFallIntSts()

INLINE void CCU7_clrC72BCmpMatchFallIntSts ( void  )

Clear Compare-Match Falling Edge Flag for C72B.

◆ CCU7_clrC72BCmpMatchRiseIntSts()

INLINE void CCU7_clrC72BCmpMatchRiseIntSts ( void  )

Clear Compare-Match Rising Edge Flag for C72B.

◆ CCU7_clrCC70ACmpMatchFallIntSts()

INLINE void CCU7_clrCC70ACmpMatchFallIntSts ( void  )

Clear Capture, Compare-Match Falling Edge Flag for CC70A.

◆ CCU7_clrCC70ACmpMatchRiseIntSts()

INLINE void CCU7_clrCC70ACmpMatchRiseIntSts ( void  )

Clear Capture, Compare-Match Rising Edge Flag for CC70A.

◆ CCU7_clrCC71ACmpMatchFallIntSts()

INLINE void CCU7_clrCC71ACmpMatchFallIntSts ( void  )

Clear Capture, Compare-Match Falling Edge Flag for CC71A.

◆ CCU7_clrCC71ACmpMatchRiseIntSts()

INLINE void CCU7_clrCC71ACmpMatchRiseIntSts ( void  )

Clear Capture, Compare-Match Rising Edge Flag for CC71A.

◆ CCU7_clrCC72ACmpMatchFallIntSts()

INLINE void CCU7_clrCC72ACmpMatchFallIntSts ( void  )

Clear Capture, Compare-Match Falling Edge Flag for CC72A.

◆ CCU7_clrCC72ACmpMatchRiseIntSts()

INLINE void CCU7_clrCC72ACmpMatchRiseIntSts ( void  )

Clear Capture, Compare-Match Rising Edge Flag for CC72A.

◆ CCU7_clrHallEventCorrectIntSts()

INLINE void CCU7_clrHallEventCorrectIntSts ( void  )

Clear Correct Hall Event Flag.

◆ CCU7_clrHallEventWrongIntSts()

INLINE void CCU7_clrHallEventWrongIntSts ( void  )

Clear Wrong Hall Event Flag.

◆ CCU7_clrHallIdleIntSts()

INLINE void CCU7_clrHallIdleIntSts ( void  )

Clear Hall Idle Flag.

◆ CCU7_clrLostBitEventSts()

INLINE void CCU7_clrLostBitEventSts ( void  )

Clear Lost Bit Event Flag.

◆ CCU7_clrMultiChModeShadowTransferReqIntSts()

INLINE void CCU7_clrMultiChModeShadowTransferReqIntSts ( void  )

Clear Multi-Channel Mode STR Flag.

◆ CCU7_clrT12OneMatchIntSts()

INLINE void CCU7_clrT12OneMatchIntSts ( void  )

Clear T12 One-Match Flag.

◆ CCU7_clrT12PerMatchIntSts()

INLINE void CCU7_clrT12PerMatchIntSts ( void  )

Clear T12 Period-Match Flag.

◆ CCU7_clrT13CmpMatchIntSts()

INLINE void CCU7_clrT13CmpMatchIntSts ( void  )

Clear T13 Compare-Match Flag.

◆ CCU7_clrT13PerMatchIntSts()

INLINE void CCU7_clrT13PerMatchIntSts ( void  )

Clear T13 Period-Match Flag.

◆ CCU7_clrT14CmpMatchIntSts()

INLINE void CCU7_clrT14CmpMatchIntSts ( void  )

Clear T14 Compare-Match Flag.

◆ CCU7_clrT14PerMatchIntSts()

INLINE void CCU7_clrT14PerMatchIntSts ( void  )

Clear T14 Period-Match Flag.

◆ CCU7_clrT15CmpMatchIntSts()

INLINE void CCU7_clrT15CmpMatchIntSts ( void  )

Clear T15 Compare-Match Flag.

◆ CCU7_clrT15PerMatchIntSts()

INLINE void CCU7_clrT15PerMatchIntSts ( void  )

Clear T15 Period-Match Flag.

◆ CCU7_clrT16CmpMatchIntSts()

INLINE void CCU7_clrT16CmpMatchIntSts ( void  )

Clear T16 Compare-Match Flag.

◆ CCU7_clrT16PerMatchIntSts()

INLINE void CCU7_clrT16PerMatchIntSts ( void  )

Clear T16 Period-Match Flag.

◆ CCU7_clrTrapIntSts()

INLINE void CCU7_clrTrapIntSts ( void  )

Clear Trap Flag.

◆ CCU7_disC70BCmpMatchFallInt()

INLINE void CCU7_disC70BCmpMatchFallInt ( void  )

Disable Compare-Match Falling Edge Interrupt for C70B.

◆ CCU7_disC70BCmpMatchRiseInt()

INLINE void CCU7_disC70BCmpMatchRiseInt ( void  )

Disable Compare-Match Rising Edge Interrupt for C70B.

◆ CCU7_disC71BCmpMatchFallInt()

INLINE void CCU7_disC71BCmpMatchFallInt ( void  )

Disable Compare-Match Falling Edge Interrupt for C71B.

◆ CCU7_disC71BCmpMatchRiseInt()

INLINE void CCU7_disC71BCmpMatchRiseInt ( void  )

Disable Compare-Match Rising Edge Interrupt for C71B.

◆ CCU7_disC72BCmpMatchFallInt()

INLINE void CCU7_disC72BCmpMatchFallInt ( void  )

Disable Compare-Match Falling Edge Interrupt for C72B.

◆ CCU7_disC72BCmpMatchRiseInt()

INLINE void CCU7_disC72BCmpMatchRiseInt ( void  )

Disable Compare-Match Rising Edge Interrupt for C72B.

◆ CCU7_disCC70ACmpMatchFallInt()

INLINE void CCU7_disCC70ACmpMatchFallInt ( void  )

Disable Capture, Compare-Match Falling Edge Interrupt for CC70A.

◆ CCU7_disCC70ACmpMatchRiseInt()

INLINE void CCU7_disCC70ACmpMatchRiseInt ( void  )

Disable Capture, Compare-Match Rising Edge Interrupt for CC70A.

◆ CCU7_disCC71ACmpMatchFallInt()

INLINE void CCU7_disCC71ACmpMatchFallInt ( void  )

Disable Capture, Compare-Match Falling Edge Interrupt for CC71A.

◆ CCU7_disCC71ACmpMatchRiseInt()

INLINE void CCU7_disCC71ACmpMatchRiseInt ( void  )

Disable Capture, Compare-Match Rising Edge Interrupt for CC71A.

◆ CCU7_disCC72ACmpMatchFallInt()

INLINE void CCU7_disCC72ACmpMatchFallInt ( void  )

Disable Capture, Compare-Match Falling Edge Interrupt for CC72A.

◆ CCU7_disCC72ACmpMatchRiseInt()

INLINE void CCU7_disCC72ACmpMatchRiseInt ( void  )

Disable Capture, Compare-Match Rising Edge Interrupt for CC72A.

◆ CCU7_disHallEventCorrectInt()

INLINE void CCU7_disHallEventCorrectInt ( void  )

Disable Interrupt for Correct Hall Event.

◆ CCU7_disHallEventWrongInt()

INLINE void CCU7_disHallEventWrongInt ( void  )

Disable Interrupt for Wrong Hall Event.

◆ CCU7_disHallIdleInt()

INLINE void CCU7_disHallIdleInt ( void  )

Disable Hall Idle Interrupt.

◆ CCU7_disLostBitEventInt()

INLINE void CCU7_disLostBitEventInt ( void  )

Disable Interrupt for Lost Bit Event - LBEEN.

◆ CCU7_disModule()

sint8 CCU7_disModule ( void  )

Disable the CCU7 module by performing the following steps: stop T12 stop T13, T14, T15, T16 programming the passive states to LOW switching all CCU7 outputs to passive state.

Returns
sint8 0: success, <0: error codes

◆ CCU7_disMultiChMode()

INLINE void CCU7_disMultiChMode ( void  )

Disable Multi-Channel Mode.

◆ CCU7_disMultiChModeShadowTransferReqInt()

INLINE void CCU7_disMultiChModeShadowTransferReqInt ( void  )

Disable Multi-Channel Mode Shadow Transfer Interrupt.

◆ CCU7_disT12OneMatchInt()

INLINE void CCU7_disT12OneMatchInt ( void  )

Disable Interrupt for T12 One-Match.

◆ CCU7_disT12PerMatchInt()

INLINE void CCU7_disT12PerMatchInt ( void  )

Disable Interrupt for T12 Period-Match.

◆ CCU7_disT12SingleShot()

INLINE void CCU7_disT12SingleShot ( void  )

Disable T12 Single Shot Control.

◆ CCU7_disT13CmpMatchInt()

INLINE void CCU7_disT13CmpMatchInt ( void  )

Disable Interrupt for T13 Compare-Match.

◆ CCU7_disT13PerMatchInt()

INLINE void CCU7_disT13PerMatchInt ( void  )

Disable Interrupt for T13 Period-Match.

◆ CCU7_disT13SingleShot()

INLINE void CCU7_disT13SingleShot ( void  )

Disable T13 Single Shot Control.

◆ CCU7_disT14CmpMatchInt()

INLINE void CCU7_disT14CmpMatchInt ( void  )

Disable Interrupt for T14 Compare-Match.

◆ CCU7_disT14PerMatchInt()

INLINE void CCU7_disT14PerMatchInt ( void  )

Disable Interrupt for T14 Period-Match.

◆ CCU7_disT14SingleShot()

INLINE void CCU7_disT14SingleShot ( void  )

Disable T14 Single Shot Control.

◆ CCU7_disT15CmpMatchInt()

INLINE void CCU7_disT15CmpMatchInt ( void  )

Disable Interrupt for T15 Compare-Match.

◆ CCU7_disT15PerMatchInt()

INLINE void CCU7_disT15PerMatchInt ( void  )

Disable Interrupt for T15 Period-Match.

◆ CCU7_disT15SingleShot()

INLINE void CCU7_disT15SingleShot ( void  )

Disable T15 Single Shot Control.

◆ CCU7_disT16CmpMatchInt()

INLINE void CCU7_disT16CmpMatchInt ( void  )

Disable Interrupt for T16 Compare-Match.

◆ CCU7_disT16PerMatchInt()

INLINE void CCU7_disT16PerMatchInt ( void  )

Disable Interrupt for T16 Period-Match.

◆ CCU7_disT16SingleShot()

INLINE void CCU7_disT16SingleShot ( void  )

Disable T16 Single Shot Control.

◆ CCU7_disTrap()

INLINE void CCU7_disTrap ( void  )

Disable Trap Control.

◆ CCU7_disTrapCondInt()

INLINE void CCU7_disTrapCondInt ( void  )

Disable Interrupt for Trap Flag (Trap condition fulfilled)

◆ CCU7_disTrapPin()

INLINE void CCU7_disTrapPin ( void  )

Disable Trap Pin.

◆ CCU7_enC70BCmpMatchFallInt()

INLINE void CCU7_enC70BCmpMatchFallInt ( void  )

Enable Compare-Match Falling Edge Interrupt for C70B.

◆ CCU7_enC70BCmpMatchRiseInt()

INLINE void CCU7_enC70BCmpMatchRiseInt ( void  )

Enable Compare-Match Rising Edge Interrupt for C70B.

◆ CCU7_enC71BCmpMatchFallInt()

INLINE void CCU7_enC71BCmpMatchFallInt ( void  )

Enable Compare-Match Falling Edge Interrupt for C71B.

◆ CCU7_enC71BCmpMatchRiseInt()

INLINE void CCU7_enC71BCmpMatchRiseInt ( void  )

Enable Compare-Match Rising Edge Interrupt for C71B.

◆ CCU7_enC72BCmpMatchFallInt()

INLINE void CCU7_enC72BCmpMatchFallInt ( void  )

Enable Compare-Match Falling Edge Interrupt for C72B.

◆ CCU7_enC72BCmpMatchRiseInt()

INLINE void CCU7_enC72BCmpMatchRiseInt ( void  )

Enable Compare-Match Rising Edge Interrupt for C72B.

◆ CCU7_enCC70ACmpMatchFallInt()

INLINE void CCU7_enCC70ACmpMatchFallInt ( void  )

Enable Capture, Compare-Match Falling Edge Interrupt for CC70A.

◆ CCU7_enCC70ACmpMatchRiseInt()

INLINE void CCU7_enCC70ACmpMatchRiseInt ( void  )

Enable Capture, Compare-Match Rising Edge Interrupt for CC70A.

◆ CCU7_enCC71ACmpMatchFallInt()

INLINE void CCU7_enCC71ACmpMatchFallInt ( void  )

Enable Capture, Compare-Match Falling Edge Interrupt for CC71A.

◆ CCU7_enCC71ACmpMatchRiseInt()

INLINE void CCU7_enCC71ACmpMatchRiseInt ( void  )

Enable Capture, Compare-Match Rising Edge Interrupt for CC71A.

◆ CCU7_enCC72ACmpMatchFallInt()

INLINE void CCU7_enCC72ACmpMatchFallInt ( void  )

Enable Capture, Compare-Match Falling Edge Interrupt for CC72A.

◆ CCU7_enCC72ACmpMatchRiseInt()

INLINE void CCU7_enCC72ACmpMatchRiseInt ( void  )

Enable Capture, Compare-Match Rising Edge Interrupt for CC72A.

◆ CCU7_enHallEventCorrectInt()

INLINE void CCU7_enHallEventCorrectInt ( void  )

Enable Interrupt for Correct Hall Event.

◆ CCU7_enHallEventWrongInt()

INLINE void CCU7_enHallEventWrongInt ( void  )

Enable Interrupt for Wrong Hall Event.

◆ CCU7_enHallIdleInt()

INLINE void CCU7_enHallIdleInt ( void  )

Enable Hall Idle Interrupt.

◆ CCU7_enLostBitEventInt()

INLINE void CCU7_enLostBitEventInt ( void  )

Enable Interrupt for Lost Bit Event - LBEEN.

◆ CCU7_enModule()

sint8 CCU7_enModule ( void  )

Enable the CCU7 module by calling the CCU7_init() function.

Returns
sint8 0: success, <0: error codes

◆ CCU7_enMultiChMode()

INLINE void CCU7_enMultiChMode ( void  )

Enable Multi-Channel Mode.

◆ CCU7_enMultiChModeShadowTransferReqInt()

INLINE void CCU7_enMultiChModeShadowTransferReqInt ( void  )

Enable Multi-Channel Mode Shadow Transfer Interrupt.

◆ CCU7_enT12OneMatchInt()

INLINE void CCU7_enT12OneMatchInt ( void  )

Enable Interrupt for T12 One-Match.

◆ CCU7_enT12PerMatchInt()

INLINE void CCU7_enT12PerMatchInt ( void  )

Enable Interrupt for T12 Period-Match.

◆ CCU7_enT12SingleShot()

INLINE void CCU7_enT12SingleShot ( void  )

Enable T12 Single Shot Control.

◆ CCU7_enT13CmpMatchInt()

INLINE void CCU7_enT13CmpMatchInt ( void  )

Enable Interrupt for T13 Compare-Match.

◆ CCU7_enT13PerMatchInt()

INLINE void CCU7_enT13PerMatchInt ( void  )

Enable Interrupt for T13 Period-Match.

◆ CCU7_enT13SingleShot()

INLINE void CCU7_enT13SingleShot ( void  )

Enable T13 Single Shot Control.

◆ CCU7_enT14CmpMatchInt()

INLINE void CCU7_enT14CmpMatchInt ( void  )

Enable Interrupt for T14 Compare-Match.

◆ CCU7_enT14PerMatchInt()

INLINE void CCU7_enT14PerMatchInt ( void  )

Enable Interrupt for T14 Period-Match.

◆ CCU7_enT14SingleShot()

INLINE void CCU7_enT14SingleShot ( void  )

Enable T14 Single Shot Control.

◆ CCU7_enT15CmpMatchInt()

INLINE void CCU7_enT15CmpMatchInt ( void  )

Enable Interrupt for T15 Compare-Match.

◆ CCU7_enT15PerMatchInt()

INLINE void CCU7_enT15PerMatchInt ( void  )

Enable Interrupt for T15 Period-Match.

◆ CCU7_enT15SingleShot()

INLINE void CCU7_enT15SingleShot ( void  )

Enable T15 Single Shot Control.

◆ CCU7_enT16CmpMatchInt()

INLINE void CCU7_enT16CmpMatchInt ( void  )

Enable Interrupt for T16 Compare-Match.

◆ CCU7_enT16PerMatchInt()

INLINE void CCU7_enT16PerMatchInt ( void  )

Enable Interrupt for T16 Period-Match.

◆ CCU7_enT16SingleShot()

INLINE void CCU7_enT16SingleShot ( void  )

Enable T16 Single Shot Control.

◆ CCU7_enTrap()

INLINE void CCU7_enTrap ( void  )

Enable Trap Control for all signals (CC70/1/2, COUT70/1/2)

◆ CCU7_enTrapCondInt()

INLINE void CCU7_enTrapCondInt ( void  )

Enable Interrupt for Trap Flag (Trap condition fulfilled)

◆ CCU7_enTrapPin()

INLINE void CCU7_enTrapPin ( void  )

Enable Trap Pin.

◆ CCU7_getC70BCmpMatchFallIntSts()

INLINE uint8 CCU7_getC70BCmpMatchFallIntSts ( void  )

Get Compare-Match Falling Edge Flag for C70B.

Returns
uint8 Compare-Match Falling Edge Flag for C70B

◆ CCU7_getC70BCmpMatchRiseIntSts()

INLINE uint8 CCU7_getC70BCmpMatchRiseIntSts ( void  )

Get Compare-Match Rising Edge Flag for C70B.

Returns
uint8 Compare-Match Rising Edge Flag for C70B

◆ CCU7_getC70BVal()

INLINE uint16 CCU7_getC70BVal ( void  )

Get C70B Compare Value.

Returns
uint16 C70B Compare Value

◆ CCU7_getC71BCmpMatchFallIntSts()

INLINE uint8 CCU7_getC71BCmpMatchFallIntSts ( void  )

Get Compare-Match Falling Edge Flag for C71B.

Returns
uint8 Compare-Match Falling Edge Flag for C71B

◆ CCU7_getC71BCmpMatchRiseIntSts()

INLINE uint8 CCU7_getC71BCmpMatchRiseIntSts ( void  )

Get Compare-Match Rising Edge Flag for C71B.

Returns
uint8 Compare-Match Rising Edge Flag for C71B

◆ CCU7_getC71BVal()

INLINE uint16 CCU7_getC71BVal ( void  )

Get C71B Compare Value.

Returns
uint16 C71B Compare Value

◆ CCU7_getC72BCmpMatchFallIntSts()

INLINE uint8 CCU7_getC72BCmpMatchFallIntSts ( void  )

Get Compare-Match Falling Edge Flag for C72B.

Returns
uint8 Compare-Match Falling Edge Flag for C72B

◆ CCU7_getC72BCmpMatchRiseIntSts()

INLINE uint8 CCU7_getC72BCmpMatchRiseIntSts ( void  )

Get Compare-Match Rising Edge Flag for C72B.

Returns
uint8 Compare-Match Rising Edge Flag for C72B

◆ CCU7_getC72BVal()

INLINE uint16 CCU7_getC72BVal ( void  )

Get C72B Compare Value.

Returns
uint16 C72B Compare Value

◆ CCU7_getC73Val()

INLINE uint16 CCU7_getC73Val ( void  )

Get C73 Compare Value.

Returns
uint16 C73 Compare Value

◆ CCU7_getC74Val()

INLINE uint16 CCU7_getC74Val ( void  )

Get C74 Compare Value.

Returns
uint16 C74 Compare Value

◆ CCU7_getC75Val()

INLINE uint16 CCU7_getC75Val ( void  )

Get C75 Compare Value.

Returns
uint16 C75 Compare Value

◆ CCU7_getC76Val()

INLINE uint16 CCU7_getC76Val ( void  )

Get C76 Compare Value.

Returns
uint16 C76 Compare Value

◆ CCU7_getCC70ACmpMatchFallIntSts()

INLINE uint8 CCU7_getCC70ACmpMatchFallIntSts ( void  )

Get Capture, Compare-Match Falling Edge Flag for CC70A.

Returns
uint8 Capture, Compare-Match Falling Edge Flag for CC70A

◆ CCU7_getCC70ACmpMatchRiseIntSts()

INLINE uint8 CCU7_getCC70ACmpMatchRiseIntSts ( void  )

Get Capture, Compare-Match Rising Edge Flag for CC70A.

Returns
uint8 Capture, Compare-Match Rising Edge Flag for CC70A

◆ CCU7_getCC70AVal()

INLINE uint16 CCU7_getCC70AVal ( void  )

Get CC70A Capture/Compare Value.

Returns
uint16 CC70A Capture/Compare Value

◆ CCU7_getCC71ACmpMatchFallIntSts()

INLINE uint8 CCU7_getCC71ACmpMatchFallIntSts ( void  )

Get Capture, Compare-Match Falling Edge Flag for CC71A.

Returns
uint8 Capture, Compare-Match Falling Edge Flag for CC71A

◆ CCU7_getCC71ACmpMatchRiseIntSts()

INLINE uint8 CCU7_getCC71ACmpMatchRiseIntSts ( void  )

Get Capture, Compare-Match Rising Edge Flag for CC71A.

Returns
uint8 Capture, Compare-Match Rising Edge Flag for CC71A

◆ CCU7_getCC71AVal()

INLINE uint16 CCU7_getCC71AVal ( void  )

Get CC71A Capture/Compare Value.

Returns
uint16 CC71A Capture/Compare Value

◆ CCU7_getCC72ACmpMatchFallIntSts()

INLINE uint8 CCU7_getCC72ACmpMatchFallIntSts ( void  )

Get Capture, Compare-Match Falling Edge Flag for CC72A.

Returns
uint8 Capture, Compare-Match Falling Edge Flag for CC72A

◆ CCU7_getCC72ACmpMatchRiseIntSts()

INLINE uint8 CCU7_getCC72ACmpMatchRiseIntSts ( void  )

Get Capture, Compare-Match Rising Edge Flag for CC72A.

Returns
uint8 Capture, Compare-Match Rising Edge Flag for CC72A

◆ CCU7_getCC72AVal()

INLINE uint16 CCU7_getCC72AVal ( void  )

Get CC72A Capture/Compare Value.

Returns
uint16 CC72A Capture/Compare Value

◆ CCU7_getCh0DeadTimeFall_ticks()

INLINE uint8 CCU7_getCh0DeadTimeFall_ticks ( void  )

Get Dead-Time for Channel 0 fall in ticks.

Returns
uint8 Dead-Time for Channel 0 fall in ticks

◆ CCU7_getCh0DeadTimeRise_ticks()

INLINE uint8 CCU7_getCh0DeadTimeRise_ticks ( void  )

Get Dead-Time for Channel 0 rise in ticks.

Returns
uint8 Dead-Time for Channel 0 rise in ticks

◆ CCU7_getCh1DeadTimeFall_ticks()

INLINE uint8 CCU7_getCh1DeadTimeFall_ticks ( void  )

Get Dead-Time for Channel 1 fall in ticks.

Returns
uint8 Dead-Time for Channel 1 fall in ticks

◆ CCU7_getCh1DeadTimeRise_ticks()

INLINE uint8 CCU7_getCh1DeadTimeRise_ticks ( void  )

Get Dead-Time for Channel 1 rise in ticks.

Returns
uint8 Dead-Time for Channel 1 rise in ticks

◆ CCU7_getCh2DeadTimeFall_ticks()

INLINE uint8 CCU7_getCh2DeadTimeFall_ticks ( void  )

Get Dead-Time for Channel 2 fall in ticks.

Returns
uint8 Dead-Time for Channel 2 fall in ticks

◆ CCU7_getCh2DeadTimeRise_ticks()

INLINE uint8 CCU7_getCh2DeadTimeRise_ticks ( void  )

Get Dead-Time for Channel 2 rise in ticks.

Returns
uint8 Dead-Time for Channel 2 rise in ticks

◆ CCU7_getCmpSts()

INLINE uint16 CCU7_getCmpSts ( void  )

Get Compare State Bits for C70B, C71B, C72B, C74ST, C75ST, C76ST, CC70AST, CC71AST, CC72AST, and CC73ST.

Returns
uint16 Compare State Bits Bit0: CCU7.CMPSTAT_2.bit.C70B Bit1: CCU7.CMPSTAT_2.bit.C71B Bit2: CCU7.CMPSTAT_2.bit.C72B Bit4: CCU7.CMPSTAT_2.bit.C74ST Bit5: CCU7.CMPSTAT_2.bit.C75ST Bit6: CCU7.CMPSTAT_2.bit.C76ST Bit8: CCU7.CMPSTAT_2.bit.CC70AST Bit9: CCU7.CMPSTAT_2.bit.CC71AST Bit10: CCU7.CMPSTAT_2.bit.CC72AST Bit11: CCU7.CMPSTAT.bit.CC73ST

◆ CCU7_getDeadTime_ns()

INLINE sint8 CCU7_getDeadTime_ns ( uint8  u8_channel,
uint32 u32p_DeadTimeRise_ns,
uint32 u32p_DeadTimeFall_ns 
)

This function reads the dead time counter value for the given channel, with u8_channel from 0..2, into the provided pointers u32p_DeadTimeRise_ns and u32p_DeadTimeFall_ns. The input parameters u32p_DeadTimeRise_ns and u32p_DeadTimeFall_ns are checked to point to a valid RAM address. The dead time in nano seconds related to the constant clock CCU7_DT_CLK_MHz. If at least one of the provided parameters is out of range a failure code "parameter out of range" is returned, the pointers u32p_DeadTimeRise_ns and u32p_DeadTimeFall_ns are not updated in this case.

Parameters
u8_channelchannel number (0...2)
u32p_DeadTimeRise_nsDead time Rise value in nanoseconds
u32p_DeadTimeFall_nsDead time Fall value in nanoseconds
Returns
sint8 0: success, <0: error codes

◆ CCU7_getHallEventCorrectIntSts()

INLINE uint8 CCU7_getHallEventCorrectIntSts ( void  )

Get Correct Hall Event Flag.

Returns
uint8 Correct Hall Event Flag

◆ CCU7_getHallEventWrongIntSts()

INLINE uint8 CCU7_getHallEventWrongIntSts ( void  )

Get Wrong Hall Event Flag.

Returns
uint8 Wrong Hall Event Flag

◆ CCU7_getHallIdleIntSts()

INLINE uint8 CCU7_getHallIdleIntSts ( void  )

Get Hall Idle State Flag.

Returns
uint8 Hall Idle State Flag

◆ CCU7_getHallPatternSampled()

INLINE uint8 CCU7_getHallPatternSampled ( void  )

Get Sampled Hall Pattern.

Returns
uint8 Sampled Hall Pattern Bit 0: CCU7->CMPSTAT.bit.CCPOS0 Bit 1: CCU7->CMPSTAT.bit.CCPOS1 Bit 2: CCU7->CMPSTAT.bit.CCPOS2

◆ CCU7_getLostBitEventSts()

INLINE uint8 CCU7_getLostBitEventSts ( void  )

Get Lost Bit Event Flag.

Returns
uint8 Lost Bit Event Flag

◆ CCU7_getMultiChModePWMPattern()

INLINE uint8 CCU7_getMultiChModePWMPattern ( void  )

Get Multi-Channel PWM Pattern.

Returns
uint8 Multi-Channel PWM Pattern

◆ CCU7_getMultiChModeShadowTransferReqIntSts()

INLINE uint8 CCU7_getMultiChModeShadowTransferReqIntSts ( void  )

Get Multi-Channel Mode Shadow Transfer Request Flag.

Returns
uint8 Multi-Channel Mode Shadow Transfer RequestFlag

◆ CCU7_getT12CntVal()

INLINE uint16 CCU7_getT12CntVal ( void  )

Get T12 Counter Value.

Returns
uint16 T12 Counter Value

◆ CCU7_getT12Freq_Hz()

INLINE uint32 CCU7_getT12Freq_Hz ( void  )

Get T12 Period in Hz This function returns the T12 period value related to the constant CCU7_T12_CLK_HZ in Hz, taking the edge-/center-aligned mode into consideration.

Returns
u32_period_Hz Frequency in Hz

◆ CCU7_getT12OneMatchIntSts()

INLINE uint8 CCU7_getT12OneMatchIntSts ( void  )

Get T12 One-Match Flag.

Returns
uint8 T12 One-Match Flag

◆ CCU7_getT12PerMatchIntSts()

INLINE uint8 CCU7_getT12PerMatchIntSts ( void  )

Get T12 Period-Match Flag.

Returns
uint8 T12 Period-Match Flag

◆ CCU7_getT12PerVal()

INLINE uint16 CCU7_getT12PerVal ( void  )

Get T12 Period Value.

Returns
uint16 T12 Period Value

◆ CCU7_getT13CmpMatchIntSts()

INLINE uint8 CCU7_getT13CmpMatchIntSts ( void  )

Get T13 Compare-Match Flag.

Returns
uint8 T13 Compare-Match Flag

◆ CCU7_getT13CntVal()

INLINE uint16 CCU7_getT13CntVal ( void  )

Get T13 Counter Value.

Returns
uint16 T13 Counter Value

◆ CCU7_getT13PerMatchIntSts()

INLINE uint8 CCU7_getT13PerMatchIntSts ( void  )

Get T13 Period-Match Flag.

Returns
uint8 T13 Period-Match Flag

◆ CCU7_getT13PerVal()

INLINE uint16 CCU7_getT13PerVal ( void  )

Get T13 Period Value.

Returns
uint16 T13 Period Value

◆ CCU7_getT14CmpMatchIntSts()

INLINE uint8 CCU7_getT14CmpMatchIntSts ( void  )

Get T14 Compare-Match Flag.

Returns
uint8 T14 Compare-Match Flag

◆ CCU7_getT14CntVal()

INLINE uint16 CCU7_getT14CntVal ( void  )

Get T14 Counter Value.

Returns
uint16 T14 Counter Value

◆ CCU7_getT14PerMatchIntSts()

INLINE uint8 CCU7_getT14PerMatchIntSts ( void  )

Get T14 Period-Match Flag.

Returns
uint8 T14 Period-Match Flag

◆ CCU7_getT14PerVal()

INLINE uint16 CCU7_getT14PerVal ( void  )

Get T14 Period Value.

Returns
uint16 T14 Period Value

◆ CCU7_getT15CmpMatchIntSts()

INLINE uint8 CCU7_getT15CmpMatchIntSts ( void  )

Get T15 Compare-Match Flag.

Returns
uint8 T15 Compare-Match Flag

◆ CCU7_getT15CntVal()

INLINE uint16 CCU7_getT15CntVal ( void  )

Get T15 Counter Value.

Returns
uint16 T15 Counter Value

◆ CCU7_getT15PerMatchIntSts()

INLINE uint8 CCU7_getT15PerMatchIntSts ( void  )

Get T15 Period-Match Flag.

Returns
uint8 T15 Period-Match Flag

◆ CCU7_getT15PerVal()

INLINE uint16 CCU7_getT15PerVal ( void  )

Get T15 Period Value.

Returns
uint16 T15 Period Value

◆ CCU7_getT16CmpMatchIntSts()

INLINE uint8 CCU7_getT16CmpMatchIntSts ( void  )

Get T16 Compare-Match Flag.

Returns
uint8 T16 Compare-Match Flag

◆ CCU7_getT16CntVal()

INLINE uint16 CCU7_getT16CntVal ( void  )

Get T16 Counter Value.

Returns
uint16 T16 Counter Value

◆ CCU7_getT16PerMatchIntSts()

INLINE uint8 CCU7_getT16PerMatchIntSts ( void  )

Get T16 Period-Match Flag.

Returns
uint8 T16 Period-Match Flag

◆ CCU7_getT16PerVal()

INLINE uint16 CCU7_getT16PerVal ( void  )

Get T16 Period Value.

Returns
uint16 T16 Period Value

◆ CCU7_getTrapCond()

INLINE uint8 CCU7_getTrapCond ( void  )

Get Trap Flag (Trap condition fulfilled)

Returns
uint8 Trap Flag

◆ CCU7_getTrapConfig()

INLINE uint8 CCU7_getTrapConfig ( void  )

Get Trap Control This function returns '1' , if Trap is enabled for all signals (CC70/1/2, COUT70/1/2), otherwise it returns '0'.

Returns
uint8 Trap Control

◆ CCU7_getTrapIntSts()

INLINE uint8 CCU7_getTrapIntSts ( void  )

Get Trap State (Synchronized to the event selected by CCU7-TRPCTR.bit.TRPM0 and CCU7-TRPCTR.bit.TRPM1). The selected outputs are set to the passive state while Trap State (TRPS) = 1.

Returns
uint8 Trap State

◆ CCU7_init()

sint8 CCU7_init ( void  )

Initialize the CCU7 module.

Returns
sint8 0: success, <0: error codes

◆ CCU7_setC70BIntNodePtr()

void CCU7_setC70BIntNodePtr ( void  )

Set Interrupt Node Pointer for C70B Interrupts.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ CCU7_setC70BValShadow()

INLINE void CCU7_setC70BValShadow ( uint16  u16_value)

Set Shadow Register for C70B Compare Value.

Parameters
u16_valueShadow Register for C70B Compare Value

◆ CCU7_setC71BIntNodePtr()

void CCU7_setC71BIntNodePtr ( void  )

Set Interrupt Node Pointer for C71B Interrupts.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ CCU7_setC71BValShadow()

INLINE void CCU7_setC71BValShadow ( uint16  u16_value)

Set Shadow Register for C71B Compare Value.

Parameters
u16_valueShadow Register for C71B Compare Value

◆ CCU7_setC72BIntNodePtr()

void CCU7_setC72BIntNodePtr ( void  )

Set Interrupt Node Pointer for C72B Interrupts.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ CCU7_setC72BValShadow()

INLINE void CCU7_setC72BValShadow ( uint16  u16_value)

Set Shadow Register for C72B Compare Value.

Parameters
u16_valueShadow Register for C72B Compare Value

◆ CCU7_setC73ValShadow()

INLINE void CCU7_setC73ValShadow ( uint16  u16_value)

Set Shadow Register for C73 Compare Value.

Parameters
u16_valueShadow Register for C73 Compare Value

◆ CCU7_setC74ValShadow()

INLINE void CCU7_setC74ValShadow ( uint16  u16_value)

Set Shadow Register for C74 Compare Value.

Parameters
u16_valueShadow Register for C74 Compare Value

◆ CCU7_setC75ValShadow()

INLINE void CCU7_setC75ValShadow ( uint16  u16_value)

Set Shadow Register for C75 Compare Value.

Parameters
u16_valueShadow Register for C75 Compare Value

◆ CCU7_setC76ValShadow()

INLINE void CCU7_setC76ValShadow ( uint16  u16_value)

Set Shadow Register for C76 Compare Value.

Parameters
u16_valueShadow Register for C76 Compare Value

◆ CCU7_setCC70AIntNodePtr()

void CCU7_setCC70AIntNodePtr ( void  )

Set Interrupt Node Pointer for CC70A Interrupts.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ CCU7_setCC70AValShadow()

INLINE void CCU7_setCC70AValShadow ( uint16  u16_value)

Set Shadow Register for CC70A Capture/Compare Value.

Parameters
u16_valueShadow Register for CC70A Capture/Compare Value

◆ CCU7_setCC71AIntNodePtr()

void CCU7_setCC71AIntNodePtr ( void  )

Set Interrupt Node Pointer for CC71A Interrupts.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ CCU7_setCC71AValShadow()

INLINE void CCU7_setCC71AValShadow ( uint16  u16_value)

Set Shadow Register for CC71A Capture/Compare Value.

Parameters
u16_valueShadow Register for CC71A Capture/Compare Value

◆ CCU7_setCC72AIntNodePtr()

void CCU7_setCC72AIntNodePtr ( void  )

Set Interrupt Node Pointer for CC72A Interrupts.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ CCU7_setCC72AValShadow()

INLINE void CCU7_setCC72AValShadow ( uint16  u16_value)

Set Shadow Register for CC72A Capture/Compare Value.

Parameters
u16_valueShadow Register for CC72A Capture/Compare Value

◆ CCU7_setCh0DeadTimeFall_ticks()

INLINE void CCU7_setCh0DeadTimeFall_ticks ( uint8  u8_value)

Set Dead-Time for Channel 0 fall in ticks.

Parameters
u8_valueDead-Time for Channel 0 fall in ticks

◆ CCU7_setCh0DeadTimeRise_ticks()

INLINE void CCU7_setCh0DeadTimeRise_ticks ( uint8  u8_value)

Set Dead-Time for Channel 0 rise in ticks.

Parameters
u8_valueDead-Time for Channel 0 rise in ticks

◆ CCU7_setCh1DeadTimeFall_ticks()

INLINE void CCU7_setCh1DeadTimeFall_ticks ( uint8  u8_value)

Set Dead-Time for Channel 1 fall in ticks.

Parameters
u8_valueDead-Time for Channel 1 fall in ticks

◆ CCU7_setCh1DeadTimeRise_ticks()

INLINE void CCU7_setCh1DeadTimeRise_ticks ( uint8  u8_value)

Set Dead-Time for Channel 1 rise in ticks.

Parameters
u8_valueDead-Time for Channel 1 rise in ticks

◆ CCU7_setCh2DeadTimeFall_ticks()

INLINE void CCU7_setCh2DeadTimeFall_ticks ( uint8  u8_value)

Set Dead-Time for Channel 2 fall in ticks.

Parameters
u8_valueDead-Time for Channel 2 fall in ticks

◆ CCU7_setCh2DeadTimeRise_ticks()

INLINE void CCU7_setCh2DeadTimeRise_ticks ( uint8  u8_value)

Set Dead-Time for Channel 2 rise in ticks.

Parameters
u8_valueDead-Time for Channel 2 rise in ticks

◆ CCU7_setCHEIntNodePtr()

void CCU7_setCHEIntNodePtr ( void  )

Set Interrupt Node Pointer for the CHE Interrupt.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ CCU7_setDeadTime_ns()

INLINE sint8 CCU7_setDeadTime_ns ( uint8  u8_channel,
uint32  u32_deadTimeRise_ns,
uint32  u32_deadTimeFall_ns 
)

Set the dead time values (rise/fall) for one Channel. This function sets the deadtime counter to a value given by the parameter deadTimeRise/Fall_ns with a relation to the constant clock value given in CCU7_DT_CLK_MHz. The deadtime is entered per channel, with u8_channel from 0..2, and as rising and falling value. If the requested deadtime, for either rising or falling, cannot be represented by the 8bit (overflow) deadtime counter, the function returns "parameter out of range" failure code, the previous dead time counter values for this channel remain unchanged. If the given input u8_channel is out of range a failure code "parameter out of range" is returned, no changes are made. If all parameters are valid the function returns "success". If the input deadtime is not given in multiple of the CCU7_DT_CLK_MHz, the deadtime will be rounded up to the next possible value, in this case the function still returns "success".

Parameters
u8_channelchannel number (0...2)
u32_deadTimeRise_nsDead time Rise value in nanoseconds
u32_deadTimeFall_nsDead time Fall value in nanoseconds
Returns
sint8 0: success, <0: error codes

◆ CCU7_setErrorIntNodePtr()

void CCU7_setErrorIntNodePtr ( void  )

Set Interrupt Node Pointer for Error Interrupts.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ CCU7_setHallPatternCurrentShadow()

INLINE void CCU7_setHallPatternCurrentShadow ( uint8  u8_value)

Set Current Hall Pattern Shadow.

Parameters
u8_valueCurrent Hall Pattern Shadow

◆ CCU7_setHallPatternExpectedShadow()

INLINE void CCU7_setHallPatternExpectedShadow ( uint8  u8_value)

Set Expected Hall Pattern Shadow.

Parameters
u8_valueExpected Hall Pattern Shadow

◆ CCU7_setHallShadowTransferReq()

INLINE void CCU7_setHallShadowTransferReq ( void  )

Set Shadow Transfer Request for the Hall Pattern.

◆ CCU7_setHallSync()

INLINE void CCU7_setHallSync ( tCCU7_HallSync  e_value)

Set Hall Synchronization.

Parameters
e_valueHall Synchronization

◆ CCU7_setMultiChModePWMPatternShadow()

INLINE void CCU7_setMultiChModePWMPatternShadow ( uint8  u8_value)

Set Multi-Channel PWM Pattern Shadow.

Parameters
u8_valueMulti-Channel PWM Pattern Shadow

◆ CCU7_setMultiChModeShadowTransferReq()

INLINE void CCU7_setMultiChModeShadowTransferReq ( void  )

Set Shadow Transfer Request for Multi-Channel Mode.

◆ CCU7_setMultiChModeShadowTransferSync()

INLINE void CCU7_setMultiChModeShadowTransferSync ( tCCU7_MultiChMode_SWSYN  e_value)

Set Switching Synchronization.

Parameters
e_valueSwitching Synchronization

◆ CCU7_setMultiChModeShadowTransferTrig()

INLINE void CCU7_setMultiChModeShadowTransferTrig ( tCCU7_MultiChMode_SWSEL  e_value)

Set Switching Selection.

Parameters
e_valueSwitching Selection

◆ CCU7_setT12Freq_Hz()

INLINE sint8 CCU7_setT12Freq_Hz ( uint32  u32_freq_hz)

Set T12 Period in Hz This function sets the T12 period value based on the input parameter u32_freq_hz related to the constant timer 12 clock CCU7_T12_CLK_HZ, taking the edge-/center-aligned mode into consideration. If the requested frequency by the parameter u32_freq_hz can be represented by the current clocking of the CCU7 module and the T12 width then this function returns '0' (success), else failure code (parameter out of range).

Parameters
u32_freq_hzFrequency in Hz
Returns
sint8 0: success, <0: error codes

◆ CCU7_setT12IntNodePtr()

void CCU7_setT12IntNodePtr ( void  )

Set Interrupt Node Pointer for T12 Interrupts.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ CCU7_setT12Modulation()

INLINE void CCU7_setT12Modulation ( uint8  u8_value)

Set T12 Modulation.

Parameters
u8_valueT12 Modulation

◆ CCU7_setT12PerVal()

INLINE void CCU7_setT12PerVal ( uint16  u16_value)

Set T12 Period Value.

Parameters
u16_valueT12 Period Value

◆ CCU7_setT12ShadowTransferReq()

INLINE void CCU7_setT12ShadowTransferReq ( void  )

Set T12 Shadow Transfer Request.

◆ CCU7_setT13IntNodePtr()

void CCU7_setT13IntNodePtr ( void  )

Set Interrupt Node Pointer for T13 Interrupts.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ CCU7_setT13Modulation()

INLINE void CCU7_setT13Modulation ( uint8  u8_value)

Set T13 Modulation.

Parameters
u8_valueT13 Modulation

◆ CCU7_setT13PerVal()

INLINE void CCU7_setT13PerVal ( uint16  u16_value)

Set T13 Period Value.

Parameters
u16_valueT13 Period Value

◆ CCU7_setT13ShadowTransferReq()

INLINE void CCU7_setT13ShadowTransferReq ( void  )

Set T13 Shadow Transfer Request.

◆ CCU7_setT14IntNodePtr()

void CCU7_setT14IntNodePtr ( void  )

Set Interrupt Node Pointer for T14 Interrupts.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ CCU7_setT14PerVal()

INLINE void CCU7_setT14PerVal ( uint16  u16_value)

Set T14 Period Value.

Parameters
u16_valueT14 Period Value

◆ CCU7_setT14ShadowTransferReq()

INLINE void CCU7_setT14ShadowTransferReq ( void  )

Set T14 Shadow Transfer Request.

◆ CCU7_setT15IntNodePtr()

void CCU7_setT15IntNodePtr ( void  )

Set Interrupt Node Pointer for T15 Interrupts.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ CCU7_setT15PerVal()

INLINE void CCU7_setT15PerVal ( uint16  u16_value)

Set T15 Period Value.

Parameters
u16_valueT15 Period Value

◆ CCU7_setT15ShadowTransferReq()

INLINE void CCU7_setT15ShadowTransferReq ( void  )

Set T15 Shadow Transfer Request.

◆ CCU7_setT16IntNodePtr()

void CCU7_setT16IntNodePtr ( void  )

Set Interrupt Node Pointer for T16 Interrupts.

Warning
Do not change this at runtime, use the ConfigWizard to configure this feature!

◆ CCU7_setT16PerVal()

INLINE void CCU7_setT16PerVal ( uint16  u16_value)

Set T16 Period Value.

Parameters
u16_valueT16 Period Value

◆ CCU7_setT16ShadowTransferReq()

INLINE void CCU7_setT16ShadowTransferReq ( void  )

Set T16 Shadow Transfer Request.

◆ CCU7_setTrapModeAutomatic()

INLINE void CCU7_setTrapModeAutomatic ( void  )

Set trap mode to Automatic (Automatic Mode: Bit TRPF is cleared by HW if the trap input condition is no longer valid.)

◆ CCU7_setTrapModeManual()

INLINE void CCU7_setTrapModeManual ( void  )

Set trap mode to Manual (Manual Mode: Bit TRPF stays 1 after the trap input condition is no longer valid. It has to be cleared by SW by writing ISR.RTRPF = 1.)

◆ CCU7_startT12()

INLINE void CCU7_startT12 ( void  )

Start T12.

◆ CCU7_startT13()

INLINE void CCU7_startT13 ( void  )

Start T13.

◆ CCU7_startT14()

INLINE void CCU7_startT14 ( void  )

Start T14.

◆ CCU7_startT15()

INLINE void CCU7_startT15 ( void  )

Start T15.

◆ CCU7_startT16()

INLINE void CCU7_startT16 ( void  )

Start T16.

◆ CCU7_stopT12()

INLINE void CCU7_stopT12 ( void  )

Stop T12.

◆ CCU7_stopT13()

INLINE void CCU7_stopT13 ( void  )

Stop T13.

◆ CCU7_stopT14()

INLINE void CCU7_stopT14 ( void  )

Stop T14.

◆ CCU7_stopT15()

INLINE void CCU7_stopT15 ( void  )

Stop T15.

◆ CCU7_stopT16()

INLINE void CCU7_stopT16 ( void  )

Stop T16.

Variable Documentation

◆ feature

void use the ConfigWizard to configure this feature