Infineon MOTIX™ MCU TLE987x Device Family SDK
Macros | Typedefs | Enumerations | Functions
ccu6.h File Reference

Go to the source code of this file.

Detailed Description

Capture/Compare Unit 6 low level access library.

Version
V0.4.2
Date
02. Jan 2025

Include Graph

Include dependency graph for ccu6.h:

Macros

#define CCU6_MASK_TCTR4_STOP_T12   (CCU6_TCTR4_T12RR_Msk)
 CCU6 TCTR4 MASK Macro, T12 STOP. More...
 
#define CCU6_MASK_TCTR4_START_T12   (CCU6_TCTR4_T12RS_Msk)
 CCU6 TCTR4 MASK Macro, T12 START. More...
 
#define CCU6_MASK_TCTR4_RESET_T12   (CCU6_TCTR4_T12RES_Msk)
 CCU6 TCTR4 MASK Macro, T12 RESET. More...
 
#define CCU6_MASK_TCTR4_SHADOW_T12   (CCU6_TCTR4_T12STR_Msk)
 CCU6 TCTR4 MASK Macro, T12 SHADOW. More...
 
#define CCU6_MASK_TCTR4_STOP_T13   (CCU6_TCTR4_T13RR_Msk)
 CCU6 TCTR4 MASK Macro, T13 STOP. More...
 
#define CCU6_MASK_TCTR4_START_T13   (CCU6_TCTR4_T13RS_Msk)
 CCU6 TCTR4 MASK Macro, T13 START. More...
 
#define CCU6_MASK_TCTR4_RESET_T13   (CCU6_TCTR4_T13RES_Msk)
 CCU6 TCTR4 MASK Macro, T13 RESET. More...
 
#define CCU6_MASK_TCTR4_SHADOW_T13   (CCU6_TCTR4_T13STR_Msk)
 CCU6 TCTR4 MASK Macro, T13 SHADOW. More...
 
#define CCU6_MASK_MCMOUTS_SHADOW_HALL   (CCU6_MCMOUTS_STRHP_Msk)
 CCU6 MCMOUTS Constants Macro, SHADOW HALL. More...
 
#define CCU6_MASK_MCMOUTS_SHADOW_OUT   (CCU6_MCMOUTS_STRMCM_Msk)
 CCU6 MCMOUTS Constants Macro, SHADOW OUT. More...
 
#define CCU6_MASK_CC60   ((uint16)1u << 0u)
 CCU6 channel Input/Output selection macro, CC60. More...
 
#define CCU6_MASK_COUT60   ((uint16)1u << 1u)
 CCU6 channel Input/Output selection macro, COUT60. More...
 
#define CCU6_MASK_CC61   ((uint16)1u << 2u)
 CCU6 channel Input/Output selection macro, CC61. More...
 
#define CCU6_MASK_COUT61   ((uint16)1u << 3u)
 CCU6 channel Input/Output selection macro, COUT61. More...
 
#define CCU6_MASK_CC62   ((uint16)1u << 4u)
 CCU6 channel Input/Output selection macro, CC62. More...
 
#define CCU6_MASK_COUT62   ((uint16)1u << 5u)
 CCU6 channel Input/Output selection macro, COUT62. More...
 
#define CCU6_MASK_Ch0t   CCU6_MASK_CC60
 CCU6 channel Input/Output selection macro, CC60. More...
 
#define CCU6_MASK_Ch0c   CCU6_MASK_COUT60
 CCU6 channel Input/Output selection macro, COUT60. More...
 
#define CCU6_MASK_Ch1t   CCU6_MASK_CC61
 CCU6 channel Input/Output selection macro, CC61. More...
 
#define CCU6_MASK_Ch1c   CCU6_MASK_COUT61
 CCU6 channel Input/Output selection macro, COUT61. More...
 
#define CCU6_MASK_Ch2t   CCU6_MASK_CC62
 CCU6 channel Input/Output selection macro, CC62. More...
 
#define CCU6_MASK_Ch2c   CCU6_MASK_COUT62
 CCU6 channel Input/Output selection macro, COUT62. More...
 

Typedefs

typedef enum CCU6_Ch0_Input TCCU6_Ch0_Input
 
typedef enum CCU6_Ch1_Input TCCU6_Ch1_Input
 
typedef enum CCU6_Ch2_Input TCCU6_Ch2_Input
 
typedef enum CCU6_Trap_Input TCCU6_Trap_Input
 
typedef enum CCU6_Pos0_Input TCCU6_Pos0_Input
 
typedef enum CCU6_Pos1_Input TCCU6_Pos1_Input
 
typedef enum CCU6_Pos2_Input TCCU6_Pos2_Input
 
typedef enum CCU6_T12HR_Input TCCU6_T12HR_Input
 
typedef enum CCU6_T13HR_Input TCCU6_T13HR_Input
 
typedef enum CCU6_T12_Cnt_Input TCCU6_T12_Cnt_Input
 
typedef enum CCU6_T13_Cnt_Input TCCU6_T13_Cnt_Input
 
typedef enum CCU6_T12_Ext_Input TCCU6_T12_Ext_Input
 
typedef enum CCU6_T13_Ext_Input TCCU6_T13_Ext_Input
 
typedef enum CCU6_HSYNC TCCU6_HSYNC
 
typedef enum CCU6_Clk_Prescaler TCCU6_Clk_Prescaler
 
typedef enum CCU6_T13TEC TCCU6_T13TEC
 
typedef enum CCU6_T13ED TCCU6_T13ED
 
typedef enum CCU6_T12RSEL TCCU6_T12RSEL
 
typedef enum CCU6_T13RSEL TCCU6_T13RSEL
 
typedef enum CCU6_PSL63 TCCU6_PSL63
 
typedef enum CCU6_MCM_SWSEL TCCU6_MCM_SWSEL
 
typedef enum CCU6_Node_Sel TCCU6_Node_Sel
 
typedef enum CCU6_PWMMode TCCU6_PWMMode
 

Enumerations

enum  CCU6_Ch0_Input { CCU6_CC60_0_P04 = 0u , CCU6_CC60_1_P23 = 1u }
 
enum  CCU6_Ch1_Input { CCU6_CC61_0_P10 = 0u }
 
enum  CCU6_Ch2_Input { CCU6_CC62_0_P13 = 0u , CCU6_CC62_2_P22 = 2u }
 
enum  CCU6_Trap_Input { CCU6_CTRAP_0_P24 = 0u , CCU6_CTRAP_1_P23 = 1u }
 
enum  CCU6_Pos0_Input { CCU6_CCPOS0_1_P03 = 1u , CCU6_CCPOS0_2_P13 = 2u , CCU6_CCPOS0_3_P20 = 3u , CCU6_CCPOS0_BEMF = 3u }
 
enum  CCU6_Pos1_Input { CCU6_CCPOS1_0_P23 = 0u , CCU6_CCPOS1_1_P04 = 1u , CCU6_CCPOS1_2_P14 = 2u , CCU6_CCPOS1_BEMF = 3u }
 
enum  CCU6_Pos2_Input { CCU6_CCPOS2_1_P02 = 1u , CCU6_CCPOS2_2_P12 = 2u , CCU6_CCPOS2_3_P22 = 3u , CCU6_CCPOS2_BEMF = 3u }
 
enum  CCU6_T12HR_Input { CCU6_T12HR_0_P00 = 0u , CCU6_T12HR_2_P20 = 2u }
 
enum  CCU6_T13HR_Input { CCU6_T13HR_0_P01 = 0u , CCU6_T13HR_2_P22 = 2u }
 
enum  CCU6_T12_Cnt_Input { CCU6_T12_Prescaler = 0u , CCU6_TCTR4_T12CNT = 1u , CCU6_T12HR_Rising_Edge = 2u , CCU6_T12HR_Falling_Edge = 3u }
 
enum  CCU6_T13_Cnt_Input { CCU6_T13_Prescaler = 0u , CCU6_TCTR4_T13CNT = 1u , CCU6_T13HR_Rising_Edge = 2u , CCU6_T13HR_Falling_Edge = 3u }
 
enum  CCU6_T12_Ext_Input { CCU6_T12HR_D_A = 0u , CCU6_T12HR_H_E = 1u }
 
enum  CCU6_T13_Ext_Input { CCU6_T13HR_D_A = 0u , CCU6_T13HR_H_E = 1u }
 
enum  CCU6_HSYNC {
  CCU6_CCPOS0x_Any_Edge = 0u , CCU6_T13_CM = 1u , CCU6_T13_PM = 2u , CCU6_HW_Hall_Sampling_Off = 3u ,
  CCU6_T12_PM = 4u , CCU6_T12_OM = 5u , CCU6_T12_CM_Ch1_up = 6u , CCU6_T12_CM_Ch1_down = 7u
}
 
enum  CCU6_Clk_Prescaler {
  CCU6_Clk_Div_1 = 0 , CCU6_Clk_Div_2 = 1 , CCU6_Clk_Div_4 = 2 , CCU6_Clk_Div_8 = 3 ,
  CCU6_Clk_Div_16 = 4 , CCU6_Clk_Div_32 = 5 , CCU6_Clk_Div_64 = 6 , CCU6_Clk_Div_128 = 7
}
 
enum  CCU6_T13TEC {
  CCU6_T13TEC_No_Trigger = 0 , CCU6_T13TEC_T12_CM_Ch0 = 1 , CCU6_T13TEC_T12_CM_Ch1 = 2 , CCU6_T13TEC_T12_CM_Ch2 = 3 ,
  CCU6_T13TEC_T12_CM_Chx = 4 , CCU6_T13TEC_T12_PM = 5 , CCU6_T13TEC_T12_ZM = 6 , CCU6_T13TEC_CCPOSx = 7
}
 
enum  CCU6_T13ED { CCU6_T13ED_No_Action = 0 , CCU6_T13ED_T12_Up = 1 , CCU6_T13ED_T12_Down = 2 , CCU6_T13ED_T12_UpDown = 3 }
 
enum  CCU6_T12RSEL { CCU6_T12RSEL_Dis = 0 , CCU6_T12RSEL_T12HR_Rise = 1 , CCU6_T12RSEL_T12HR_Fall = 2 , CCU6_T12RSEL_T12HR_Any = 3 }
 
enum  CCU6_T13RSEL { CCU6_T13RSEL_Dis = 0 , CCU6_T13RSEL_T13HR_Rise = 1 , CCU6_T13RSEL_T13HR_Fall = 2 , CCU6_T13RSEL_T13HR_Any = 3 }
 
enum  CCU6_PSL63 { CCU6_PSL63_Low = 0 , CCU6_PSL63_High = 1 }
 
enum  CCU6_MCM_SWSEL {
  CCU6_SWSEL_No_Action = 0 , CCU6_SWSEL_Correct_Hall = 1 , CCU6_SWSEL_T13_PM = 2 , CCU6_SWSEL_T12_OM = 3 ,
  CCU6_SWSEL_T12_Ch1_CM = 4 , CCU6_SWSEL_T12_PM = 5
}
 
enum  CCU6_Node_Sel { CCU6_Node0 = 0 , CCU6_Node1 = 1 , CCU6_Node2 = 2 , CCU6_Node3 = 3 }
 
enum  CCU6_PWMMode { CCU6_T12_ActiveLeftAligned = 0x15 , CCU6_T12_ActiveRightAligned = 0x2A , CCU6_T12_ActiveCenterAligned = 0x2A , CCU6_T12_ActiveCenterAlignedInverted = 0x15 }
 

Functions

INLINE void CCU6_T12_Stop (void)
 stops CCU6 T12. More...
 
INLINE void CCU6_T12_Start (void)
 starts CCU6 T12. More...
 
INLINE void CCU6_T12_Rst (void)
 resets CCU6 T12. More...
 
INLINE void CCU6_Deadtime_Rst (void)
 resets CCU6 T12 Dead-Time Counter. More...
 
INLINE void CCU6_T12_Cnt (void)
 counts 1 step for CCU6 T12 Event. More...
 
INLINE void CCU6_T12_Str_En (void)
 enables T12 Shadow Transfer. More...
 
INLINE void CCU6_T12_Str_Dis (void)
 disables T12 Shadow Transfer. More...
 
INLINE void CCU6_T13_Stop (void)
 stops CCU6 T13. More...
 
INLINE void CCU6_T13_Start (void)
 starts CCU6 T13. More...
 
INLINE void CCU6_T13_Rst (void)
 resets CCU6 T13. More...
 
INLINE void CCU6_T13_Cnt (void)
 counts 1 step for CCU6 T13 Event. More...
 
INLINE void CCU6_T13_Str_En (void)
 enables T13 Shadow Transfer. More...
 
INLINE void CCU6_T13_Str_Dis (void)
 disables T13 Shadow Transfer. More...
 
INLINE void CCU6_T12_T13_Str_En (void)
 enables T12 and T13 Shadow Transfer. More...
 
INLINE void CCU6_T12_T13_Str_Dis (void)
 disables T12 and T13 Shadow Transfer. More...
 
INLINE void CCU6_Ch0_Input_Sel (uint16 iscc60)
 selects Input for CC60. More...
 
INLINE void CCU6_Ch1_Input_Sel (uint16 iscc61)
 selects Input for CC61. More...
 
INLINE void CCU6_Ch2_Input_Sel (uint16 iscc62)
 selects Input for CC62. More...
 
INLINE void CCU6_Trap_Input_Sel (uint16 istrp)
 selects Input for CTRAP. More...
 
INLINE void CCU6_CCPOS0_Input_Sel (uint16 ispos0)
 selects Input for CCPOS0. More...
 
INLINE void CCU6_CCPOS1_Input_Sel (uint16 ispos1)
 selects Input for CCPOS1. More...
 
INLINE void CCU6_CCPOS2_Input_Sel (uint16 ispos2)
 selects Input for CCPOS2. More...
 
INLINE void CCU6_T12HR_Input_Sel (uint16 ist12hr)
 selects Input for T12HR. More...
 
INLINE void CCU6_T13HR_Input_Sel (uint16 ist13hr)
 selects Input for T13HR. More...
 
INLINE void CCU6_T12_Cnt_Input_Sel (uint16 iscnt12)
 selects Input for T12 Counting. More...
 
INLINE void CCU6_T13_Cnt_Input_Sel (uint16 iscnt13)
 selects Input for T13 Counting. More...
 
INLINE void CCU6_T12_Ext_Input_Sel (uint16 t12ext)
 selects Input of Extension for T12HR. More...
 
INLINE void CCU6_T13_Ext_Input_Sel (uint16 t13ext)
 selects Input of Extension for T13HR. More...
 
INLINE void CCU6_Hall_Delay_Bypass_En (void)
 enables Hall Delay Bypass. More...
 
INLINE void CCU6_Hall_Delay_Bypass_Dis (void)
 disables Hall Delay Bypass. More...
 
INLINE void CCU6_Hall_Synchronizaion_Sel (uint16 hsync)
 selects Hall Synchronization. More...
 
INLINE void CCU6_Ch2_CapCom_Mode_Sel (uint16 msel62)
 selects CCU6 T12 CH2 Capture/Compare Mode. More...
 
INLINE void CCU6_Ch1_CapCom_Mode_Sel (uint16 msel61)
 selects CCU6 T12 CH1 Capture/Compare Mode. More...
 
INLINE void CCU6_Ch0_CapCom_Mode_Sel (uint16 msel60)
 selects CCU6 T12 CH0 Capture/Compare Mode. More...
 
INLINE uint16 CCU6_T12_Count_Value_Get (void)
 reads Timer T12 Counter Value. More...
 
INLINE void CCU6_T12_Count_Value_Set (uint16 t12cv)
 sets Timer T12 Counter Value. More...
 
INLINE uint16 CCU6_T12_Period_Value_Get (void)
 reads Timer T12 Period Value. More...
 
INLINE void CCU6_T12_Period_Value_Set (uint16 t12pr)
 sets Timer T12 Period Value. More...
 
INLINE uint16 CCU6_Ch0_Value_Get (void)
 reads Channel 0 Capture/Compare Value. More...
 
INLINE void CCU6_Ch0_Value_Set (uint16 cc60sr)
 sets Channel 0 Capture/Compare Value. More...
 
INLINE uint16 CCU6_Ch1_Value_Get (void)
 reads Channel 1 Capture/Compare Value. More...
 
INLINE void CCU6_Ch1_Value_Set (uint16 cc61sr)
 sets Channel 1 Capture/Compare Value. More...
 
INLINE uint16 CCU6_Ch2_Value_Get (void)
 reads Channel 2 Capture/Compare Value. More...
 
INLINE void CCU6_Ch2_Value_Set (uint16 cc62sr)
 sets Channel 2 Capture/Compare Value. More...
 
INLINE uint8 CCU6_Deadtime_Get (void)
 reads CCU6 Timer T12 Deadtime. More...
 
INLINE void CCU6_Deadtime_Set (uint16 dtm)
 sets CCU6 Timer T12 Deadtime. More...
 
INLINE void CCU6_Ch0_Deadtime_En (void)
 enables CCU6 Timer T12 Channel 0 Deadtime. More...
 
INLINE void CCU6_Ch1_Deadtime_En (void)
 enables CCU6 Timer T12 Channel 1 Deadtime. More...
 
INLINE void CCU6_Ch2_Deadtime_En (void)
 enables CCU6 Timer T12 Channel 2 Deadtime. More...
 
INLINE void CCU6_Ch0_Deadtime_Dis (void)
 disables CCU6 Timer T12 Channel 0 Deadtime. More...
 
INLINE void CCU6_Ch1_Deadtime_Dis (void)
 disables CCU6 Timer T12 Channel 1 Deadtime. More...
 
INLINE void CCU6_Ch2_Deadtime_Dis (void)
 disables CCU6 Timer T12 Channel 2 Deadtime. More...
 
INLINE uint8 CCU6_Ch0_Deadtime_Sts (void)
 reads CCU6 Timer T12 Channel 0 Deadtime Status. More...
 
INLINE uint8 CCU6_Ch1_Deadtime_Sts (void)
 reads CCU6 Timer T12 Channel 1 Deadtime Status. More...
 
INLINE uint8 CCU6_Ch2_Deadtime_Sts (void)
 reads CCU6 Timer T12 Channel 2 Deadtime Status. More...
 
INLINE uint16 CCU6_T13_Count_Value_Get (void)
 reads Timer T13 Counter Value. More...
 
INLINE void CCU6_T13_Count_Value_Set (uint16 t13cv)
 sets Timer T13 Counter Value. More...
 
INLINE uint16 CCU6_T13_Period_Value_Get (void)
 reads Timer T13 Period Value. More...
 
INLINE void CCU6_T13_Period_Value_Set (uint16 t13pr)
 sets Timer T13 Period Value. More...
 
INLINE uint16 CCU6_Ch3_Value_Get (void)
 reads Channel CC63 Compare Value. More...
 
INLINE void CCU6_Ch3_Value_Set (uint16 cc63sr)
 sets Channel CC63 Compare Value. More...
 
INLINE uint8 CCU6_Ch0_CompState_Sts (void)
 reads CC60 Capture/Compare State. More...
 
INLINE uint8 CCU6_Ch1_CompState_Sts (void)
 reads CC61 Capture/Compare State. More...
 
INLINE uint8 CCU6_Ch2_CompState_Sts (void)
 reads CC62 Capture/Compare State. More...
 
INLINE uint8 CCU6_Ch3_CompState_Sts (void)
 reads CC63 Capture/Compare State. More...
 
INLINE uint8 CCU6_Hall_Ch0_Sts (void)
 reads Sampled Hall Pattern Bit 0. More...
 
INLINE uint8 CCU6_Hall_Ch1_Sts (void)
 reads Sampled Hall Pattern Bit 1. More...
 
INLINE uint8 CCU6_Hall_Ch2_Sts (void)
 reads Sampled Hall Pattern Bit 2. More...
 
INLINE void CCU6_T12_PWMMode_Set (TCCU6_PWMMode mode)
 sets mode of PWM signal for Channel0/1/2 and COUT0/1/2. More...
 
INLINE void CCU6_Ch3c_Passive_State_After_Compare_Set (void)
 sets Passive state for COUT63 after Compare. More...
 
INLINE void CCU6_Ch3c_Passive_State_Before_Compare_Set (void)
 sets Passive state for COUT63 Before Compare. More...
 
INLINE void CCU6_T13_Inv_Mod_En (void)
 enables T13 inversion for further modulation. More...
 
INLINE void CCU6_T13_Inv_Mod_Dis (void)
 disables T13 inversion for further modulation. More...
 
INLINE void CCU6_Ch0_CompState_Set (void)
 sets Capture/Compare Status Modification Bit 0 for (CC60ST) by Software. More...
 
INLINE void CCU6_Ch1_CompState_Set (void)
 sets Capture/Compare Status Modification Bit 1 for (CC61ST) by Software. More...
 
INLINE void CCU6_Ch2_CompState_Set (void)
 sets Capture/Compare Status Modification Bit 2 for (CC62ST) by Software. More...
 
INLINE void CCU6_Ch3_CompState_Set (void)
 sets Capture/Compare Status Modification Bit 3 for (CC63ST) by Software. More...
 
INLINE void CCU6_Ch0_CompState_Rst (void)
 resets Capture/Compare Status Modification Bit 0 for CC60ST by Software. More...
 
INLINE void CCU6_Ch1_CompState_Rst (void)
 resets Capture/Compare Status Modification Bit 1 for CC61ST by Software. More...
 
INLINE void CCU6_Ch2_CompState_Rst (void)
 resets Capture/Compare Status Modification Bit 2 (CC62ST) by Software. More...
 
INLINE void CCU6_Ch3_CompState_Rst (void)
 resets Capture/Compare Status Modification Bit 3 (CC63ST) by Software. More...
 
INLINE void CCU6_T12_Edge_Aligned_Mode_En (void)
 enables T12 Operating Edge-aligned Mode. More...
 
INLINE void CCU6_T12_Center_Aligned_Mode_En (void)
 enables T12 Operating Center-aligned Mode. More...
 
INLINE void CCU6_T12_Clk_Sel (uint16 t12clk)
 selects Timer T12 Input Clock. More...
 
INLINE void CCU6_T13_Clk_Sel (uint16 t13clk)
 selects Timer T13 Input Clock. More...
 
INLINE void CCU6_T12_Prescaler_En (void)
 enables additional prescaler for Timer T12. More...
 
INLINE void CCU6_T12_Prescaler_Dis (void)
 disables additional prescaler for Timer T12. More...
 
INLINE void CCU6_T13_Prescaler_En (void)
 enables additional prescaler for Timer T13. More...
 
INLINE void CCU6_T13_Prescaler_Dis (void)
 disables additional prescaler for Timer T13. More...
 
INLINE uint8 CCU6_T12_Run_Sts (void)
 reads Timer T12 Run Bit. More...
 
INLINE uint8 CCU6_T12_Str_Sts (void)
 reads Timer T12 Shadow Transfer Enable Bit. More...
 
INLINE uint8 CCU6_T12_Count_Dir_Sts (void)
 reads Count Direction of Timer T12 Bit. More...
 
INLINE uint8 CCU6_T13_Run_Sts (void)
 reads Timer T13 Run Bit. More...
 
INLINE uint8 CCU6_T13_Str_Sts (void)
 reads Timer T13 Shadow Transfer Enable Bit. More...
 
INLINE void CCU6_T12_Single_Shot_En (void)
 enables Timer T12 Single Shot. More...
 
INLINE void CCU6_T12_Single_Shot_Dis (void)
 disables Timer T12 Single Shot. More...
 
INLINE void CCU6_T13_Trig_Event_Sel (uint16 t13tec)
 selects Timer T13 Trigger Event Control. More...
 
INLINE void CCU6_T13_Trig_Event_Dir_Sel (uint16 t13ted)
 selects Timer T13 Trigger Event Direction. More...
 
INLINE void CCU6_T12_Ext_Run_Sel (uint16 t12rsel)
 selects Timer T12 External Run. More...
 
INLINE void CCU6_T13_Ext_Run_Sel (uint16 t13rsel)
 selects Timer T13 External Run. More...
 
INLINE void CCU6_T12_Modulation_En (uint16 ccu6_mask)
 enables Timer T12 Modulation Configuration More...
 
INLINE void CCU6_T12_Modulation_Dis (uint16 ccu6_mask)
 disables Timer T12 Modulation Configuration More...
 
INLINE void CCU6_T13_Modulation_En (uint16 ccu6_mask)
 enables Timer T13 Modulation Configuration More...
 
INLINE void CCU6_T13_Modulation_Dis (uint16 ccu6_mask)
 disables Timer T13 Modulation Configuration More...
 
INLINE void CCU6_Multi_Ch_Mode_En (void)
 enables Multi-Channel Mode More...
 
INLINE void CCU6_Multi_Ch_Mode_Dis (void)
 disables Multi-Channel Mode More...
 
INLINE void CCU6_T13_Compare_Out_En (void)
 enables Compare Timer T13 Output More...
 
INLINE void CCU6_T13_Compare_Out_Dis (void)
 disables Compare Timer T13 Output More...
 
INLINE void CCU6_Trap_T12_ZM_Exit_En (void)
 enables T12 zero-match Trap Mode More...
 
INLINE void CCU6_Trap_T13_ZM_Exit_En (void)
 enables T13 zero-match Trap Mode More...
 
INLINE void CCU6_Trap_Asynch_Exit_En (void)
 enables Trap Immediately without any synchronization to T12 or T13. More...
 
INLINE void CCU6_Trap_HW_Clr_En (void)
 enables Hardware reset of the Trap Mode. More...
 
INLINE void CCU6_Trap_SW_Clr_En (void)
 enables Software reset of the Trap Mode. More...
 
INLINE void CCU6_Trap_T13_En (void)
 enables the trap functionality for T13. More...
 
INLINE void CCU6_Trap_T13_Dis (void)
 disables The trap functionality for T13. More...
 
INLINE void CCU6_Trap_Pin_En (void)
 enables the trap functionality based on the input pin CTRAP. More...
 
INLINE void CCU6_Trap_Pin_Dis (void)
 disables the trap functionality based on the input pin CTRAP. More...
 
INLINE void CCU6_Trap_Channel_En (uint16 ccu6_mask)
 enables the trap functionality of a corresponding output. More...
 
INLINE void CCU6_Passive_State_After_Compare_Sel (uint16 ccu6_mask)
 Sets the passive state to "after" the compare value. More...
 
INLINE void CCU6_Ch0t_Passive_Level_High_Set (void)
 sets Passive High Level of CC60. More...
 
INLINE void CCU6_Ch0t_Passive_Level_Low_Set (void)
 sets Passive Low Level of CC60. More...
 
INLINE void CCU6_Ch0c_Passive_Level_High_Set (void)
 sets Passive High Level of COUT60. More...
 
INLINE void CCU6_Ch0c_Passive_Level_Low_Set (void)
 sets Passive Low Level of COUT60. More...
 
INLINE void CCU6_Ch1t_Passive_Level_High_Set (void)
 sets Passive High Level of CC61. More...
 
INLINE void CCU6_Ch1t_Passive_Level_Low_Set (void)
 sets Passive Low Level of CC61. More...
 
INLINE void CCU6_Ch1c_Passive_Level_High_Set (void)
 sets Passive High Level of COUT61. More...
 
INLINE void CCU6_Ch1c_Passive_Level_Low_Set (void)
 sets Passive Low Level of COUT61. More...
 
INLINE void CCU6_Ch2t_Passive_Level_High_Set (void)
 sets Passive High Level of CC62. More...
 
INLINE void CCU6_Ch2t_Passive_Level_Low_Set (void)
 sets Passive Low Level of CC62. More...
 
INLINE void CCU6_Ch2c_Passive_Level_High_Set (void)
 sets Passive High Level of COUT62. More...
 
INLINE void CCU6_Ch2c_Passive_Level_Low_Set (void)
 sets Passive Low Level of COUT62. More...
 
INLINE void CCU6_Passive_Level_High_Sel (uint16 ccu6_mask)
 sets Compare Corresponding Outputs Passive High Level. More...
 
INLINE void CCU6_Passiv_Level_Ch3_Sel (uint16 lvl)
 sets Passive State Level of Output COUT63. More...
 
INLINE void CCU6_Multi_Ch_PWM_Shadow_Reg_Load (uint16 ccu6_mask)
 sets Multi-Channel PWM Pattern Shadow. More...
 
INLINE void CCU6_MCM_PWM_Str_SW_En (void)
 enables Shadow Transfer Request for MCMPS by Software. More...
 
INLINE void CCU6_MCM_PWM_Str_HW_En (void)
 enables Shadow Transfer Request for MCMPS by Hardware. More...
 
INLINE void CCU6_MCM_Expected_Hall_Shadow_Reg_Load (uint16 mcm_mask_ccpos)
 sets Expected Hall Pattern Shadow of CCPOSx. More...
 
INLINE void CCU6_MCM_Current_Hall_Shadow_Reg_Load (uint16 mcm_mask_ccpos)
 sets Current Hall Pattern Shadow of CCPOSx. More...
 
INLINE void CCU6_MCM_Hall_Str_SW_En (void)
 enables Shadow Transfer Request for the Hall Pattern by Software. More...
 
INLINE void CCU6_MCM_Hall_Str_HW_En (void)
 enables Shadow Transfer Request for the Hall Pattern by Hardware. More...
 
INLINE uint8 CCU6_MCM_PWM_Pattern_Sts (void)
 reads Multi-Channel PWM Pattern. More...
 
INLINE uint8 CCU6_MCM_PWM_Str_Req_Sts (void)
 reads Reminder Flag Status. More...
 
INLINE uint8 CCU6_MCM_Expected_Hall_Sts (void)
 reads Expected Hall Pattern of CCPOSx. More...
 
INLINE uint8 CCU6_MCM_Current_Hall_Sts (void)
 reads Current Hall Pattern of CCPOSx. More...
 
INLINE void CCU6_MCM_Switch_Sel (uint16 swsel)
 selects Switching Mode. More...
 
INLINE void CCU6_MCM_Switch_NoTrigger_Set (void)
 sets No Trigger Switching Mode. More...
 
INLINE void CCU6_MCM_Switch_CorrectHall_Set (void)
 sets Correct Hall Switching Mode. More...
 
INLINE void CCU6_MCM_Switch_T13_PM_Set (void)
 sets T13 period-match Switching Mode. More...
 
INLINE void CCU6_MCM_Switch_T12_ON_Set (void)
 sets T12 one-match Switching Mode. More...
 
INLINE void CCU6_MCM_Switch_T12_Ch1_CM_Set (void)
 sets T12 channel1 compare-match Switching Mode. More...
 
INLINE void CCU6_MCM_Switch_T12_PM_Set (void)
 sets T12 period-match Switching Mode. More...
 
INLINE void CCU6_MCM_Switch_Sync_direct_Sel (void)
 sets Direct Switching Synchronization. More...
 
INLINE void CCU6_MCM_Switch_Sync_T13_ZM_Sel (void)
 sets T13 zero-match Switching Synchronization. More...
 
INLINE void CCU6_MCM_Switch_Sync_T12_ZM_Sel (void)
 sets T12 zero-match Switching Synchronization. More...
 
INLINE void CCU6_MCM_Str_T12_Up_Cnt_En (void)
 enables Shadow Transfer for T12 Upcounting. More...
 
INLINE void CCU6_MCM_Str_T12_Up_Cnt_Dis (void)
 disables Shadow Transfer for T12 Upcounting. More...
 
INLINE void CCU6_MCM_Str_T12_Down_Cnt_En (void)
 enables Shadow Transfer for T12 Downcounting. More...
 
INLINE void CCU6_MCM_Str_T12_Down_Cnt_Dis (void)
 disables Shadow Transfer for T12 Downcounting. More...
 
INLINE void CCU6_MCM_Str_T13_Up_Cnt_En (void)
 enables Shadow Transfer for T13 Upcounting. More...
 
INLINE void CCU6_MCM_Str_T13_Up_Cnt_Dis (void)
 disables Shadow Transfer for T13 Upcounting. More...
 
INLINE uint8 CCU6_T12_CM_CC60_Int_Rise_Sts (void)
 reads Capture, Compare-Match Rising Edge Flag Status for Channel 0. More...
 
INLINE uint8 CCU6_T12_CM_CC61_Int_Rise_Sts (void)
 reads Capture, Compare-Match Rising Edge Flag Status for Channel 1. More...
 
INLINE uint8 CCU6_T12_CM_CC62_Int_Rise_Sts (void)
 reads Capture, Compare-Match Rising Edge Flag Status for Channel 2. More...
 
INLINE uint8 CCU6_T12_CM_CC60_Int_Fall_Sts (void)
 reads Capture, Compare-Match Falling Edge Flag Status for Channel 0. More...
 
INLINE uint8 CCU6_T12_CM_CC61_Int_Fall_Sts (void)
 reads Capture, Compare-Match Falling Edge Flag Status for Channel 1. More...
 
INLINE uint8 CCU6_T12_CM_CC62_Int_Fall_Sts (void)
 reads Capture, Compare-Match Falling Edge Flag Status for Channel 2. More...
 
INLINE uint8 CCU6_T12_OM_Int_Sts (void)
 reads Timer T12 One-Match Flag Status. More...
 
INLINE uint8 CCU6_T12_PM_Int_Sts (void)
 reads Timer T12 Period-Match Flag Status. More...
 
INLINE uint8 CCU6_T13_CM_Int_Sts (void)
 reads Timer T13 Compare-Match Flag Status. More...
 
INLINE uint8 CCU6_T13_PM_Int_Sts (void)
 reads Timer T13 Period-Match Flag Status. More...
 
INLINE uint8 CCU6_Trap_Flag_Int_Sts (void)
 reads Trap Flag Status. More...
 
INLINE uint8 CCU6_Trap_State_Int_Sts (void)
 reads Trap Status. More...
 
INLINE uint8 CCU6_Hall_Correct_Int_Sts (void)
 reads Correct Hall Event Status. More...
 
INLINE uint8 CCU6_Hall_Wrong_Int_Sts (void)
 reads Wrong Hall Event Status. More...
 
INLINE uint8 CCU6_MCM_Idle_Int_Sts (void)
 reads IDLE Status. More...
 
INLINE uint8 CCU6_MCM_Str_Int_Sts (void)
 reads Multi-Channel Mode Shadow Transfer Request Status. More...
 
INLINE void CCU6_T12_CM_CC60_Int_Rise_Set (void)
 sets Capture, Compare-Match Rising Edge Interrupt flag for Channel 0. More...
 
INLINE void CCU6_T12_CM_CC61_Int_Rise_Set (void)
 sets Capture, Compare-Match Rising Edge Interrupt flag for Channel 1. More...
 
INLINE void CCU6_T12_CM_CC62_Int_Rise_Set (void)
 sets Capture, Compare-Match Rising Edge Interrupt flag for Channel 2. More...
 
INLINE void CCU6_T12_CM_CC60_Int_Fall_Set (void)
 sets Capture, Compare-Match Falling Edge Interrupt flag for Channel 0. More...
 
INLINE void CCU6_T12_CM_CC61_Int_Fall_Set (void)
 sets Capture, Compare-Match Falling Edge Interrupt flag for Channel 1. More...
 
INLINE void CCU6_T12_CM_CC62_Int_Fall_Set (void)
 sets Capture, Compare-Match Falling Edge Interrupt flag for Channel 2. More...
 
INLINE void CCU6_T12_OM_Int_Set (void)
 sets Interrupt for T12 One-Match Flag. More...
 
INLINE void CCU6_T12_PM_Int_Set (void)
 sets Interrupt for T12 Period-Match Flag. More...
 
INLINE void CCU6_T13_CM_Int_Set (void)
 sets Interrupt for T13 Compare-Match Flag. More...
 
INLINE void CCU6_T13_PM_Int_Set (void)
 sets Interrupt for T13 Period-Match Flag. More...
 
INLINE void CCU6_Trap_Flag_Int_Set (void)
 sets Trap Flag. More...
 
INLINE void CCU6_Trap_SW_Hall_Int_Set (void)
 sets Interrupt for Trap SW Hall Event flag. More...
 
INLINE void CCU6_Hall_Correct_Int_Set (void)
 sets Interrupt for Correct Hall Event flag. More...
 
INLINE void CCU6_Hall_Wrong_Int_Set (void)
 sets Interrupt for Wrong Hall Event flag. More...
 
INLINE void CCU6_MCM_Idle_Int_Set (void)
 sets Interrupt for IDLE flag. More...
 
INLINE void CCU6_MCM_Str_Int_Set (void)
 sets Multi-Channel Mode Shadow Transfer Interrupt flag. More...
 
INLINE void CCU6_Ch0_Int_Node_Sel (uint16 srx)
 selects Interrupt Node Pointer for Channel 0 Interrupts. More...
 
INLINE void CCU6_Ch1_Int_Node_Sel (uint16 srx)
 selects Interrupt Node Pointer for Channel 1 Interrupts. More...
 
INLINE void CCU6_Ch2_Int_Node_Sel (uint16 srx)
 selects Interrupt Node Pointer for Channel 2 Interrupts. More...
 
INLINE void CCU6_Error_Int_Node_Sel (uint16 srx)
 selects Interrupt Node Pointer for Error Interrupts. More...
 
INLINE void CCU6_T12_Int_Node_Sel (uint16 srx)
 selects Interrupt Node Pointer for Timer T12 Interrupts. More...
 
INLINE void CCU6_T13_Int_Node_Sel (uint16 srx)
 selects Interrupt Node Pointer for Timer T13 Interrupts. More...
 
INLINE void CCU6_Hall_Correct_Int_Node_Sel (uint16 srx)
 selects Interrupt Node Pointer for CHE Interrupts. More...
 
INLINE void CCU6_CH0_CM_R_Int_Clr (void)
 clears Capture, Compare-Match Rising Edge Interrupt flag for Channel 0. More...
 
INLINE void CCU6_CH0_CM_F_Int_Clr (void)
 clears Capture, Compare-Match Falling Edge Interrupt flag for Channel 0. More...
 
INLINE void CCU6_CH1_CM_R_Int_Clr (void)
 clears Capture, Compare-Match Rising Edge Interrupt flag for Channel 1. More...
 
INLINE void CCU6_CH1_CM_F_Int_Clr (void)
 clears Capture, Compare-Match Falling Edge Interrupt flag for Channel 1. More...
 
INLINE void CCU6_CH2_CM_R_Int_Clr (void)
 clears Capture, Compare-Match Rising Edge Interrupt flag for Channel 2. More...
 
INLINE void CCU6_CH2_CM_F_Int_Clr (void)
 clears Capture, Compare-Match Falling Edge Interrupt flag for Channel 2. More...
 
INLINE void CCU6_T12_OM_Int_Clr (void)
 clears Interrupt for T12 One-Match Flag. More...
 
INLINE void CCU6_T12_PM_Int_Clr (void)
 clears Interrupt for T12 Period-Match Flag. More...
 
INLINE void CCU6_T13_CM_Int_Clr (void)
 clears Interrupt for T13 Compare-Match Flag. More...
 
INLINE void CCU6_T13_PM_Int_Clr (void)
 clears Interrupt for T13 Period-Match Flag. More...
 
INLINE void CCU6_TRAP_Int_Clr (void)
 clears Trap Flag. More...
 
INLINE void CCU6_CHE_Int_Clr (void)
 clears Interrupt for Correct Hall Event flag. More...
 
INLINE void CCU6_WHE_Int_Clr (void)
 clears Interrupt for Wrong Hall Event flag. More...
 
INLINE void CCU6_STR_Int_Clr (void)
 clears Multi-Channel Mode Shadow Transfer Interrupt flag. More...
 
INLINE void CCU6_CH0_CM_R_Int_En (void)
 enables Capture, Compare-Match Rising Edge Interrupt for Channel 0. More...
 
INLINE void CCU6_CH0_CM_R_Int_Dis (void)
 disables Capture, Compare-Match Rising Edge Interrupt for Channel 0. More...
 
INLINE void CCU6_CH0_CM_F_Int_En (void)
 enables Capture, Compare-Match Falling Edge Interrupt for Channel 0. More...
 
INLINE void CCU6_CH0_CM_F_Int_Dis (void)
 disables Capture, Compare-Match Falling Edge Interrupt for Channel 0. More...
 
INLINE void CCU6_CH1_CM_R_Int_En (void)
 enables Capture, Compare-Match Rising Edge Interrupt for Channel 1. More...
 
INLINE void CCU6_CH1_CM_R_Int_Dis (void)
 disables Capture, Compare-Match Rising Edge Interrupt for Channel 1. More...
 
INLINE void CCU6_CH1_CM_F_Int_En (void)
 enables Capture, Compare-Match Falling Edge Interrupt for Channel 1. More...
 
INLINE void CCU6_CH1_CM_F_Int_Dis (void)
 disables Capture, Compare-Match Falling Edge Interrupt for Channel 1. More...
 
INLINE void CCU6_CH2_CM_R_Int_En (void)
 enables Capture, Compare-Match Rising Edge Interrupt for Channel 2. More...
 
INLINE void CCU6_CH2_CM_R_Int_Dis (void)
 disables Capture, Compare-Match Rising Edge Interrupt for Channel 2. More...
 
INLINE void CCU6_CH2_CM_F_Int_En (void)
 enables Capture, Compare-Match Falling Edge Interrupt for Channel 2. More...
 
INLINE void CCU6_CH2_CM_F_Int_Dis (void)
 disables Capture, Compare-Match Falling Edge Interrupt for Channel 2. More...
 
INLINE void CCU6_T12_OM_Int_En (void)
 enables Interrupt for T12 One-Match. More...
 
INLINE void CCU6_T12_OM_Int_Dis (void)
 disables Interrupt for T12 One-Match. More...
 
INLINE void CCU6_T12_PM_Int_En (void)
 enables Interrupt for T12 Period-Match. More...
 
INLINE void CCU6_T12_PM_Int_Dis (void)
 disables Interrupt for T12 Period-Match. More...
 
INLINE void CCU6_T13_CM_Int_En (void)
 enables Interrupt for T13 Compare-Match. More...
 
INLINE void CCU6_T13_CM_Int_Dis (void)
 disables Interrupt for T13 Compare-Match. More...
 
INLINE void CCU6_T13_PM_Int_En (void)
 enables Interrupt for T13 Period-Match. More...
 
INLINE void CCU6_T13_PM_Int_Dis (void)
 disables Interrupt for T13 Period-Match. More...
 
INLINE void CCU6_TRAP_Int_En (void)
 enables Interrupt for Trap Flag. More...
 
INLINE void CCU6_TRAP_Int_Dis (void)
 disables Interrupt for Trap Flag. More...
 
INLINE void CCU6_CHE_Int_En (void)
 enables Interrupt for Correct Hall Event. More...
 
INLINE void CCU6_CHE_Int_Dis (void)
 disables Interrupt for Correct Hall Event. More...
 
INLINE void CCU6_WHE_Int_En (void)
 enables Interrupt for Wrong Hall Event. More...
 
INLINE void CCU6_WHE_Int_Dis (void)
 disables Interrupt for Wrong Hall Event. More...
 
INLINE void CCU6_STR_Int_En (void)
 enables Multi-Channel Mode Shadow Transfer Interrupt. More...
 
INLINE void CCU6_STR_Int_Dis (void)
 disables Multi-Channel Mode Shadow Transfer Interrupt. More...
 
void CCU6_Init (void)
 Initializes the CCU6 module based on the Config Wizard for MOTIX MCU configuration. More...
 
INLINE void CCU6_StartTmr_T12 (void)
 Start CCU6 Timer T12. More...
 
INLINE void CCU6_StartTmr_T13 (void)
 Start CCU6 Timer T13. More...
 
INLINE void CCU6_StopTmr_T12 (void)
 Stop CCU6 Timer T12. More...
 
INLINE void CCU6_StopTmr_T13 (void)
 Stops CCU6 Timer T13. More...
 
INLINE void CCU6_EnableST_T12 (void)
 Enable T12 Shadow Transfer. More...
 
INLINE void CCU6_EnableST_T13 (void)
 Enable T13 Shadow Transfer. More...
 
INLINE void CCU6_LoadShadowRegister_CC60 (uint16 tick)
 Load Channel 0 compare value to the shadow register. More...
 
INLINE void CCU6_LoadShadowRegister_CC61 (uint16 tick)
 Load Channel 1 compare value to the shadow register. More...
 
INLINE void CCU6_LoadShadowRegister_CC62 (uint16 tick)
 Load Channel 2 compare value to the shadow register. More...
 
INLINE void CCU6_LoadShadowRegister_CC63 (uint16 tick)
 Load Channel 3 compare value to the shadow register. More...
 
INLINE void CCU6_LoadPeriodRegister_T13_Time (uint32 us)
 Load Timer13 Period Register as Time Value. More...
 
INLINE void CCU6_LoadPeriodRegister_T13_Tick (uint16 tick)
 Load Timer13 Period Register as Time Value. More...
 
INLINE bool CCU6_IsT13Running (void)
 reads Timer T13 Run Bit. More...
 
INLINE void CCU6_SetT13Trigger (uint16 Mask)
 Sets trigger event for the T13 timer. More...
 
INLINE void CCU6_SetT13Compare (uint16 Compare)
 Sets compare value for the T13 timer. More...
 
INLINE void CCU6_SetT12T13ControlBits (uint16 Mask)
 Sets write-only control bits for T12 and/or T13 timer. More...
 
INLINE uint32 CCU6_ReadHallReg (void)
 Reads sampled Hall pattern from CCU6 CMPSTAT register. More...
 
INLINE uint16 CCU6_ReadMultichannelPatterns (void)
 Reads actual Hall and PWM patterns for Multi-Channel Mode. More...
 
INLINE void CCU6_WriteMultichannelPatterns (uint16 Patterns)
 Writes Hall and/or PWM patterns for Multi-Channel Mode to shadow register. More...
 
INLINE void CCU6_ConfigureMultichannelModulation (uint16 Mode)
 Sets Multi-Channel Mode control register. More...
 
INLINE void CCU6_ConfigureGlobalModulation (uint16 Mode)
 Sets global modulation control register. More...
 
INLINE void CCU6_EnableInt (uint16 Mask)
 Enables/disables interrupt(s). More...
 
INLINE void CCU6_ClearIntStatus (uint16 Mask)
 Clears interrupt status bit(s). More...
 

Macro Definition Documentation

◆ CCU6_MASK_CC60

#define CCU6_MASK_CC60   ((uint16)1u << 0u)

CCU6 channel Input/Output selection macro, CC60.

◆ CCU6_MASK_CC61

#define CCU6_MASK_CC61   ((uint16)1u << 2u)

CCU6 channel Input/Output selection macro, CC61.

◆ CCU6_MASK_CC62

#define CCU6_MASK_CC62   ((uint16)1u << 4u)

CCU6 channel Input/Output selection macro, CC62.

◆ CCU6_MASK_Ch0c

#define CCU6_MASK_Ch0c   CCU6_MASK_COUT60

CCU6 channel Input/Output selection macro, COUT60.

◆ CCU6_MASK_Ch0t

#define CCU6_MASK_Ch0t   CCU6_MASK_CC60

CCU6 channel Input/Output selection macro, CC60.

◆ CCU6_MASK_Ch1c

#define CCU6_MASK_Ch1c   CCU6_MASK_COUT61

CCU6 channel Input/Output selection macro, COUT61.

◆ CCU6_MASK_Ch1t

#define CCU6_MASK_Ch1t   CCU6_MASK_CC61

CCU6 channel Input/Output selection macro, CC61.

◆ CCU6_MASK_Ch2c

#define CCU6_MASK_Ch2c   CCU6_MASK_COUT62

CCU6 channel Input/Output selection macro, COUT62.

◆ CCU6_MASK_Ch2t

#define CCU6_MASK_Ch2t   CCU6_MASK_CC62

CCU6 channel Input/Output selection macro, CC62.

◆ CCU6_MASK_COUT60

#define CCU6_MASK_COUT60   ((uint16)1u << 1u)

CCU6 channel Input/Output selection macro, COUT60.

◆ CCU6_MASK_COUT61

#define CCU6_MASK_COUT61   ((uint16)1u << 3u)

CCU6 channel Input/Output selection macro, COUT61.

◆ CCU6_MASK_COUT62

#define CCU6_MASK_COUT62   ((uint16)1u << 5u)

CCU6 channel Input/Output selection macro, COUT62.

◆ CCU6_MASK_MCMOUTS_SHADOW_HALL

#define CCU6_MASK_MCMOUTS_SHADOW_HALL   (CCU6_MCMOUTS_STRHP_Msk)

CCU6 MCMOUTS Constants Macro, SHADOW HALL.

◆ CCU6_MASK_MCMOUTS_SHADOW_OUT

#define CCU6_MASK_MCMOUTS_SHADOW_OUT   (CCU6_MCMOUTS_STRMCM_Msk)

CCU6 MCMOUTS Constants Macro, SHADOW OUT.

◆ CCU6_MASK_TCTR4_RESET_T12

#define CCU6_MASK_TCTR4_RESET_T12   (CCU6_TCTR4_T12RES_Msk)

CCU6 TCTR4 MASK Macro, T12 RESET.

◆ CCU6_MASK_TCTR4_RESET_T13

#define CCU6_MASK_TCTR4_RESET_T13   (CCU6_TCTR4_T13RES_Msk)

CCU6 TCTR4 MASK Macro, T13 RESET.

◆ CCU6_MASK_TCTR4_SHADOW_T12

#define CCU6_MASK_TCTR4_SHADOW_T12   (CCU6_TCTR4_T12STR_Msk)

CCU6 TCTR4 MASK Macro, T12 SHADOW.

◆ CCU6_MASK_TCTR4_SHADOW_T13

#define CCU6_MASK_TCTR4_SHADOW_T13   (CCU6_TCTR4_T13STR_Msk)

CCU6 TCTR4 MASK Macro, T13 SHADOW.

◆ CCU6_MASK_TCTR4_START_T12

#define CCU6_MASK_TCTR4_START_T12   (CCU6_TCTR4_T12RS_Msk)

CCU6 TCTR4 MASK Macro, T12 START.

◆ CCU6_MASK_TCTR4_START_T13

#define CCU6_MASK_TCTR4_START_T13   (CCU6_TCTR4_T13RS_Msk)

CCU6 TCTR4 MASK Macro, T13 START.

◆ CCU6_MASK_TCTR4_STOP_T12

#define CCU6_MASK_TCTR4_STOP_T12   (CCU6_TCTR4_T12RR_Msk)

CCU6 TCTR4 MASK Macro, T12 STOP.

◆ CCU6_MASK_TCTR4_STOP_T13

#define CCU6_MASK_TCTR4_STOP_T13   (CCU6_TCTR4_T13RR_Msk)

CCU6 TCTR4 MASK Macro, T13 STOP.

Typedef Documentation

◆ TCCU6_Ch0_Input

◆ TCCU6_Ch1_Input

◆ TCCU6_Ch2_Input

◆ TCCU6_Clk_Prescaler

◆ TCCU6_HSYNC

typedef enum CCU6_HSYNC TCCU6_HSYNC

◆ TCCU6_MCM_SWSEL

◆ TCCU6_Node_Sel

◆ TCCU6_Pos0_Input

◆ TCCU6_Pos1_Input

◆ TCCU6_Pos2_Input

◆ TCCU6_PSL63

typedef enum CCU6_PSL63 TCCU6_PSL63

◆ TCCU6_PWMMode

◆ TCCU6_T12_Cnt_Input

◆ TCCU6_T12_Ext_Input

◆ TCCU6_T12HR_Input

◆ TCCU6_T12RSEL

◆ TCCU6_T13_Cnt_Input

◆ TCCU6_T13_Ext_Input

◆ TCCU6_T13ED

typedef enum CCU6_T13ED TCCU6_T13ED

◆ TCCU6_T13HR_Input

◆ TCCU6_T13RSEL

◆ TCCU6_T13TEC

typedef enum CCU6_T13TEC TCCU6_T13TEC

◆ TCCU6_Trap_Input

Enumeration Type Documentation

◆ CCU6_Ch0_Input

Enumerator
CCU6_CC60_0_P04 

The input pin for CC60_0

CCU6_CC60_1_P23 

The input pin for CC60_1

◆ CCU6_Ch1_Input

Enumerator
CCU6_CC61_0_P10 

The input pin for CC61_0

◆ CCU6_Ch2_Input

Enumerator
CCU6_CC62_0_P13 

The input pin for CC62_0

CCU6_CC62_2_P22 

The input pin for CC62_1

◆ CCU6_Clk_Prescaler

Enumerator
CCU6_Clk_Div_1 

Timer T12/T13 Input Clock Select: fCCU

CCU6_Clk_Div_2 

Timer T12/T13 Input Clock Select: fCCU/2

CCU6_Clk_Div_4 

Timer T12/T13 Input Clock Select: fCCU/4

CCU6_Clk_Div_8 

Timer T12/T13 Input Clock Select: fCCU/8

CCU6_Clk_Div_16 

Timer T12/T13 Input Clock Select: fCCU/16

CCU6_Clk_Div_32 

Timer T12/T13 Input Clock Select: fCCU/32

CCU6_Clk_Div_64 

Timer T12/T13 Input Clock Select: fCCU/64

CCU6_Clk_Div_128 

Timer T12/T13 Input Clock Select: fCCU/128

◆ CCU6_HSYNC

enum CCU6_HSYNC
Enumerator
CCU6_CCPOS0x_Any_Edge 

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

CCU6_T13_CM 

Hall Synchronization Event: T13 compare-match

CCU6_T13_PM 

Hall Synchronization Event: T13 period-match

CCU6_HW_Hall_Sampling_Off 

Hall Synchronization Event: Hall

CCU6_T12_PM 

Hall Synchronization Event: T12 period-match

CCU6_T12_OM 

Hall Synchronization Event: T12 one-match

CCU6_T12_CM_Ch1_up 

Hall Synchronization Event: T12 compare-match UP

CCU6_T12_CM_Ch1_down 

Hall Synchronization Event: T12 compare-match DOWN

◆ CCU6_MCM_SWSEL

Enumerator
CCU6_SWSEL_No_Action 

The trigger request sources for Switching Selection: No request

CCU6_SWSEL_Correct_Hall 

The trigger request sources for Switching Selection: Correct pattern

CCU6_SWSEL_T13_PM 

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

CCU6_SWSEL_T12_OM 

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

CCU6_SWSEL_T12_Ch1_CM 

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

CCU6_SWSEL_T12_PM 

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

◆ CCU6_Node_Sel

Enumerator
CCU6_Node0 

The CCU6 Interrupt Node: Node 0

CCU6_Node1 

The CCU6 Interrupt Node: Node 1

CCU6_Node2 

The CCU6 Interrupt Node: Node 2

CCU6_Node3 

The CCU6 Interrupt Node: Node 3

◆ CCU6_Pos0_Input

Enumerator
CCU6_CCPOS0_1_P03 

The input pin for CCPOS0_1

CCU6_CCPOS0_2_P13 

The input pin for CCPOS0_2

CCU6_CCPOS0_3_P20 

The input pin for CCPOS0_3

CCU6_CCPOS0_BEMF 

◆ CCU6_Pos1_Input

Enumerator
CCU6_CCPOS1_0_P23 

The input pin for CCPOS1_0

CCU6_CCPOS1_1_P04 

The input pin for CCPOS1_1

CCU6_CCPOS1_2_P14 

The input pin for CCPOS1_2

CCU6_CCPOS1_BEMF 

◆ CCU6_Pos2_Input

Enumerator
CCU6_CCPOS2_1_P02 

The input pin for CCPOS2_1

CCU6_CCPOS2_2_P12 

The input pin for CCPOS2_2

CCU6_CCPOS2_3_P22 

The input pin for CCPOS2_3

CCU6_CCPOS2_BEMF 

◆ CCU6_PSL63

enum CCU6_PSL63
Enumerator
CCU6_PSL63_Low 

Passive Low State of Output COUT63

CCU6_PSL63_High 

Passive High State of Output COUT63

◆ CCU6_PWMMode

Enumerator
CCU6_T12_ActiveLeftAligned 

Active signal is left aligned

CCU6_T12_ActiveRightAligned 

Active signal is right aligned

CCU6_T12_ActiveCenterAligned 

Active signal is center aligned

CCU6_T12_ActiveCenterAlignedInverted 

Active signal is center aligned inverted

◆ CCU6_T12_Cnt_Input

Enumerator
CCU6_T12_Prescaler 

The input event T12 prescaler for T12 Counting

CCU6_TCTR4_T12CNT 

The input event TCTR4.T12CNT for T12 Counting

CCU6_T12HR_Rising_Edge 

The input event T12HR Rising edge for T12 Counting

CCU6_T12HR_Falling_Edge 

The input event T12HR Falling edge for T12 Counting

◆ CCU6_T12_Ext_Input

Enumerator
CCU6_T12HR_D_A 

The input signal T12HR[D:A] for T12HR

CCU6_T12HR_H_E 

The input signal T12HR[H:E] for T12HR

◆ CCU6_T12HR_Input

Enumerator
CCU6_T12HR_0_P00 

The input pin for T12HR_0

CCU6_T12HR_2_P20 

The input pin for T12HR_2

◆ CCU6_T12RSEL

Enumerator
CCU6_T12RSEL_Dis 

T12 External Run: T12R Disabled

CCU6_T12RSEL_T12HR_Rise 

T12 External Run: T12HR Rising edge

CCU6_T12RSEL_T12HR_Fall 

T12 External Run: T12HR Falling edge

CCU6_T12RSEL_T12HR_Any 

T12 External Run: T12HR Edge

◆ CCU6_T13_Cnt_Input

Enumerator
CCU6_T13_Prescaler 

The input event T13 prescaler for T13 Counting

CCU6_TCTR4_T13CNT 

The input event TCTR4.T13CNT for T13 Counting

CCU6_T13HR_Rising_Edge 

The input event T13HR Rising edge for T13 Counting

CCU6_T13HR_Falling_Edge 

The input event T13HR Falling edge for T13 Counting

◆ CCU6_T13_Ext_Input

Enumerator
CCU6_T13HR_D_A 

The input signal T13HR[D:A] for T13HR

CCU6_T13HR_H_E 

The input signal T13HR[H:E] for T13HR

◆ CCU6_T13ED

enum CCU6_T13ED
Enumerator
CCU6_T13ED_No_Action 

T13 Trigger Event Direction: No Action

CCU6_T13ED_T12_Up 

T13 Trigger Event Direction: T12 is counting Up

CCU6_T13ED_T12_Down 

T13 Trigger Event Direction: T12 is counting Down

CCU6_T13ED_T12_UpDown 

T13 Trigger Event Direction: Independent direction of T12

◆ CCU6_T13HR_Input

Enumerator
CCU6_T13HR_0_P01 

The input pin for T13HR_0

CCU6_T13HR_2_P22 

The input pin for T13HR_2

◆ CCU6_T13RSEL

Enumerator
CCU6_T13RSEL_Dis 

T12 External Run: T13R Disabled

CCU6_T13RSEL_T13HR_Rise 

T12 External Run: T13HR Rising edge

CCU6_T13RSEL_T13HR_Fall 

T12 External Run: T13HR Falling edge

CCU6_T13RSEL_T13HR_Any 

T12 External Run: T13HR Edge

◆ CCU6_T13TEC

Enumerator
CCU6_T13TEC_No_Trigger 

T13 Trigger Event Control: No Action

CCU6_T13TEC_T12_CM_Ch0 

T13 Trigger Event Control: Channel 0

CCU6_T13TEC_T12_CM_Ch1 

T13 Trigger Event Control: Channel 1

CCU6_T13TEC_T12_CM_Ch2 

T13 Trigger Event Control: Channel 2

CCU6_T13TEC_T12_CM_Chx 

T13 Trigger Event Control: Channels 0,1,2

CCU6_T13TEC_T12_PM 

T13 Trigger Event Control: Period-match

CCU6_T13TEC_T12_ZM 

T13 Trigger Event Control: Zero-match

CCU6_T13TEC_CCPOSx 

T13 Trigger Event Control: CCPOSx

◆ CCU6_Trap_Input

Enumerator
CCU6_CTRAP_0_P24 

The input pin for CTRAP_0

CCU6_CTRAP_1_P23 

The input pin for CTRAP_1

Function Documentation

◆ CCU6_CCPOS0_Input_Sel()

INLINE void CCU6_CCPOS0_Input_Sel ( uint16  ispos0)

selects Input for CCPOS0.

Parameters
ispos0input for CCPOS0

Example

This example selects CCPOS0_1 as Input for CCPOS0.

void Example_Function(void)
{
}
INLINE void CCU6_CCPOS0_Input_Sel(uint16 ispos0)
selects Input for CCPOS0.
Definition: ccu6.h:758

◆ CCU6_CCPOS1_Input_Sel()

INLINE void CCU6_CCPOS1_Input_Sel ( uint16  ispos1)

selects Input for CCPOS1.

Parameters
ispos1input for CCPOS1

Example

This example selects CCPOS1_1 as Input for CCPOS1.

void Example_Function(void)
{
}
INLINE void CCU6_CCPOS1_Input_Sel(uint16 ispos1)
selects Input for CCPOS1.
Definition: ccu6.h:777

◆ CCU6_CCPOS2_Input_Sel()

INLINE void CCU6_CCPOS2_Input_Sel ( uint16  ispos2)

selects Input for CCPOS2.

Parameters
ispos2input for CCPOS2

Example

This example selects CCPOS2_1 as Input for CCPOS2.

void Example_Function(void)
{
}
INLINE void CCU6_CCPOS2_Input_Sel(uint16 ispos2)
selects Input for CCPOS2.
Definition: ccu6.h:796

◆ CCU6_Ch0_CapCom_Mode_Sel()

INLINE void CCU6_Ch0_CapCom_Mode_Sel ( uint16  msel60)

selects CCU6 T12 CH0 Capture/Compare Mode.

Parameters
msel60CCU6 T12 CH0 Capture/Compare Mode

Example

This example selects Compare outputs disabled as CCU6 T12 CH0 Capture/Compare Mode.

void Example_Function(void)
{
}
INLINE void CCU6_Ch0_CapCom_Mode_Sel(uint16 msel60)
selects CCU6 T12 CH0 Capture/Compare Mode.
Definition: ccu6.h:1028

◆ CCU6_CH0_CM_F_Int_Clr()

INLINE void CCU6_CH0_CM_F_Int_Clr ( void  )

clears Capture, Compare-Match Falling Edge Interrupt flag for Channel 0.

Example

This example treats the Capture, Compare-Match Falling Edge Interrupt for Channel 0.

void Example_Function(void)
{
{
CCU6_CH0_CM_F_CALLBACK();
}
}
INLINE uint8 CCU6_T12_CM_CC60_Int_Fall_Sts(void)
reads Capture, Compare-Match Falling Edge Flag Status for Channel 0.
Definition: ccu6.h:3493
INLINE void CCU6_CH0_CM_F_Int_Clr(void)
clears Capture, Compare-Match Falling Edge Interrupt flag for Channel 0.
Definition: ccu6.h:4357
INLINE void CCU6_CH0_CM_F_Int_En(void)
enables Capture, Compare-Match Falling Edge Interrupt for Channel 0.
Definition: ccu6.h:4688
uint8_t uint8
8 bit unsigned value
Definition: types.h:137

◆ CCU6_CH0_CM_F_Int_Dis()

INLINE void CCU6_CH0_CM_F_Int_Dis ( void  )

disables Capture, Compare-Match Falling Edge Interrupt for Channel 0.

Example

This example treats the Capture, Compare-Match Falling Edge Interrupt for Channel 0.

void Example_Function(void)
{
{
CCU6_CH0_CM_F_CALLBACK();
}
}
INLINE void CCU6_CH0_CM_F_Int_Dis(void)
disables Capture, Compare-Match Falling Edge Interrupt for Channel 0.
Definition: ccu6.h:4711

◆ CCU6_CH0_CM_F_Int_En()

INLINE void CCU6_CH0_CM_F_Int_En ( void  )

enables Capture, Compare-Match Falling Edge Interrupt for Channel 0.

Example

This example treats the Capture, Compare-Match Falling Edge Interrupt for Channel 0.

void Example_Function(void)
{
{
CCU6_CH0_CM_F_CALLBACK();
}
}

◆ CCU6_CH0_CM_R_Int_Clr()

INLINE void CCU6_CH0_CM_R_Int_Clr ( void  )

clears Capture, Compare-Match Rising Edge Interrupt flag for Channel 0.

Example

This example treats the Capture, Compare-Match Rising Edge Interrupt for Channel 0.

void Example_Function(void)
{
{
CCU6_CH0_CM_R_CALLBACK();
}
}
INLINE void CCU6_CH0_CM_R_Int_En(void)
enables Capture, Compare-Match Rising Edge Interrupt for Channel 0.
Definition: ccu6.h:4643
INLINE void CCU6_CH0_CM_R_Int_Clr(void)
clears Capture, Compare-Match Rising Edge Interrupt flag for Channel 0.
Definition: ccu6.h:4335
INLINE uint8 CCU6_T12_CM_CC60_Int_Rise_Sts(void)
reads Capture, Compare-Match Rising Edge Flag Status for Channel 0.
Definition: ccu6.h:3421

◆ CCU6_CH0_CM_R_Int_Dis()

INLINE void CCU6_CH0_CM_R_Int_Dis ( void  )

disables Capture, Compare-Match Rising Edge Interrupt for Channel 0.

Example

This example treats the Capture, Compare-Match Rising Edge Interrupt for Channel 0.

void Example_Function(void)
{
{
CCU6_CH0_CM_R_CALLBACK();
}
}
INLINE void CCU6_CH0_CM_R_Int_Dis(void)
disables Capture, Compare-Match Rising Edge Interrupt for Channel 0.
Definition: ccu6.h:4666

◆ CCU6_CH0_CM_R_Int_En()

INLINE void CCU6_CH0_CM_R_Int_En ( void  )

enables Capture, Compare-Match Rising Edge Interrupt for Channel 0.

Example

This example treats the Capture, Compare-Match Rising Edge Interrupt for Channel 0.

void Example_Function(void)
{
{
CCU6_CH0_CM_R_CALLBACK();
}
}

◆ CCU6_Ch0_CompState_Rst()

INLINE void CCU6_Ch0_CompState_Rst ( void  )

resets Capture/Compare Status Modification Bit 0 for CC60ST by Software.

Example

This example resets CC60ST.

void Example_Function(void)
{
}
INLINE void CCU6_Ch0_CompState_Rst(void)
resets Capture/Compare Status Modification Bit 0 for CC60ST by Software.
Definition: ccu6.h:1893

◆ CCU6_Ch0_CompState_Set()

INLINE void CCU6_Ch0_CompState_Set ( void  )

sets Capture/Compare Status Modification Bit 0 for (CC60ST) by Software.

Example

This example sets CC60ST.

void Example_Function(void)
{
}
INLINE void CCU6_Ch0_CompState_Set(void)
sets Capture/Compare Status Modification Bit 0 for (CC60ST) by Software.
Definition: ccu6.h:1825

◆ CCU6_Ch0_CompState_Sts()

INLINE uint8 CCU6_Ch0_CompState_Sts ( void  )

reads CC60 Capture/Compare State.

Return values
0if the timer count is less than the compare value
1if the timer count is greater than the compare value

Example

This example sets Passive state for COUT60.

void Example_Function(void)
{
{
CCU6_Ch0c_Passive_State_Before_Compare_Set();
}
}
INLINE uint8 CCU6_Ch0_CompState_Sts(void)
reads CC60 Capture/Compare State.
Definition: ccu6.h:1582

◆ CCU6_Ch0_Deadtime_Dis()

INLINE void CCU6_Ch0_Deadtime_Dis ( void  )

disables CCU6 Timer T12 Channel 0 Deadtime.

Example

This example disables CCU6 Timer T12 Channel 0 Deadtime.

void Example_Function(void)
{
}
INLINE void CCU6_Ch0_Deadtime_Dis(void)
disables CCU6 Timer T12 Channel 0 Deadtime.
Definition: ccu6.h:1339

◆ CCU6_Ch0_Deadtime_En()

INLINE void CCU6_Ch0_Deadtime_En ( void  )

enables CCU6 Timer T12 Channel 0 Deadtime.

Example

This example enables CCU6 Timer T12 Channel 0 Deadtime.

void Example_Function(void)
{
}
INLINE void CCU6_Ch0_Deadtime_En(void)
enables CCU6 Timer T12 Channel 0 Deadtime.
Definition: ccu6.h:1288

◆ CCU6_Ch0_Deadtime_Sts()

INLINE uint8 CCU6_Ch0_Deadtime_Sts ( void  )

reads CCU6 Timer T12 Channel 0 Deadtime Status.

Returns
CCU6 Timer T12 Channel 0 Deadtime Status

Example

This example reads CCU6 Timer T12 Channel 0 Deadtime Status.

void Example_Function(void)
{
uint8 sts;
}
INLINE uint8 CCU6_Ch0_Deadtime_Sts(void)
reads CCU6 Timer T12 Channel 0 Deadtime Status.
Definition: ccu6.h:1395

◆ CCU6_Ch0_Input_Sel()

INLINE void CCU6_Ch0_Input_Sel ( uint16  iscc60)

selects Input for CC60.

Parameters
iscc60input for CC60

Example

This example selects CC60_1 as Input for CC60.

void Example_Function(void)
{
}
INLINE void CCU6_Ch0_Input_Sel(uint16 iscc60)
selects Input for CC60.
Definition: ccu6.h:682

◆ CCU6_Ch0_Int_Node_Sel()

INLINE void CCU6_Ch0_Int_Node_Sel ( uint16  srx)

selects Interrupt Node Pointer for Channel 0 Interrupts.

Parameters
srxInterrupt Node Pointer for Channel 0 Interrupts, values 0..3

Example

This example selects Interrupt output line SR0 for CC60R and treats the Capture, Compare-Match Rising Edge Interrupt for Channel 0.

void Example_Function(void)
{
{
CCU6_CH0_CM_R_CALLBACK();
}
}
INLINE void CCU6_Ch0_Int_Node_Sel(uint16 srx)
selects Interrupt Node Pointer for Channel 0 Interrupts.
Definition: ccu6.h:4163

◆ CCU6_Ch0_Value_Get()

INLINE uint16 CCU6_Ch0_Value_Get ( void  )

reads Channel 0 Capture/Compare Value.

Returns
Channel 0 Capture/Compare Value

Example

This example reads Channel 0 Capture/Compare Value.

void Example_Function(void)
{
uint16 val;
}
INLINE uint16 CCU6_Ch0_Value_Get(void)
reads Channel 0 Capture/Compare Value.
Definition: ccu6.h:1132
uint16_t uint16
16 bit unsigned value
Definition: types.h:138

◆ CCU6_Ch0_Value_Set()

INLINE void CCU6_Ch0_Value_Set ( uint16  cc60sr)

sets Channel 0 Capture/Compare Value.

Parameters
cc60srChannel 0 Capture/Compare Value

Example

This example sets Channel 0 Capture/Compare Value to 5000.

void Example_Function(void)
{
}
INLINE void CCU6_Ch0_Value_Set(uint16 cc60sr)
sets Channel 0 Capture/Compare Value.
Definition: ccu6.h:1151

◆ CCU6_Ch0c_Passive_Level_High_Set()

INLINE void CCU6_Ch0c_Passive_Level_High_Set ( void  )

sets Passive High Level of COUT60.

Example

This example sets Passive High Level of COUT60.

void Example_Function(void)
{
}
INLINE void CCU6_Ch0c_Passive_Level_High_Set(void)
sets Passive High Level of COUT60.
Definition: ccu6.h:2708

◆ CCU6_Ch0c_Passive_Level_Low_Set()

INLINE void CCU6_Ch0c_Passive_Level_Low_Set ( void  )

sets Passive Low Level of COUT60.

Example

This example sets Passive Low Level of COUT60.

void Example_Function(void)
{
}
INLINE void CCU6_Ch0c_Passive_Level_Low_Set(void)
sets Passive Low Level of COUT60.
Definition: ccu6.h:2725

◆ CCU6_Ch0t_Passive_Level_High_Set()

INLINE void CCU6_Ch0t_Passive_Level_High_Set ( void  )

sets Passive High Level of CC60.

Example

This example sets Passive High Level of CC60.

void Example_Function(void)
{
}
INLINE void CCU6_Ch0t_Passive_Level_High_Set(void)
sets Passive High Level of CC60.
Definition: ccu6.h:2674

◆ CCU6_Ch0t_Passive_Level_Low_Set()

INLINE void CCU6_Ch0t_Passive_Level_Low_Set ( void  )

sets Passive Low Level of CC60.

Example

This example sets Passive Low Level of CC60.

void Example_Function(void)
{
}
INLINE void CCU6_Ch0t_Passive_Level_Low_Set(void)
sets Passive Low Level of CC60.
Definition: ccu6.h:2691

◆ CCU6_Ch1_CapCom_Mode_Sel()

INLINE void CCU6_Ch1_CapCom_Mode_Sel ( uint16  msel61)

selects CCU6 T12 CH1 Capture/Compare Mode.

Parameters
msel61CCU6 T12 CH1 Capture/Compare Mode

Example

This example selects Compare outputs disabled as CCU6 T12 CH1 Capture/Compare Mode.

void Example_Function(void)
{
}
INLINE void CCU6_Ch1_CapCom_Mode_Sel(uint16 msel61)
selects CCU6 T12 CH1 Capture/Compare Mode.
Definition: ccu6.h:1009

◆ CCU6_CH1_CM_F_Int_Clr()

INLINE void CCU6_CH1_CM_F_Int_Clr ( void  )

clears Capture, Compare-Match Falling Edge Interrupt flag for Channel 1.

Example

This example treats the Capture, Compare-Match Falling Edge Interrupt for Channel 1.

void Example_Function(void)
{
{
CCU6_CH1_CM_F_CALLBACK();
}
}
INLINE void CCU6_CH1_CM_F_Int_En(void)
enables Capture, Compare-Match Falling Edge Interrupt for Channel 1.
Definition: ccu6.h:4778
INLINE void CCU6_CH1_CM_F_Int_Clr(void)
clears Capture, Compare-Match Falling Edge Interrupt flag for Channel 1.
Definition: ccu6.h:4401
INLINE uint8 CCU6_T12_CM_CC61_Int_Fall_Sts(void)
reads Capture, Compare-Match Falling Edge Flag Status for Channel 1.
Definition: ccu6.h:3517

◆ CCU6_CH1_CM_F_Int_Dis()

INLINE void CCU6_CH1_CM_F_Int_Dis ( void  )

disables Capture, Compare-Match Falling Edge Interrupt for Channel 1.

Example

This example treats the Capture, Compare-Match Falling Edge Interrupt for Channel 1.

void Example_Function(void)
{
{
CCU6_CH1_CM_F_CALLBACK();
}
}
INLINE void CCU6_CH1_CM_F_Int_Dis(void)
disables Capture, Compare-Match Falling Edge Interrupt for Channel 1.
Definition: ccu6.h:4801

◆ CCU6_CH1_CM_F_Int_En()

INLINE void CCU6_CH1_CM_F_Int_En ( void  )

enables Capture, Compare-Match Falling Edge Interrupt for Channel 1.

Example

This example treats the Capture, Compare-Match Falling Edge Interrupt for Channel 1.

void Example_Function(void)
{
{
CCU6_CH1_CM_F_CALLBACK();
}
}

◆ CCU6_CH1_CM_R_Int_Clr()

INLINE void CCU6_CH1_CM_R_Int_Clr ( void  )

clears Capture, Compare-Match Rising Edge Interrupt flag for Channel 1.

Example

This example treats the Capture, Compare-Match Rising Edge Interrupt for Channel 1.

void Example_Function(void)
{
{
CCU6_CH1_CM_R_CALLBACK();
}
}
INLINE void CCU6_CH1_CM_R_Int_En(void)
enables Capture, Compare-Match Rising Edge Interrupt for Channel 1.
Definition: ccu6.h:4733
INLINE void CCU6_CH1_CM_R_Int_Clr(void)
clears Capture, Compare-Match Rising Edge Interrupt flag for Channel 1.
Definition: ccu6.h:4379
INLINE uint8 CCU6_T12_CM_CC61_Int_Rise_Sts(void)
reads Capture, Compare-Match Rising Edge Flag Status for Channel 1.
Definition: ccu6.h:3445

◆ CCU6_CH1_CM_R_Int_Dis()

INLINE void CCU6_CH1_CM_R_Int_Dis ( void  )

disables Capture, Compare-Match Rising Edge Interrupt for Channel 1.

Example

This example treats the Capture, Compare-Match Rising Edge Interrupt for Channel 1.

void Example_Function(void)
{
{
CCU6_CH1_CM_R_CALLBACK();
}
}
INLINE void CCU6_CH1_CM_R_Int_Dis(void)
disables Capture, Compare-Match Rising Edge Interrupt for Channel 1.
Definition: ccu6.h:4756

◆ CCU6_CH1_CM_R_Int_En()

INLINE void CCU6_CH1_CM_R_Int_En ( void  )

enables Capture, Compare-Match Rising Edge Interrupt for Channel 1.

Example

This example treats the Capture, Compare-Match Rising Edge Interrupt for Channel 1.

void Example_Function(void)
{
{
CCU6_CH1_CM_R_CALLBACK();
}
}

◆ CCU6_Ch1_CompState_Rst()

INLINE void CCU6_Ch1_CompState_Rst ( void  )

resets Capture/Compare Status Modification Bit 1 for CC61ST by Software.

Example

This example resets CC61ST.

void Example_Function(void)
{
}
INLINE void CCU6_Ch1_CompState_Rst(void)
resets Capture/Compare Status Modification Bit 1 for CC61ST by Software.
Definition: ccu6.h:1910

◆ CCU6_Ch1_CompState_Set()

INLINE void CCU6_Ch1_CompState_Set ( void  )

sets Capture/Compare Status Modification Bit 1 for (CC61ST) by Software.

Example

This example sets CC61ST.

void Example_Function(void)
{
}
INLINE void CCU6_Ch1_CompState_Set(void)
sets Capture/Compare Status Modification Bit 1 for (CC61ST) by Software.
Definition: ccu6.h:1842

◆ CCU6_Ch1_CompState_Sts()

INLINE uint8 CCU6_Ch1_CompState_Sts ( void  )

reads CC61 Capture/Compare State.

Return values
0if the timer count is less than the compare value
1if the timer count is greater than the compare value

Example

This example sets Passive state for COUT61.

void Example_Function(void)
{
{
CCU6_Ch1c_Passive_State_Before_Compare_Set();
}
}
INLINE uint8 CCU6_Ch1_CompState_Sts(void)
reads CC61 Capture/Compare State.
Definition: ccu6.h:1605

◆ CCU6_Ch1_Deadtime_Dis()

INLINE void CCU6_Ch1_Deadtime_Dis ( void  )

disables CCU6 Timer T12 Channel 1 Deadtime.

Example

This example disables CCU6 Timer T12 Channel 1 Deadtime.

void Example_Function(void)
{
}
INLINE void CCU6_Ch1_Deadtime_Dis(void)
disables CCU6 Timer T12 Channel 1 Deadtime.
Definition: ccu6.h:1356

◆ CCU6_Ch1_Deadtime_En()

INLINE void CCU6_Ch1_Deadtime_En ( void  )

enables CCU6 Timer T12 Channel 1 Deadtime.

Example

This example enables CCU6 Timer T12 Channel 1 Deadtime.

void Example_Function(void)
{
}
INLINE void CCU6_Ch1_Deadtime_En(void)
enables CCU6 Timer T12 Channel 1 Deadtime.
Definition: ccu6.h:1305

◆ CCU6_Ch1_Deadtime_Sts()

INLINE uint8 CCU6_Ch1_Deadtime_Sts ( void  )

reads CCU6 Timer T12 Channel 1 Deadtime Status.

Returns
CCU6 Timer T12 Channel 1 Deadtime Status

Example

This example reads CCU6 Timer T12 Channel 1 Deadtime Status.

void Example_Function(void)
{
uint8 sts;
}
INLINE uint8 CCU6_Ch1_Deadtime_Sts(void)
reads CCU6 Timer T12 Channel 1 Deadtime Status.
Definition: ccu6.h:1417

◆ CCU6_Ch1_Input_Sel()

INLINE void CCU6_Ch1_Input_Sel ( uint16  iscc61)

selects Input for CC61.

Parameters
iscc61input for CC61

Example

This example selects CC61_1 as Input for CC61.

void Example_Function(void)
{
}
INLINE void CCU6_Ch1_Input_Sel(uint16 iscc61)
selects Input for CC61.
Definition: ccu6.h:701

◆ CCU6_Ch1_Int_Node_Sel()

INLINE void CCU6_Ch1_Int_Node_Sel ( uint16  srx)

selects Interrupt Node Pointer for Channel 1 Interrupts.

Parameters
srxInterrupt Node Pointer for Channel 1 Interrupts, values 0..3

Example

This example selects Interrupt output line SR0 for CC61R and treats the Capture, Compare-Match Rising Edge Interrupt for Channel 1.

void Example_Function(void)
{
{
CCU6_CH1_CM_R_CALLBACK();
}
}
INLINE void CCU6_Ch1_Int_Node_Sel(uint16 srx)
selects Interrupt Node Pointer for Channel 1 Interrupts.
Definition: ccu6.h:4188

◆ CCU6_Ch1_Value_Get()

INLINE uint16 CCU6_Ch1_Value_Get ( void  )

reads Channel 1 Capture/Compare Value.

Returns
Channel 1 Capture/Compare Value

Example

This example reads Channel 1 Capture/Compare Value.

void Example_Function(void)
{
uint16 val;
}
INLINE uint16 CCU6_Ch1_Value_Get(void)
reads Channel 1 Capture/Compare Value.
Definition: ccu6.h:1172

◆ CCU6_Ch1_Value_Set()

INLINE void CCU6_Ch1_Value_Set ( uint16  cc61sr)

sets Channel 1 Capture/Compare Value.

Parameters
cc61srChannel 1 Capture/Compare Value

Example

This example sets Channel 1 Capture/Compare Value to 5000.

void Example_Function(void)
{
}
INLINE void CCU6_Ch1_Value_Set(uint16 cc61sr)
sets Channel 1 Capture/Compare Value.
Definition: ccu6.h:1191

◆ CCU6_Ch1c_Passive_Level_High_Set()

INLINE void CCU6_Ch1c_Passive_Level_High_Set ( void  )

sets Passive High Level of COUT61.

Example

This example sets Passive High Level of COUT61.

void Example_Function(void)
{
}
INLINE void CCU6_Ch1c_Passive_Level_High_Set(void)
sets Passive High Level of COUT61.
Definition: ccu6.h:2776

◆ CCU6_Ch1c_Passive_Level_Low_Set()

INLINE void CCU6_Ch1c_Passive_Level_Low_Set ( void  )

sets Passive Low Level of COUT61.

Example

This example sets Passive Low Level of COUT61.

void Example_Function(void)
{
}
INLINE void CCU6_Ch1c_Passive_Level_Low_Set(void)
sets Passive Low Level of COUT61.
Definition: ccu6.h:2793

◆ CCU6_Ch1t_Passive_Level_High_Set()

INLINE void CCU6_Ch1t_Passive_Level_High_Set ( void  )

sets Passive High Level of CC61.

Example

This example sets Passive High Level of CC61.

void Example_Function(void)
{
}
INLINE void CCU6_Ch1t_Passive_Level_High_Set(void)
sets Passive High Level of CC61.
Definition: ccu6.h:2742

◆ CCU6_Ch1t_Passive_Level_Low_Set()

INLINE void CCU6_Ch1t_Passive_Level_Low_Set ( void  )

sets Passive Low Level of CC61.

Example

This example sets Passive Low Level of CC61.

void Example_Function(void)
{
}
INLINE void CCU6_Ch1t_Passive_Level_Low_Set(void)
sets Passive Low Level of CC61.
Definition: ccu6.h:2759

◆ CCU6_Ch2_CapCom_Mode_Sel()

INLINE void CCU6_Ch2_CapCom_Mode_Sel ( uint16  msel62)

selects CCU6 T12 CH2 Capture/Compare Mode.

Parameters
msel62CCU6 T12 CH2 Capture/Compare Mode

Example

This example selects Compare outputs disabled as CCU6 T12 CH2 Capture/Compare Mode.

void Example_Function(void)
{
}
INLINE void CCU6_Ch2_CapCom_Mode_Sel(uint16 msel62)
selects CCU6 T12 CH2 Capture/Compare Mode.
Definition: ccu6.h:990

◆ CCU6_CH2_CM_F_Int_Clr()

INLINE void CCU6_CH2_CM_F_Int_Clr ( void  )

clears Capture, Compare-Match Falling Edge Interrupt flag for Channel 2.

Example

This example treats the Capture, Compare-Match Falling Edge Interrupt for Channel 2.

void Example_Function(void)
{
{
CCU6_CH2_CM_F_CALLBACK();
}
}
INLINE void CCU6_CH2_CM_F_Int_En(void)
enables Capture, Compare-Match Falling Edge Interrupt for Channel 2.
Definition: ccu6.h:4868
INLINE uint8 CCU6_T12_CM_CC62_Int_Fall_Sts(void)
reads Capture, Compare-Match Falling Edge Flag Status for Channel 2.
Definition: ccu6.h:3541
INLINE void CCU6_CH2_CM_F_Int_Clr(void)
clears Capture, Compare-Match Falling Edge Interrupt flag for Channel 2.
Definition: ccu6.h:4445

◆ CCU6_CH2_CM_F_Int_Dis()

INLINE void CCU6_CH2_CM_F_Int_Dis ( void  )

disables Capture, Compare-Match Falling Edge Interrupt for Channel 2.

Example

This example treats the Capture, Compare-Match Falling Edge Interrupt for Channel 2.

void Example_Function(void)
{
{
CCU6_CH2_CM_F_CALLBACK();
}
}
INLINE void CCU6_CH2_CM_F_Int_Dis(void)
disables Capture, Compare-Match Falling Edge Interrupt for Channel 2.
Definition: ccu6.h:4891

◆ CCU6_CH2_CM_F_Int_En()

INLINE void CCU6_CH2_CM_F_Int_En ( void  )

enables Capture, Compare-Match Falling Edge Interrupt for Channel 2.

Example

This example treats the Capture, Compare-Match Falling Edge Interrupt for Channel 2.

void Example_Function(void)
{
{
CCU6_CH2_CM_F_CALLBACK();
}
}

◆ CCU6_CH2_CM_R_Int_Clr()

INLINE void CCU6_CH2_CM_R_Int_Clr ( void  )

clears Capture, Compare-Match Rising Edge Interrupt flag for Channel 2.

Example

This example treats the Capture, Compare-Match Rising Edge Interrupt for Channel 2.

void Example_Function(void)
{
{
CCU6_CH2_CM_R_CALLBACK();
}
}
INLINE void CCU6_CH2_CM_R_Int_En(void)
enables Capture, Compare-Match Rising Edge Interrupt for Channel 2.
Definition: ccu6.h:4823
INLINE void CCU6_CH2_CM_R_Int_Clr(void)
clears Capture, Compare-Match Rising Edge Interrupt flag for Channel 2.
Definition: ccu6.h:4423
INLINE uint8 CCU6_T12_CM_CC62_Int_Rise_Sts(void)
reads Capture, Compare-Match Rising Edge Flag Status for Channel 2.
Definition: ccu6.h:3469

◆ CCU6_CH2_CM_R_Int_Dis()

INLINE void CCU6_CH2_CM_R_Int_Dis ( void  )

disables Capture, Compare-Match Rising Edge Interrupt for Channel 2.

Example

This example treats the Capture, Compare-Match Rising Edge Interrupt for Channel 2.

void Example_Function(void)
{
{
CCU6_CH2_CM_R_CALLBACK();
}
}
INLINE void CCU6_CH2_CM_R_Int_Dis(void)
disables Capture, Compare-Match Rising Edge Interrupt for Channel 2.
Definition: ccu6.h:4846

◆ CCU6_CH2_CM_R_Int_En()

INLINE void CCU6_CH2_CM_R_Int_En ( void  )

enables Capture, Compare-Match Rising Edge Interrupt for Channel 2.

Example

This example treats the Capture, Compare-Match Rising Edge Interrupt for Channel 2.

void Example_Function(void)
{
{
CCU6_CH2_CM_R_CALLBACK();
}
}

◆ CCU6_Ch2_CompState_Rst()

INLINE void CCU6_Ch2_CompState_Rst ( void  )

resets Capture/Compare Status Modification Bit 2 (CC62ST) by Software.

Example

This example resets CC62ST.

void Example_Function(void)
{
}
INLINE void CCU6_Ch2_CompState_Rst(void)
resets Capture/Compare Status Modification Bit 2 (CC62ST) by Software.
Definition: ccu6.h:1927

◆ CCU6_Ch2_CompState_Set()

INLINE void CCU6_Ch2_CompState_Set ( void  )

sets Capture/Compare Status Modification Bit 2 for (CC62ST) by Software.

Example

This example sets CC62ST.

void Example_Function(void)
{
}
INLINE void CCU6_Ch2_CompState_Set(void)
sets Capture/Compare Status Modification Bit 2 for (CC62ST) by Software.
Definition: ccu6.h:1859

◆ CCU6_Ch2_CompState_Sts()

INLINE uint8 CCU6_Ch2_CompState_Sts ( void  )

reads CC62 Capture/Compare State.

Return values
0if the timer count is less than the compare value
1if the timer count is greater than the compare value

Example

This example sets Passive state for COUT62.

void Example_Function(void)
{
{
CCU6_Ch2c_Passive_State_Before_Compare_Set();
}
}
INLINE uint8 CCU6_Ch2_CompState_Sts(void)
reads CC62 Capture/Compare State.
Definition: ccu6.h:1628

◆ CCU6_Ch2_Deadtime_Dis()

INLINE void CCU6_Ch2_Deadtime_Dis ( void  )

disables CCU6 Timer T12 Channel 2 Deadtime.

Example

This example disables CCU6 Timer T12 Channel 2 Deadtime.

void Example_Function(void)
{
}
INLINE void CCU6_Ch2_Deadtime_Dis(void)
disables CCU6 Timer T12 Channel 2 Deadtime.
Definition: ccu6.h:1373

◆ CCU6_Ch2_Deadtime_En()

INLINE void CCU6_Ch2_Deadtime_En ( void  )

enables CCU6 Timer T12 Channel 2 Deadtime.

Example

This example enables CCU6 Timer T12 Channel 2 Deadtime.

void Example_Function(void)
{
}
INLINE void CCU6_Ch2_Deadtime_En(void)
enables CCU6 Timer T12 Channel 2 Deadtime.
Definition: ccu6.h:1322

◆ CCU6_Ch2_Deadtime_Sts()

INLINE uint8 CCU6_Ch2_Deadtime_Sts ( void  )

reads CCU6 Timer T12 Channel 2 Deadtime Status.

Returns
CCU6 Timer T12 Channel 2 Deadtime Status

Example

This example reads CCU6 Timer T12 Channel 2 Deadtime Status.

void Example_Function(void)
{
uint8 sts;
}
INLINE uint8 CCU6_Ch2_Deadtime_Sts(void)
reads CCU6 Timer T12 Channel 2 Deadtime Status.
Definition: ccu6.h:1439

◆ CCU6_Ch2_Input_Sel()

INLINE void CCU6_Ch2_Input_Sel ( uint16  iscc62)

selects Input for CC62.

Parameters
iscc62input for CC62

Example

This example selects CC62_1 as Input for CC62.

void Example_Function(void)
{
}
INLINE void CCU6_Ch2_Input_Sel(uint16 iscc62)
selects Input for CC62.
Definition: ccu6.h:720

◆ CCU6_Ch2_Int_Node_Sel()

INLINE void CCU6_Ch2_Int_Node_Sel ( uint16  srx)

selects Interrupt Node Pointer for Channel 2 Interrupts.

Parameters
srxInterrupt Node Pointer for Channel 2 Interrupts, values 0..3

Example

This example selects Interrupt output line SR0 for CC62R and treats the Capture, Compare-Match Rising Edge Interrupt for Channel 2.

void Example_Function(void)
{
{
CCU6_CH2_CM_R_CALLBACK();
}
}
INLINE void CCU6_Ch2_Int_Node_Sel(uint16 srx)
selects Interrupt Node Pointer for Channel 2 Interrupts.
Definition: ccu6.h:4213

◆ CCU6_Ch2_Value_Get()

INLINE uint16 CCU6_Ch2_Value_Get ( void  )

reads Channel 2 Capture/Compare Value.

Returns
Channel 2 Capture/Compare Value

Example

This example reads Channel 2 Capture/Compare Value.

void Example_Function(void)
{
uint16 val;
}
INLINE uint16 CCU6_Ch2_Value_Get(void)
reads Channel 2 Capture/Compare Value.
Definition: ccu6.h:1212

◆ CCU6_Ch2_Value_Set()

INLINE void CCU6_Ch2_Value_Set ( uint16  cc62sr)

sets Channel 2 Capture/Compare Value.

Parameters
cc62srChannel 2 Capture/Compare Value

Example

This example sets Channel 2 Capture/Compare Value to 5000.

void Example_Function(void)
{
}
INLINE void CCU6_Ch2_Value_Set(uint16 cc62sr)
sets Channel 2 Capture/Compare Value.
Definition: ccu6.h:1231

◆ CCU6_Ch2c_Passive_Level_High_Set()

INLINE void CCU6_Ch2c_Passive_Level_High_Set ( void  )

sets Passive High Level of COUT62.

Example

This example sets Passive High Level of COUT62.

void Example_Function(void)
{
}
INLINE void CCU6_Ch2c_Passive_Level_High_Set(void)
sets Passive High Level of COUT62.
Definition: ccu6.h:2844

◆ CCU6_Ch2c_Passive_Level_Low_Set()

INLINE void CCU6_Ch2c_Passive_Level_Low_Set ( void  )

sets Passive Low Level of COUT62.

Example

This example sets Passive Low Level of COUT62.

void Example_Function(void)
{
}
INLINE void CCU6_Ch2c_Passive_Level_Low_Set(void)
sets Passive Low Level of COUT62.
Definition: ccu6.h:2861

◆ CCU6_Ch2t_Passive_Level_High_Set()

INLINE void CCU6_Ch2t_Passive_Level_High_Set ( void  )

sets Passive High Level of CC62.

Example

This example sets Passive High Level of CC62.

void Example_Function(void)
{
}
INLINE void CCU6_Ch2t_Passive_Level_High_Set(void)
sets Passive High Level of CC62.
Definition: ccu6.h:2810

◆ CCU6_Ch2t_Passive_Level_Low_Set()

INLINE void CCU6_Ch2t_Passive_Level_Low_Set ( void  )

sets Passive Low Level of CC62.

Example

This example sets Passive Low Level of CC62.

void Example_Function(void)
{
}
INLINE void CCU6_Ch2t_Passive_Level_Low_Set(void)
sets Passive Low Level of CC62.
Definition: ccu6.h:2827

◆ CCU6_Ch3_CompState_Rst()

INLINE void CCU6_Ch3_CompState_Rst ( void  )

resets Capture/Compare Status Modification Bit 3 (CC63ST) by Software.

Example

This example resets CC63ST.

void Example_Function(void)
{
}
INLINE void CCU6_Ch3_CompState_Rst(void)
resets Capture/Compare Status Modification Bit 3 (CC63ST) by Software.
Definition: ccu6.h:1944

◆ CCU6_Ch3_CompState_Set()

INLINE void CCU6_Ch3_CompState_Set ( void  )

sets Capture/Compare Status Modification Bit 3 for (CC63ST) by Software.

Example

This example sets CC63ST.

void Example_Function(void)
{
}
INLINE void CCU6_Ch3_CompState_Set(void)
sets Capture/Compare Status Modification Bit 3 for (CC63ST) by Software.
Definition: ccu6.h:1876

◆ CCU6_Ch3_CompState_Sts()

INLINE uint8 CCU6_Ch3_CompState_Sts ( void  )

reads CC63 Capture/Compare State.

Return values
0if the timer count is less than the compare value
1if the timer count is greater than the compare value

Example

This example sets Passive state for COUT63.

void Example_Function(void)
{
{
}
}
INLINE void CCU6_Ch3c_Passive_State_Before_Compare_Set(void)
sets Passive state for COUT63 Before Compare.
Definition: ccu6.h:1771
INLINE uint8 CCU6_Ch3_CompState_Sts(void)
reads CC63 Capture/Compare State.
Definition: ccu6.h:1651

◆ CCU6_Ch3_Value_Get()

INLINE uint16 CCU6_Ch3_Value_Get ( void  )

reads Channel CC63 Compare Value.

Returns
Channel CC63 Compare Value

Example

This example reads Channel CC63 Compare Value.

void Example_Function(void)
{
uint16 val;
}
INLINE uint16 CCU6_Ch3_Value_Get(void)
reads Channel CC63 Compare Value.
Definition: ccu6.h:1540

◆ CCU6_Ch3_Value_Set()

INLINE void CCU6_Ch3_Value_Set ( uint16  cc63sr)

sets Channel CC63 Compare Value.

Parameters
cc63srChannel CC63 Compare Value

Example

This example sets Channel CC63 Compare Value to 5000.

void Example_Function(void)
{
}
INLINE void CCU6_Ch3_Value_Set(uint16 cc63sr)
sets Channel CC63 Compare Value.
Definition: ccu6.h:1559

◆ CCU6_Ch3c_Passive_State_After_Compare_Set()

INLINE void CCU6_Ch3c_Passive_State_After_Compare_Set ( void  )

sets Passive state for COUT63 after Compare.

Example

This example sets Passive state for COUT63.

void Example_Function(void)
{
{
}
}
INLINE void CCU6_Ch3c_Passive_State_After_Compare_Set(void)
sets Passive state for COUT63 after Compare.
Definition: ccu6.h:1750

◆ CCU6_Ch3c_Passive_State_Before_Compare_Set()

INLINE void CCU6_Ch3c_Passive_State_Before_Compare_Set ( void  )

sets Passive state for COUT63 Before Compare.

Example

This example sets Passive state for COUT63.

void Example_Function(void)
{
{
}
}

◆ CCU6_CHE_Int_Clr()

INLINE void CCU6_CHE_Int_Clr ( void  )

clears Interrupt for Correct Hall Event flag.

Example

This example treats the Interrupt for Correct Hall Event.

void Example_Function(void)
{
{
CCU6_CORRECT_HALL_CALLBACK();
}
}
INLINE void CCU6_CHE_Int_Clr(void)
clears Interrupt for Correct Hall Event flag.
Definition: ccu6.h:4577
INLINE uint8 CCU6_Hall_Correct_Int_Sts(void)
reads Correct Hall Event Status.
Definition: ccu6.h:3709
INLINE void CCU6_CHE_Int_En(void)
enables Interrupt for Correct Hall Event.
Definition: ccu6.h:5138

◆ CCU6_CHE_Int_Dis()

INLINE void CCU6_CHE_Int_Dis ( void  )

disables Interrupt for Correct Hall Event.

Example

This example treats the Interrupt for Correct Hall Event.

void Example_Function(void)
{
{
CCU6_CORRECT_HALL_CALLBACK();
}
}
INLINE void CCU6_CHE_Int_Dis(void)
disables Interrupt for Correct Hall Event.
Definition: ccu6.h:5161

◆ CCU6_CHE_Int_En()

INLINE void CCU6_CHE_Int_En ( void  )

enables Interrupt for Correct Hall Event.

Example

This example treats the Interrupt for Correct Hall Event.

void Example_Function(void)
{
{
CCU6_CORRECT_HALL_CALLBACK();
}
}

◆ CCU6_ClearIntStatus()

INLINE void CCU6_ClearIntStatus ( uint16  Mask)

Clears interrupt status bit(s).

Parameters
Maskfor interrupt status bit(s) to be cleared.

Example

This example Clears all CCU6 interrupt flags.

void Example_Function(void)
{
}
INLINE void CCU6_ClearIntStatus(uint16 Mask)
Clears interrupt status bit(s).
Definition: ccu6.h:5753

◆ CCU6_ConfigureGlobalModulation()

INLINE void CCU6_ConfigureGlobalModulation ( uint16  Mode)

Sets global modulation control register.

Parameters
ModeGlobal modulation control bits

Example

This example enables T12 modulation of CC60.

void Example_Function(void)
{
}
INLINE void CCU6_ConfigureGlobalModulation(uint16 Mode)
Sets global modulation control register.
Definition: ccu6.h:5715

◆ CCU6_ConfigureMultichannelModulation()

INLINE void CCU6_ConfigureMultichannelModulation ( uint16  Mode)

Sets Multi-Channel Mode control register.

Parameters
ModeMulti-Channel mode control bits

Example

This example sets Correct pattern Switching Selection.

void Example_Function(void)
{
}
INLINE void CCU6_ConfigureMultichannelModulation(uint16 Mode)
Sets Multi-Channel Mode control register.
Definition: ccu6.h:5696

◆ CCU6_Deadtime_Get()

INLINE uint8 CCU6_Deadtime_Get ( void  )

reads CCU6 Timer T12 Deadtime.

Returns
CCU6 Timer T12 Deadtime

Example

This example reads CCU6 Timer T12 Deadtime.

void Example_Function(void)
{
uint16 val;
}
INLINE uint8 CCU6_Deadtime_Get(void)
reads CCU6 Timer T12 Deadtime.
Definition: ccu6.h:1252

◆ CCU6_Deadtime_Rst()

INLINE void CCU6_Deadtime_Rst ( void  )

resets CCU6 T12 Dead-Time Counter.

Example

This example resets CCU6 T12 Dead-Time Counter.

void Example_Function(void)
{
}
INLINE void CCU6_Deadtime_Rst(void)
resets CCU6 T12 Dead-Time Counter.
Definition: ccu6.h:472

◆ CCU6_Deadtime_Set()

INLINE void CCU6_Deadtime_Set ( uint16  dtm)

sets CCU6 Timer T12 Deadtime.

Parameters
dtmCCU6 Timer T12 Deadtime

Example

This example sets CCU6 Timer T12 Deadtime to 50.

void Example_Function(void)
{
}
INLINE void CCU6_Deadtime_Set(uint16 dtm)
sets CCU6 Timer T12 Deadtime.
Definition: ccu6.h:1271

◆ CCU6_EnableInt()

INLINE void CCU6_EnableInt ( uint16  Mask)

Enables/disables interrupt(s).

Parameters
Maskfor interrupt(s) to be enabled.

Example

This example enables all CCU6 interrupts.

void Example_Function(void)
{
CCU6_EnableInt(0xF7FF);
}
INLINE void CCU6_EnableInt(uint16 Mask)
Enables/disables interrupt(s).
Definition: ccu6.h:5734

◆ CCU6_EnableST_T12()

INLINE void CCU6_EnableST_T12 ( void  )

Enable T12 Shadow Transfer.

Example

This example enables T12 Shadow Transfer.

void Example_Function(void)
{
}
INLINE void CCU6_EnableST_T12(void)
Enable T12 Shadow Transfer.
Definition: ccu6.h:5372

◆ CCU6_EnableST_T13()

INLINE void CCU6_EnableST_T13 ( void  )

Enable T13 Shadow Transfer.

Example

This example enables T13 Shadow Transfer.

void Example_Function(void)
{
}
INLINE void CCU6_EnableST_T13(void)
Enable T13 Shadow Transfer.
Definition: ccu6.h:5389

◆ CCU6_Error_Int_Node_Sel()

INLINE void CCU6_Error_Int_Node_Sel ( uint16  srx)

selects Interrupt Node Pointer for Error Interrupts.

Parameters
srxInterrupt Node Pointer for Error Interrupts, values 0..3

Example

This example selects Interrupt output line SR0 for TRPF and treats the Interrupt for Trap Flag.

void Example_Function(void)
{
{
CCU6_TRAP_CALLBACK();
}
}
INLINE void CCU6_Error_Int_Node_Sel(uint16 srx)
selects Interrupt Node Pointer for Error Interrupts.
Definition: ccu6.h:4238
INLINE uint8 CCU6_Trap_Flag_Int_Sts(void)
reads Trap Flag Status.
Definition: ccu6.h:3661
INLINE void CCU6_TRAP_Int_En(void)
enables Interrupt for Trap Flag.
Definition: ccu6.h:5093
INLINE void CCU6_TRAP_Int_Clr(void)
clears Trap Flag.
Definition: ccu6.h:4555

◆ CCU6_Hall_Ch0_Sts()

INLINE uint8 CCU6_Hall_Ch0_Sts ( void  )

reads Sampled Hall Pattern Bit 0.

Return values
0if the input CCPOS0 has been sampled as 0.
1if the input CCPOS0 has been sampled as 1.

Example

This example reads Sampled Hall Pattern Bit 0.

void Example_Function(void)
{
uint8 data;
}
INLINE uint8 CCU6_Hall_Ch0_Sts(void)
reads Sampled Hall Pattern Bit 0.
Definition: ccu6.h:1673

◆ CCU6_Hall_Ch1_Sts()

INLINE uint8 CCU6_Hall_Ch1_Sts ( void  )

reads Sampled Hall Pattern Bit 1.

Return values
0if the input CCPOS1 has been sampled as 0.
1if the input CCPOS1 has been sampled as 1.

Example

This example reads Sampled Hall Pattern Bit 1.

void Example_Function(void)
{
uint8 data;
}
INLINE uint8 CCU6_Hall_Ch1_Sts(void)
reads Sampled Hall Pattern Bit 1.
Definition: ccu6.h:1695

◆ CCU6_Hall_Ch2_Sts()

INLINE uint8 CCU6_Hall_Ch2_Sts ( void  )

reads Sampled Hall Pattern Bit 2.

Return values
0if the input CCPOS2 has been sampled as 0.
1if the input CCPOS2 has been sampled as 1.

Example

This example reads Sampled Hall Pattern Bit 2.

void Example_Function(void)
{
uint8 data;
}
INLINE uint8 CCU6_Hall_Ch2_Sts(void)
reads Sampled Hall Pattern Bit 2.
Definition: ccu6.h:1717

◆ CCU6_Hall_Correct_Int_Node_Sel()

INLINE void CCU6_Hall_Correct_Int_Node_Sel ( uint16  srx)

selects Interrupt Node Pointer for CHE Interrupts.

Parameters
srxInterrupt Node Pointer for CHE Interrupts, values 0..3

Example

This example selects Interrupt output line SR0 for CHE and treats the Interrupt for Correct Hall Event.

void Example_Function(void)
{
{
CCU6_CORRECT_HALL_CALLBACK();
}
}
INLINE void CCU6_Hall_Correct_Int_Node_Sel(uint16 srx)
selects Interrupt Node Pointer for CHE Interrupts.
Definition: ccu6.h:4313

◆ CCU6_Hall_Correct_Int_Set()

INLINE void CCU6_Hall_Correct_Int_Set ( void  )

sets Interrupt for Correct Hall Event flag.

Example

This example treats the Interrupt for Correct Hall Event.

void Example_Function(void)
{
{
CCU6_CORRECT_HALL_CALLBACK();
}
}
INLINE void CCU6_Hall_Correct_Int_Set(void)
sets Interrupt for Correct Hall Event flag.
Definition: ccu6.h:4072

◆ CCU6_Hall_Correct_Int_Sts()

INLINE uint8 CCU6_Hall_Correct_Int_Sts ( void  )

reads Correct Hall Event Status.

Returns
Correct Hall Event Status

Example

This example treats the Interrupt for Correct Hall Event.

void Example_Function(void)
{
{
CCU6_CORRECT_HALL_CALLBACK();
}
}

◆ CCU6_Hall_Delay_Bypass_Dis()

INLINE void CCU6_Hall_Delay_Bypass_Dis ( void  )

disables Hall Delay Bypass.

Example

This example disables Hall Delay Bypass.

void Example_Function(void)
{
}
INLINE void CCU6_Hall_Delay_Bypass_Dis(void)
disables Hall Delay Bypass.
Definition: ccu6.h:952

◆ CCU6_Hall_Delay_Bypass_En()

INLINE void CCU6_Hall_Delay_Bypass_En ( void  )

enables Hall Delay Bypass.

Example

This example enables Hall Delay Bypass.

void Example_Function(void)
{
}
INLINE void CCU6_Hall_Delay_Bypass_En(void)
enables Hall Delay Bypass.
Definition: ccu6.h:935

◆ CCU6_Hall_Synchronizaion_Sel()

INLINE void CCU6_Hall_Synchronizaion_Sel ( uint16  hsync)

selects Hall Synchronization.

Parameters
hsyncHall Synchronization

Example

This example selects T13 CM as Hall Synchronization.

void Example_Function(void)
{
}
INLINE void CCU6_Hall_Synchronizaion_Sel(uint16 hsync)
selects Hall Synchronization.
Definition: ccu6.h:971

◆ CCU6_Hall_Wrong_Int_Set()

INLINE void CCU6_Hall_Wrong_Int_Set ( void  )

sets Interrupt for Wrong Hall Event flag.

Example

This example treats the Interrupt for Wrong Hall Event.

void Example_Function(void)
{
{
CCU6_WRONG_HALL_CALLBACK();
}
}
INLINE uint8 CCU6_Hall_Wrong_Int_Sts(void)
reads Wrong Hall Event Status.
Definition: ccu6.h:3733
INLINE void CCU6_WHE_Int_Clr(void)
clears Interrupt for Wrong Hall Event flag.
Definition: ccu6.h:4599
INLINE void CCU6_Hall_Wrong_Int_Set(void)
sets Interrupt for Wrong Hall Event flag.
Definition: ccu6.h:4095
INLINE void CCU6_WHE_Int_En(void)
enables Interrupt for Wrong Hall Event.
Definition: ccu6.h:5183

◆ CCU6_Hall_Wrong_Int_Sts()

INLINE uint8 CCU6_Hall_Wrong_Int_Sts ( void  )

reads Wrong Hall Event Status.

Returns
Wrong Hall Event Status

Example

This example treats the Interrupt for Wrong Hall Event.

void Example_Function(void)
{
{
CCU6_WRONG_HALL_CALLBACK();
}
}

◆ CCU6_Init()

void CCU6_Init ( void  )

Initializes the CCU6 module based on the Config Wizard for MOTIX MCU configuration.

◆ CCU6_IsT13Running()

INLINE bool CCU6_IsT13Running ( void  )

reads Timer T13 Run Bit.

Return values
falseif Timer T13 is stopped.
trueif Timer T13 is running.

Example

This example checks if Timer T13 is running.

void Example_Function(void)
{
{
}
}
INLINE bool CCU6_IsT13Running(void)
reads Timer T13 Run Bit.
Definition: ccu6.h:5526
INLINE void CCU6_T13_Start(void)
starts CCU6 T13.
Definition: ccu6.h:559

◆ CCU6_LoadPeriodRegister_T13_Tick()

INLINE void CCU6_LoadPeriodRegister_T13_Tick ( uint16  tick)

Load Timer13 Period Register as Time Value.

Parameters
tickPeriod in clock ticks

Example

This example sets Timer13 Period Register Time Value to 5000 ticks.

void Example_Function(void)
{
}
INLINE void CCU6_LoadPeriodRegister_T13_Tick(uint16 tick)
Load Timer13 Period Register as Time Value.
Definition: ccu6.h:5503

◆ CCU6_LoadPeriodRegister_T13_Time()

INLINE void CCU6_LoadPeriodRegister_T13_Time ( uint32  us)

Load Timer13 Period Register as Time Value.

Parameters
usPeriod in Time [us]

Example

This example sets Timer13 Period Register Time Value to 5000 us.

void Example_Function(void)
{
}
INLINE void CCU6_LoadPeriodRegister_T13_Time(uint32 us)
Load Timer13 Period Register as Time Value.
Definition: ccu6.h:5484

◆ CCU6_LoadShadowRegister_CC60()

INLINE void CCU6_LoadShadowRegister_CC60 ( uint16  tick)

Load Channel 0 compare value to the shadow register.

Parameters
tickChannel 0 compare value in clock ticks

Example

This example sets Channel 0 Compare Value to 5000.

void Example_Function(void)
{
}
INLINE void CCU6_LoadShadowRegister_CC60(uint16 tick)
Load Channel 0 compare value to the shadow register.
Definition: ccu6.h:5408

◆ CCU6_LoadShadowRegister_CC61()

INLINE void CCU6_LoadShadowRegister_CC61 ( uint16  tick)

Load Channel 1 compare value to the shadow register.

Parameters
tickChannel 1 compare value in clock ticks

Example

This example sets Channel 1 Compare Value to 5000.

void Example_Function(void)
{
}
INLINE void CCU6_LoadShadowRegister_CC61(uint16 tick)
Load Channel 1 compare value to the shadow register.
Definition: ccu6.h:5427

◆ CCU6_LoadShadowRegister_CC62()

INLINE void CCU6_LoadShadowRegister_CC62 ( uint16  tick)

Load Channel 2 compare value to the shadow register.

Parameters
tickChannel 2 compare value in clock ticks

Example

This example sets Channel 2 Compare Value to 5000.

void Example_Function(void)
{
}
INLINE void CCU6_LoadShadowRegister_CC62(uint16 tick)
Load Channel 2 compare value to the shadow register.
Definition: ccu6.h:5446

◆ CCU6_LoadShadowRegister_CC63()

INLINE void CCU6_LoadShadowRegister_CC63 ( uint16  tick)

Load Channel 3 compare value to the shadow register.

Parameters
tickChannel 3 compare value in clock ticks

Example

This example sets Channel 3 Compare Value to 5000.

void Example_Function(void)
{
}
INLINE void CCU6_LoadShadowRegister_CC63(uint16 tick)
Load Channel 3 compare value to the shadow register.
Definition: ccu6.h:5465

◆ CCU6_MCM_Current_Hall_Shadow_Reg_Load()

INLINE void CCU6_MCM_Current_Hall_Shadow_Reg_Load ( uint16  mcm_mask_ccpos)

sets Current Hall Pattern Shadow of CCPOSx.

Parameters
mcm_mask_ccposCurrent Hall Pattern Shadow Mask

Example

This example sets Current Hall Pattern Shadow of CCPOS0.

void Example_Function(void)
{
}
INLINE void CCU6_MCM_Current_Hall_Shadow_Reg_Load(uint16 mcm_mask_ccpos)
sets Current Hall Pattern Shadow of CCPOSx.
Definition: ccu6.h:3004

◆ CCU6_MCM_Current_Hall_Sts()

INLINE uint8 CCU6_MCM_Current_Hall_Sts ( void  )

reads Current Hall Pattern of CCPOSx.

Returns
Current Hall Pattern Mask, values between 0..2

Example

This example reads Current Hall Pattern of CCPOSx.

void Example_Function(void)
{
uint8 data;
}
INLINE uint8 CCU6_MCM_Current_Hall_Sts(void)
reads Current Hall Pattern of CCPOSx.
Definition: ccu6.h:3123

◆ CCU6_MCM_Expected_Hall_Shadow_Reg_Load()

INLINE void CCU6_MCM_Expected_Hall_Shadow_Reg_Load ( uint16  mcm_mask_ccpos)

sets Expected Hall Pattern Shadow of CCPOSx.

Parameters
mcm_mask_ccposExpected Hall Pattern Shadow Mask

Example

This example sets Expected Hall Pattern Shadow of CCPOS0.

void Example_Function(void)
{
}
INLINE void CCU6_MCM_Expected_Hall_Shadow_Reg_Load(uint16 mcm_mask_ccpos)
sets Expected Hall Pattern Shadow of CCPOSx.
Definition: ccu6.h:2985

◆ CCU6_MCM_Expected_Hall_Sts()

INLINE uint8 CCU6_MCM_Expected_Hall_Sts ( void  )

reads Expected Hall Pattern of CCPOSx.

Returns
Expected Hall Pattern Mask, values between 0..2

Example

This example reads Expected Hall Pattern of CCPOSx.

void Example_Function(void)
{
uint8 data;
}
INLINE uint8 CCU6_MCM_Expected_Hall_Sts(void)
reads Expected Hall Pattern of CCPOSx.
Definition: ccu6.h:3102

◆ CCU6_MCM_Hall_Str_HW_En()

INLINE void CCU6_MCM_Hall_Str_HW_En ( void  )

enables Shadow Transfer Request for the Hall Pattern by Hardware.

Example

This example enables Shadow Transfer Request for the Hall Pattern by Hardware.

void Example_Function(void)
{
}
INLINE void CCU6_MCM_Hall_Str_HW_En(void)
enables Shadow Transfer Request for the Hall Pattern by Hardware.
Definition: ccu6.h:3038

◆ CCU6_MCM_Hall_Str_SW_En()

INLINE void CCU6_MCM_Hall_Str_SW_En ( void  )

enables Shadow Transfer Request for the Hall Pattern by Software.

Example

This example enables Shadow Transfer Request for the Hall Pattern by Software.

void Example_Function(void)
{
}
INLINE void CCU6_MCM_Hall_Str_SW_En(void)
enables Shadow Transfer Request for the Hall Pattern by Software.
Definition: ccu6.h:3021

◆ CCU6_MCM_Idle_Int_Set()

INLINE void CCU6_MCM_Idle_Int_Set ( void  )

sets Interrupt for IDLE flag.

Example

This example sets the Interrupt for IDLE Event and reads IDLE Status.

void Example_Function(void)
{
uint8 sts;
}
INLINE uint8 CCU6_MCM_Idle_Int_Sts(void)
reads IDLE Status.
Definition: ccu6.h:3755
INLINE void CCU6_MCM_Idle_Int_Set(void)
sets Interrupt for IDLE flag.
Definition: ccu6.h:4115

◆ CCU6_MCM_Idle_Int_Sts()

INLINE uint8 CCU6_MCM_Idle_Int_Sts ( void  )

reads IDLE Status.

Returns
IDLE Status

Example

This example sets the Interrupt for IDLE Event and reads IDLE Status.

void Example_Function(void)
{
uint8 sts;
}

◆ CCU6_MCM_PWM_Pattern_Sts()

INLINE uint8 CCU6_MCM_PWM_Pattern_Sts ( void  )

reads Multi-Channel PWM Pattern.

Returns
mask of output which can deliver the PWM generated by T12 or T13, values between 0..5

Example

This example reads Multi-Channel PWM Pattern.

void Example_Function(void)
{
uint8 data;
}
INLINE uint8 CCU6_MCM_PWM_Pattern_Sts(void)
reads Multi-Channel PWM Pattern.
Definition: ccu6.h:3059

◆ CCU6_MCM_PWM_Str_HW_En()

INLINE void CCU6_MCM_PWM_Str_HW_En ( void  )

enables Shadow Transfer Request for MCMPS by Hardware.

Example

This example enables Shadow Transfer Request for MCMPS by Hardware.

void Example_Function(void)
{
}
INLINE void CCU6_MCM_PWM_Str_HW_En(void)
enables Shadow Transfer Request for MCMPS by Hardware.
Definition: ccu6.h:2966

◆ CCU6_MCM_PWM_Str_Req_Sts()

INLINE uint8 CCU6_MCM_PWM_Str_Req_Sts ( void  )

reads Reminder Flag Status.

Return values
0if No shadow transfer.
1if Shadow transfer.

Example

This example reads Reminder Flag Status.

void Example_Function(void)
{
uint8 data;
}
INLINE uint8 CCU6_MCM_PWM_Str_Req_Sts(void)
reads Reminder Flag Status.
Definition: ccu6.h:3081

◆ CCU6_MCM_PWM_Str_SW_En()

INLINE void CCU6_MCM_PWM_Str_SW_En ( void  )

enables Shadow Transfer Request for MCMPS by Software.

Example

This example enables Shadow Transfer Request for MCMPS by Software.

void Example_Function(void)
{
}
INLINE void CCU6_MCM_PWM_Str_SW_En(void)
enables Shadow Transfer Request for MCMPS by Software.
Definition: ccu6.h:2949

◆ CCU6_MCM_Str_Int_Set()

INLINE void CCU6_MCM_Str_Int_Set ( void  )

sets Multi-Channel Mode Shadow Transfer Interrupt flag.

Example

This example treats the Multi-Channel Mode Shadow Transfer Interrupt.

void Example_Function(void)
{
{
CCU6_MCM_STR_CALLBACK();
}
}
INLINE void CCU6_MCM_Str_Int_Set(void)
sets Multi-Channel Mode Shadow Transfer Interrupt flag.
Definition: ccu6.h:4138
INLINE void CCU6_STR_Int_Clr(void)
clears Multi-Channel Mode Shadow Transfer Interrupt flag.
Definition: ccu6.h:4621
INLINE uint8 CCU6_MCM_Str_Int_Sts(void)
reads Multi-Channel Mode Shadow Transfer Request Status.
Definition: ccu6.h:3779
INLINE void CCU6_STR_Int_En(void)
enables Multi-Channel Mode Shadow Transfer Interrupt.
Definition: ccu6.h:5228

◆ CCU6_MCM_Str_Int_Sts()

INLINE uint8 CCU6_MCM_Str_Int_Sts ( void  )

reads Multi-Channel Mode Shadow Transfer Request Status.

Returns
Multi-Channel Mode Shadow Transfer Request Status

Example

This example treats the Multi-Channel Mode Shadow Transfer Interrupt.

void Example_Function(void)
{
{
CCU6_MCM_STR_CALLBACK();
}
}

◆ CCU6_MCM_Str_T12_Down_Cnt_Dis()

INLINE void CCU6_MCM_Str_T12_Down_Cnt_Dis ( void  )

disables Shadow Transfer for T12 Downcounting.

Example

This example disables Shadow Transfer for T12 Downcounting.

void Example_Function(void)
{
}
INLINE void CCU6_MCM_Str_T12_Down_Cnt_Dis(void)
disables Shadow Transfer for T12 Downcounting.
Definition: ccu6.h:3363

◆ CCU6_MCM_Str_T12_Down_Cnt_En()

INLINE void CCU6_MCM_Str_T12_Down_Cnt_En ( void  )

enables Shadow Transfer for T12 Downcounting.

Example

This example enables Shadow Transfer for T12 Downcounting.

void Example_Function(void)
{
}
INLINE void CCU6_MCM_Str_T12_Down_Cnt_En(void)
enables Shadow Transfer for T12 Downcounting.
Definition: ccu6.h:3346

◆ CCU6_MCM_Str_T12_Up_Cnt_Dis()

INLINE void CCU6_MCM_Str_T12_Up_Cnt_Dis ( void  )

disables Shadow Transfer for T12 Upcounting.

Example

This example disables Shadow Transfer for T12 Upcounting.

void Example_Function(void)
{
}
INLINE void CCU6_MCM_Str_T12_Up_Cnt_Dis(void)
disables Shadow Transfer for T12 Upcounting.
Definition: ccu6.h:3329

◆ CCU6_MCM_Str_T12_Up_Cnt_En()

INLINE void CCU6_MCM_Str_T12_Up_Cnt_En ( void  )

enables Shadow Transfer for T12 Upcounting.

Example

This example enables Shadow Transfer for T12 Upcounting.

void Example_Function(void)
{
}
INLINE void CCU6_MCM_Str_T12_Up_Cnt_En(void)
enables Shadow Transfer for T12 Upcounting.
Definition: ccu6.h:3312

◆ CCU6_MCM_Str_T13_Up_Cnt_Dis()

INLINE void CCU6_MCM_Str_T13_Up_Cnt_Dis ( void  )

disables Shadow Transfer for T13 Upcounting.

Example

This example disables Shadow Transfer for T13 Upcounting.

void Example_Function(void)
{
}
INLINE void CCU6_MCM_Str_T13_Up_Cnt_Dis(void)
disables Shadow Transfer for T13 Upcounting.
Definition: ccu6.h:3397

◆ CCU6_MCM_Str_T13_Up_Cnt_En()

INLINE void CCU6_MCM_Str_T13_Up_Cnt_En ( void  )

enables Shadow Transfer for T13 Upcounting.

Example

This example enables Shadow Transfer for T13 Upcounting.

void Example_Function(void)
{
}
INLINE void CCU6_MCM_Str_T13_Up_Cnt_En(void)
enables Shadow Transfer for T13 Upcounting.
Definition: ccu6.h:3380

◆ CCU6_MCM_Switch_CorrectHall_Set()

INLINE void CCU6_MCM_Switch_CorrectHall_Set ( void  )

sets Correct Hall Switching Mode.

Example

This example sets Correct Hall Switching Mode.

void Example_Function(void)
{
}
INLINE void CCU6_MCM_Switch_CorrectHall_Set(void)
sets Correct Hall Switching Mode.
Definition: ccu6.h:3176

◆ CCU6_MCM_Switch_NoTrigger_Set()

INLINE void CCU6_MCM_Switch_NoTrigger_Set ( void  )

sets No Trigger Switching Mode.

Example

This example sets No Trigger Switching Mode.

void Example_Function(void)
{
}
INLINE void CCU6_MCM_Switch_NoTrigger_Set(void)
sets No Trigger Switching Mode.
Definition: ccu6.h:3159

◆ CCU6_MCM_Switch_Sel()

INLINE void CCU6_MCM_Switch_Sel ( uint16  swsel)

selects Switching Mode.

Parameters
swselSwitching Mode

Example

This example sets T13 period-match Switching Mode.

void Example_Function(void)
{
}
INLINE void CCU6_MCM_Switch_Sel(uint16 swsel)
selects Switching Mode.
Definition: ccu6.h:3142

◆ CCU6_MCM_Switch_Sync_direct_Sel()

INLINE void CCU6_MCM_Switch_Sync_direct_Sel ( void  )

sets Direct Switching Synchronization.

Example

This example sets Direct Switching Synchronization.

void Example_Function(void)
{
}
INLINE void CCU6_MCM_Switch_Sync_direct_Sel(void)
sets Direct Switching Synchronization.
Definition: ccu6.h:3261

◆ CCU6_MCM_Switch_Sync_T12_ZM_Sel()

INLINE void CCU6_MCM_Switch_Sync_T12_ZM_Sel ( void  )

sets T12 zero-match Switching Synchronization.

Example

This example sets T12 zero-match Switching Synchronization.

void Example_Function(void)
{
}
INLINE void CCU6_MCM_Switch_Sync_T12_ZM_Sel(void)
sets T12 zero-match Switching Synchronization.
Definition: ccu6.h:3295

◆ CCU6_MCM_Switch_Sync_T13_ZM_Sel()

INLINE void CCU6_MCM_Switch_Sync_T13_ZM_Sel ( void  )

sets T13 zero-match Switching Synchronization.

Example

This example sets T13 zero-match Switching Synchronization.

void Example_Function(void)
{
}
INLINE void CCU6_MCM_Switch_Sync_T13_ZM_Sel(void)
sets T13 zero-match Switching Synchronization.
Definition: ccu6.h:3278

◆ CCU6_MCM_Switch_T12_Ch1_CM_Set()

INLINE void CCU6_MCM_Switch_T12_Ch1_CM_Set ( void  )

sets T12 channel1 compare-match Switching Mode.

Example

This example sets T12 channel1 compare-match Switching Mode.

void Example_Function(void)
{
}
INLINE void CCU6_MCM_Switch_T12_Ch1_CM_Set(void)
sets T12 channel1 compare-match Switching Mode.
Definition: ccu6.h:3227

◆ CCU6_MCM_Switch_T12_ON_Set()

INLINE void CCU6_MCM_Switch_T12_ON_Set ( void  )

sets T12 one-match Switching Mode.

Example

This example sets T12 one-match Switching Mode.

void Example_Function(void)
{
}
INLINE void CCU6_MCM_Switch_T12_ON_Set(void)
sets T12 one-match Switching Mode.
Definition: ccu6.h:3210

◆ CCU6_MCM_Switch_T12_PM_Set()

INLINE void CCU6_MCM_Switch_T12_PM_Set ( void  )

sets T12 period-match Switching Mode.

Example

This example sets T12 period-match Switching Mode.

void Example_Function(void)
{
}
INLINE void CCU6_MCM_Switch_T12_PM_Set(void)
sets T12 period-match Switching Mode.
Definition: ccu6.h:3244

◆ CCU6_MCM_Switch_T13_PM_Set()

INLINE void CCU6_MCM_Switch_T13_PM_Set ( void  )

sets T13 period-match Switching Mode.

Example

This example sets T13 period-match Switching Mode.

void Example_Function(void)
{
}
INLINE void CCU6_MCM_Switch_T13_PM_Set(void)
sets T13 period-match Switching Mode.
Definition: ccu6.h:3193

◆ CCU6_Multi_Ch_Mode_Dis()

INLINE void CCU6_Multi_Ch_Mode_Dis ( void  )

disables Multi-Channel Mode

Example

This example disables Multi-Channel Mode.

void Example_Function(void)
{
}
INLINE void CCU6_Multi_Ch_Mode_Dis(void)
disables Multi-Channel Mode
Definition: ccu6.h:2416

◆ CCU6_Multi_Ch_Mode_En()

INLINE void CCU6_Multi_Ch_Mode_En ( void  )

enables Multi-Channel Mode

Example

This example enables Multi-Channel Mode.

void Example_Function(void)
{
}
INLINE void CCU6_Multi_Ch_Mode_En(void)
enables Multi-Channel Mode
Definition: ccu6.h:2399

◆ CCU6_Multi_Ch_PWM_Shadow_Reg_Load()

INLINE void CCU6_Multi_Ch_PWM_Shadow_Reg_Load ( uint16  ccu6_mask)

sets Multi-Channel PWM Pattern Shadow.

Parameters
ccu6_maskPWM Pattern Shadow Mask

Example

This example sets PWM Pattern Shadow for output CC60.

void Example_Function(void)
{
}
INLINE void CCU6_Multi_Ch_PWM_Shadow_Reg_Load(uint16 ccu6_mask)
sets Multi-Channel PWM Pattern Shadow.
Definition: ccu6.h:2932

◆ CCU6_Passiv_Level_Ch3_Sel()

INLINE void CCU6_Passiv_Level_Ch3_Sel ( uint16  lvl)

sets Passive State Level of Output COUT63.

Parameters
lvlPassive State Level of COUT63

Example

This example sets Passive High Level of Output COUT63.

void Example_Function(void)
{
}
INLINE void CCU6_Passiv_Level_Ch3_Sel(uint16 lvl)
sets Passive State Level of Output COUT63.
Definition: ccu6.h:2913

◆ CCU6_Passive_Level_High_Sel()

INLINE void CCU6_Passive_Level_High_Sel ( uint16  ccu6_mask)

sets Compare Corresponding Outputs Passive High Level.

Parameters
ccu6_masksets the passive state level for Channel 2..0
bit encoding of ccu6_mask
543210
Ch2cCh2tCh1cCh1tCh0cCh0t
1 = passive state high level
0 = passive state low level

Example

This example sets

  • Ch0t = passive state low level
  • Ch0c = passive state low level
  • Ch1t = passive state low level
  • Ch1c = passive state low level
  • Ch2t = passive state low level
  • Ch2c = passive state high level
void Example_Function(void)
{
}
INLINE void CCU6_Passive_Level_High_Sel(uint16 ccu6_mask)
sets Compare Corresponding Outputs Passive High Level.
Definition: ccu6.h:2894

◆ CCU6_Passive_State_After_Compare_Sel()

INLINE void CCU6_Passive_State_After_Compare_Sel ( uint16  ccu6_mask)

Sets the passive state to "after" the compare value.

Parameters
ccu6_masksets the passive state relative to the compare value for Channel 2..0
bit encoding of ccu6_mask
543210
Ch2cCh2tCh1cCh1tCh0cCh0t
1 = passive state after compare
0 = passive state before compare

Example

This example sets

  • Ch0t = passive state before compare
  • Ch0c = passive state after compare
  • Ch1t = passive state before compare
  • Ch1c = passive state after compare
  • Ch2t = passive state before compare
  • Ch2c = passive state after compare
void Example_Function(void)
{
}
INLINE void CCU6_Passive_State_After_Compare_Sel(uint16 ccu6_mask)
Sets the passive state to "after" the compare value.
Definition: ccu6.h:2656

◆ CCU6_ReadHallReg()

INLINE uint32 CCU6_ReadHallReg ( void  )

Reads sampled Hall pattern from CCU6 CMPSTAT register.

Returns
Sampled Hall pattern

Example

This example Reads sampled Hall pattern from CCU6 CMPSTAT register.

void Example_Function(void)
{
uint16 val;
}
INLINE uint32 CCU6_ReadHallReg(void)
Reads sampled Hall pattern from CCU6 CMPSTAT register.
Definition: ccu6.h:5637

◆ CCU6_ReadMultichannelPatterns()

INLINE uint16 CCU6_ReadMultichannelPatterns ( void  )

Reads actual Hall and PWM patterns for Multi-Channel Mode.

Returns
Hall and PWM patterns

Example

This example Reads actual Hall and PWM patterns for Multi-Channel Mode.

void Example_Function(void)
{
uint16 val;
}
INLINE uint16 CCU6_ReadMultichannelPatterns(void)
Reads actual Hall and PWM patterns for Multi-Channel Mode.
Definition: ccu6.h:5658

◆ CCU6_SetT12T13ControlBits()

INLINE void CCU6_SetT12T13ControlBits ( uint16  Mask)

Sets write-only control bits for T12 and/or T13 timer.

Parameters
MaskControl bit mask

Example

This example resets Timer T12 Run.

void Example_Function(void)
{
}
INLINE void CCU6_SetT12T13ControlBits(uint16 Mask)
Sets write-only control bits for T12 and/or T13 timer.
Definition: ccu6.h:5616

◆ CCU6_SetT13Compare()

INLINE void CCU6_SetT13Compare ( uint16  Compare)

Sets compare value for the T13 timer.

Parameters
CompareCompare value

Example

This example sets T13 Compare to 5000.

void Example_Function(void)
{
}
INLINE void CCU6_SetT13Compare(uint16 Compare)
Sets compare value for the T13 timer.
Definition: ccu6.h:5572

◆ CCU6_SetT13Trigger()

INLINE void CCU6_SetT13Trigger ( uint16  Mask)

Sets trigger event for the T13 timer.

Parameters
MaskTrigger mask

Example

This example enables Timer T13 Single Shot Control.

void Example_Function(void)
{
}
INLINE void CCU6_SetT13Trigger(uint16 Mask)
Sets trigger event for the T13 timer.
Definition: ccu6.h:5552

◆ CCU6_StartTmr_T12()

INLINE void CCU6_StartTmr_T12 ( void  )

Start CCU6 Timer T12.

Example

This example starts CCU6 Timer T12.

void Example_Function(void)
{
}
INLINE void CCU6_StartTmr_T12(void)
Start CCU6 Timer T12.
Definition: ccu6.h:5304

◆ CCU6_StartTmr_T13()

INLINE void CCU6_StartTmr_T13 ( void  )

Start CCU6 Timer T13.

Example

This example starts CCU6 Timer T13.

void Example_Function(void)
{
}
INLINE void CCU6_StartTmr_T13(void)
Start CCU6 Timer T13.
Definition: ccu6.h:5321

◆ CCU6_StopTmr_T12()

INLINE void CCU6_StopTmr_T12 ( void  )

Stop CCU6 Timer T12.

Example

This example stops CCU6 Timer T12.

void Example_Function(void)
{
}
INLINE void CCU6_StopTmr_T12(void)
Stop CCU6 Timer T12.
Definition: ccu6.h:5338

◆ CCU6_StopTmr_T13()

INLINE void CCU6_StopTmr_T13 ( void  )

Stops CCU6 Timer T13.

Example

This example stops CCU6 Timer T13.

void Example_Function(void)
{
}
INLINE void CCU6_StopTmr_T13(void)
Stops CCU6 Timer T13.
Definition: ccu6.h:5355

◆ CCU6_STR_Int_Clr()

INLINE void CCU6_STR_Int_Clr ( void  )

clears Multi-Channel Mode Shadow Transfer Interrupt flag.

Example

This example treats the Multi-Channel Mode Shadow Transfer Interrupt.

void Example_Function(void)
{
{
CCU6_MCM_STR_CALLBACK();
}
}

◆ CCU6_STR_Int_Dis()

INLINE void CCU6_STR_Int_Dis ( void  )

disables Multi-Channel Mode Shadow Transfer Interrupt.

Example

This example treats the Multi-Channel Mode Shadow Transfer Interrupt.

void Example_Function(void)
{
{
CCU6_MCM_STR_CALLBACK();
}
}
INLINE void CCU6_STR_Int_Dis(void)
disables Multi-Channel Mode Shadow Transfer Interrupt.
Definition: ccu6.h:5251

◆ CCU6_STR_Int_En()

INLINE void CCU6_STR_Int_En ( void  )

enables Multi-Channel Mode Shadow Transfer Interrupt.

Example

This example treats the Multi-Channel Mode Shadow Transfer Interrupt.

void Example_Function(void)
{
{
CCU6_MCM_STR_CALLBACK();
}
}

◆ CCU6_T12_Center_Aligned_Mode_En()

INLINE void CCU6_T12_Center_Aligned_Mode_En ( void  )

enables T12 Operating Center-aligned Mode.

Example

This example enables T12 Operating Center-aligned Mode.

void Example_Function(void)
{
}
INLINE void CCU6_T12_Center_Aligned_Mode_En(void)
enables T12 Operating Center-aligned Mode.
Definition: ccu6.h:1978

◆ CCU6_T12_Clk_Sel()

INLINE void CCU6_T12_Clk_Sel ( uint16  t12clk)

selects Timer T12 Input Clock.

Parameters
t12clkTimer T12 Input Clock

Example

This example sets Timer T12 Input Clock to fccu/2.

void Example_Function(void)
{
}
INLINE void CCU6_T12_Start(void)
starts CCU6 T12.
Definition: ccu6.h:438
INLINE void CCU6_T12_Clk_Sel(uint16 t12clk)
selects Timer T12 Input Clock.
Definition: ccu6.h:1998

◆ CCU6_T12_CM_CC60_Int_Fall_Set()

INLINE void CCU6_T12_CM_CC60_Int_Fall_Set ( void  )

sets Capture, Compare-Match Falling Edge Interrupt flag for Channel 0.

Example

This example treats the Capture, Compare-Match Falling Edge Interrupt for Channel 0.

void Example_Function(void)
{
{
CCU6_CH0_CM_F_CALLBACK();
}
}
INLINE void CCU6_T12_CM_CC60_Int_Fall_Set(void)
sets Capture, Compare-Match Falling Edge Interrupt flag for Channel 0.
Definition: ccu6.h:3871

◆ CCU6_T12_CM_CC60_Int_Fall_Sts()

INLINE uint8 CCU6_T12_CM_CC60_Int_Fall_Sts ( void  )

reads Capture, Compare-Match Falling Edge Flag Status for Channel 0.

Returns
Capture, Compare-Match Falling Edge Flag Status for Channel 0

Example

This example treats the Capture, Compare-Match Falling Edge Interrupt for Channel 0.

void Example_Function(void)
{
{
CCU6_CH0_CM_F_CALLBACK();
}
}

◆ CCU6_T12_CM_CC60_Int_Rise_Set()

INLINE void CCU6_T12_CM_CC60_Int_Rise_Set ( void  )

sets Capture, Compare-Match Rising Edge Interrupt flag for Channel 0.

Example

This example treats the Capture, Compare-Match Rising Edge Interrupt for Channel 0.

void Example_Function(void)
{
{
CCU6_CH0_CM_R_CALLBACK();
}
}
INLINE void CCU6_T12_CM_CC60_Int_Rise_Set(void)
sets Capture, Compare-Match Rising Edge Interrupt flag for Channel 0.
Definition: ccu6.h:3802

◆ CCU6_T12_CM_CC60_Int_Rise_Sts()

INLINE uint8 CCU6_T12_CM_CC60_Int_Rise_Sts ( void  )

reads Capture, Compare-Match Rising Edge Flag Status for Channel 0.

Returns
Capture, Compare-Match Rising Edge Flag Status for Channel 0

Example

This example treats the Capture, Compare-Match Rising Edge Interrupt for Channel 0.

void Example_Function(void)
{
{
CCU6_CH0_CM_R_CALLBACK();
}
}

◆ CCU6_T12_CM_CC61_Int_Fall_Set()

INLINE void CCU6_T12_CM_CC61_Int_Fall_Set ( void  )

sets Capture, Compare-Match Falling Edge Interrupt flag for Channel 1.

Example

This example treats the Capture, Compare-Match Falling Edge Interrupt for Channel 1.

void Example_Function(void)
{
{
CCU6_CH1_CM_F_CALLBACK();
}
}
INLINE void CCU6_T12_CM_CC61_Int_Fall_Set(void)
sets Capture, Compare-Match Falling Edge Interrupt flag for Channel 1.
Definition: ccu6.h:3894

◆ CCU6_T12_CM_CC61_Int_Fall_Sts()

INLINE uint8 CCU6_T12_CM_CC61_Int_Fall_Sts ( void  )

reads Capture, Compare-Match Falling Edge Flag Status for Channel 1.

Returns
Capture, Compare-Match Falling Edge Flag Status for Channel 1

Example

This example treats the Capture, Compare-Match Falling Edge Interrupt for Channel 1.

void Example_Function(void)
{
{
CCU6_CH1_CM_F_CALLBACK();
}
}

◆ CCU6_T12_CM_CC61_Int_Rise_Set()

INLINE void CCU6_T12_CM_CC61_Int_Rise_Set ( void  )

sets Capture, Compare-Match Rising Edge Interrupt flag for Channel 1.

Example

This example treats the Capture, Compare-Match Rising Edge Interrupt for Channel 1.

void Example_Function(void)
{
{
CCU6_CH1_CM_R_CALLBACK();
}
}
INLINE void CCU6_T12_CM_CC61_Int_Rise_Set(void)
sets Capture, Compare-Match Rising Edge Interrupt flag for Channel 1.
Definition: ccu6.h:3825

◆ CCU6_T12_CM_CC61_Int_Rise_Sts()

INLINE uint8 CCU6_T12_CM_CC61_Int_Rise_Sts ( void  )

reads Capture, Compare-Match Rising Edge Flag Status for Channel 1.

Returns
Capture, Compare-Match Rising Edge Flag Status for Channel 1

Example

This example treats the Capture, Compare-Match Rising Edge Interrupt for Channel 1.

void Example_Function(void)
{
{
CCU6_CH1_CM_R_CALLBACK();
}
}

◆ CCU6_T12_CM_CC62_Int_Fall_Set()

INLINE void CCU6_T12_CM_CC62_Int_Fall_Set ( void  )

sets Capture, Compare-Match Falling Edge Interrupt flag for Channel 2.

Example

This example treats the Capture, Compare-Match Falling Edge Interrupt for Channel 2.

void Example_Function(void)
{
{
CCU6_CH2_CM_F_CALLBACK();
}
}
INLINE void CCU6_T12_CM_CC62_Int_Fall_Set(void)
sets Capture, Compare-Match Falling Edge Interrupt flag for Channel 2.
Definition: ccu6.h:3917

◆ CCU6_T12_CM_CC62_Int_Fall_Sts()

INLINE uint8 CCU6_T12_CM_CC62_Int_Fall_Sts ( void  )

reads Capture, Compare-Match Falling Edge Flag Status for Channel 2.

Returns
Capture, Compare-Match Falling Edge Flag Status for Channel 2

Example

This example treats the Capture, Compare-Match Falling Edge Interrupt for Channel 2.

void Example_Function(void)
{
{
CCU6_CH2_CM_F_CALLBACK();
}
}

◆ CCU6_T12_CM_CC62_Int_Rise_Set()

INLINE void CCU6_T12_CM_CC62_Int_Rise_Set ( void  )

sets Capture, Compare-Match Rising Edge Interrupt flag for Channel 2.

Example

This example treats the Capture, Compare-Match Rising Edge Interrupt for Channel 2.

void Example_Function(void)
{
{
CCU6_CH2_CM_R_CALLBACK();
}
}
INLINE void CCU6_T12_CM_CC62_Int_Rise_Set(void)
sets Capture, Compare-Match Rising Edge Interrupt flag for Channel 2.
Definition: ccu6.h:3848

◆ CCU6_T12_CM_CC62_Int_Rise_Sts()

INLINE uint8 CCU6_T12_CM_CC62_Int_Rise_Sts ( void  )

reads Capture, Compare-Match Rising Edge Flag Status for Channel 2.

Returns
Capture, Compare-Match Rising Edge Flag Status for Channel 2

Example

This example treats the Capture, Compare-Match Rising Edge Interrupt for Channel 2.

void Example_Function(void)
{
{
CCU6_CH2_CM_R_CALLBACK();
}
}

◆ CCU6_T12_Cnt()

INLINE void CCU6_T12_Cnt ( void  )

counts 1 step for CCU6 T12 Event.

Example

This example counts 1 step for CCU6 T12 Event (PISEL2 enabled).

void Example_Function(void)
{
}
INLINE void CCU6_T12_Cnt(void)
counts 1 step for CCU6 T12 Event.
Definition: ccu6.h:491
INLINE void CCU6_T12_Cnt_Input_Sel(uint16 iscnt12)
selects Input for T12 Counting.
Definition: ccu6.h:857

◆ CCU6_T12_Cnt_Input_Sel()

INLINE void CCU6_T12_Cnt_Input_Sel ( uint16  iscnt12)

selects Input for T12 Counting.

Parameters
iscnt12input for T12 Counting

Example

This example counts 1 step for CCU6 T12 Event (T12CNT selected).

void Example_Function(void)
{
}

◆ CCU6_T12_Count_Dir_Sts()

INLINE uint8 CCU6_T12_Count_Dir_Sts ( void  )

reads Count Direction of Timer T12 Bit.

Return values
0if T12 counts up.
1if T12 counts down.

Example

This example reads Count Direction of Timer T12 Bit.

void Example_Function(void)
{
uint8 data;
}
INLINE uint8 CCU6_T12_Count_Dir_Sts(void)
reads Count Direction of Timer T12 Bit.
Definition: ccu6.h:2152

◆ CCU6_T12_Count_Value_Get()

INLINE uint16 CCU6_T12_Count_Value_Get ( void  )

reads Timer T12 Counter Value.

Returns
T12 Counter Value

Example

This example reads Timer T12 Counter Value.

void Example_Function(void)
{
uint16 val;
}
INLINE uint16 CCU6_T12_Count_Value_Get(void)
reads Timer T12 Counter Value.
Definition: ccu6.h:1049

◆ CCU6_T12_Count_Value_Set()

INLINE void CCU6_T12_Count_Value_Set ( uint16  t12cv)

sets Timer T12 Counter Value.

Parameters
t12cvT12 Counter Value

Example

This example sets Timer T12 Counter Value to 5000.

void Example_Function(void)
{
}
INLINE void CCU6_T12_Count_Value_Set(uint16 t12cv)
sets Timer T12 Counter Value.
Definition: ccu6.h:1069

◆ CCU6_T12_Edge_Aligned_Mode_En()

INLINE void CCU6_T12_Edge_Aligned_Mode_En ( void  )

enables T12 Operating Edge-aligned Mode.

Example

This example enables T12 Operating Edge-aligned Mode.

void Example_Function(void)
{
}
INLINE void CCU6_T12_Edge_Aligned_Mode_En(void)
enables T12 Operating Edge-aligned Mode.
Definition: ccu6.h:1961

◆ CCU6_T12_Ext_Input_Sel()

INLINE void CCU6_T12_Ext_Input_Sel ( uint16  t12ext)

selects Input of Extension for T12HR.

Parameters
t12extinput of Extension for T12HR

Example

This example selects T12HR_B as Input for T12HR.

void Example_Function(void)
{
}
INLINE void CCU6_T12_Ext_Input_Sel(uint16 t12ext)
selects Input of Extension for T12HR.
Definition: ccu6.h:898
INLINE void CCU6_T12HR_Input_Sel(uint16 ist12hr)
selects Input for T12HR.
Definition: ccu6.h:816

◆ CCU6_T12_Ext_Run_Sel()

INLINE void CCU6_T12_Ext_Run_Sel ( uint16  t12rsel)

selects Timer T12 External Run.

Parameters
t12rselTimer T12 External Run

Example

This example sets Timer T12 External Run to Rising edge.

void Example_Function(void)
{
}
INLINE void CCU6_T12_Ext_Run_Sel(uint16 t12rsel)
selects Timer T12 External Run.
Definition: ccu6.h:2287

◆ CCU6_T12_Int_Node_Sel()

INLINE void CCU6_T12_Int_Node_Sel ( uint16  srx)

selects Interrupt Node Pointer for Timer T12 Interrupts.

Parameters
srxInterrupt Node Pointer for Timer T12 Interrupts, values 0..3

Example

This example selects Interrupt output line SR0 for T12OM and treats the Interrupt for T12 One-Match.

void Example_Function(void)
{
{
CCU6_T12_OM_CALLBACK();
}
}
INLINE void CCU6_T12_OM_Int_En(void)
enables Interrupt for T12 One-Match.
Definition: ccu6.h:4913
INLINE uint8 CCU6_T12_OM_Int_Sts(void)
reads Timer T12 One-Match Flag Status.
Definition: ccu6.h:3565
INLINE void CCU6_T12_Int_Node_Sel(uint16 srx)
selects Interrupt Node Pointer for Timer T12 Interrupts.
Definition: ccu6.h:4263
INLINE void CCU6_T12_OM_Int_Clr(void)
clears Interrupt for T12 One-Match Flag.
Definition: ccu6.h:4467

◆ CCU6_T12_Modulation_Dis()

INLINE void CCU6_T12_Modulation_Dis ( uint16  ccu6_mask)

disables Timer T12 Modulation Configuration

Parameters
ccu6_maskTimer T12 Modulation Configuration

Example

This example disables Timer T12 Modulation of CC60.

void Example_Function(void)
{
}
INLINE void CCU6_T12_Modulation_Dis(uint16 ccu6_mask)
disables Timer T12 Modulation Configuration
Definition: ccu6.h:2344

◆ CCU6_T12_Modulation_En()

INLINE void CCU6_T12_Modulation_En ( uint16  ccu6_mask)

enables Timer T12 Modulation Configuration

Parameters
ccu6_maskTimer T12 Modulation Configuration

Example

This example enables Timer T12 Modulation of CC60.

void Example_Function(void)
{
}
INLINE void CCU6_T12_Modulation_En(uint16 ccu6_mask)
enables Timer T12 Modulation Configuration
Definition: ccu6.h:2325

◆ CCU6_T12_OM_Int_Clr()

INLINE void CCU6_T12_OM_Int_Clr ( void  )

clears Interrupt for T12 One-Match Flag.

Example

This example treats the Interrupt for T12 One-Match.

void Example_Function(void)
{
{
CCU6_T12_OM_CALLBACK();
}
}

◆ CCU6_T12_OM_Int_Dis()

INLINE void CCU6_T12_OM_Int_Dis ( void  )

disables Interrupt for T12 One-Match.

Example

This example treats the Interrupt for T12 One-Match.

void Example_Function(void)
{
{
CCU6_T12_OM_CALLBACK();
}
}
INLINE void CCU6_T12_OM_Int_Dis(void)
disables Interrupt for T12 One-Match.
Definition: ccu6.h:4936

◆ CCU6_T12_OM_Int_En()

INLINE void CCU6_T12_OM_Int_En ( void  )

enables Interrupt for T12 One-Match.

Example

This example treats the Interrupt for T12 One-Match.

void Example_Function(void)
{
{
CCU6_T12_OM_CALLBACK();
}
}

◆ CCU6_T12_OM_Int_Set()

INLINE void CCU6_T12_OM_Int_Set ( void  )

sets Interrupt for T12 One-Match Flag.

Example

This example treats the Interrupt for T12 One-Match.

void Example_Function(void)
{
{
CCU6_T12_OM_CALLBACK();
}
}
INLINE void CCU6_T12_OM_Int_Set(void)
sets Interrupt for T12 One-Match Flag.
Definition: ccu6.h:3940

◆ CCU6_T12_OM_Int_Sts()

INLINE uint8 CCU6_T12_OM_Int_Sts ( void  )

reads Timer T12 One-Match Flag Status.

Returns
Timer T12 One-Match Flag Status

Example

This example treats the Interrupt for T12 One-Match.

void Example_Function(void)
{
{
CCU6_T12_OM_CALLBACK();
}
}

◆ CCU6_T12_Period_Value_Get()

INLINE uint16 CCU6_T12_Period_Value_Get ( void  )

reads Timer T12 Period Value.

Returns
T12 Period Value

Example

This example reads Timer T12 Period Value.

void Example_Function(void)
{
uint16 val;
}
INLINE uint16 CCU6_T12_Period_Value_Get(void)
reads Timer T12 Period Value.
Definition: ccu6.h:1091

◆ CCU6_T12_Period_Value_Set()

INLINE void CCU6_T12_Period_Value_Set ( uint16  t12pr)

sets Timer T12 Period Value.

Parameters
t12prT12 Period Value

Example

This example sets Timer T12 Period Value to 5000.

void Example_Function(void)
{
}
INLINE void CCU6_T12_Period_Value_Set(uint16 t12pr)
sets Timer T12 Period Value.
Definition: ccu6.h:1111

◆ CCU6_T12_PM_Int_Clr()

INLINE void CCU6_T12_PM_Int_Clr ( void  )

clears Interrupt for T12 Period-Match Flag.

Example

This example treats the Interrupt for T12 Period-Match.

void Example_Function(void)
{
{
CCU6_T12_PM_CALLBACK();
}
}
INLINE uint8 CCU6_T12_PM_Int_Sts(void)
reads Timer T12 Period-Match Flag Status.
Definition: ccu6.h:3589
INLINE void CCU6_T12_PM_Int_En(void)
enables Interrupt for T12 Period-Match.
Definition: ccu6.h:4958
INLINE void CCU6_T12_PM_Int_Clr(void)
clears Interrupt for T12 Period-Match Flag.
Definition: ccu6.h:4489

◆ CCU6_T12_PM_Int_Dis()

INLINE void CCU6_T12_PM_Int_Dis ( void  )

disables Interrupt for T12 Period-Match.

Example

This example treats the Interrupt for T12 Period-Match.

void Example_Function(void)
{
{
CCU6_T12_PM_CALLBACK();
}
}
INLINE void CCU6_T12_PM_Int_Dis(void)
disables Interrupt for T12 Period-Match.
Definition: ccu6.h:4981

◆ CCU6_T12_PM_Int_En()

INLINE void CCU6_T12_PM_Int_En ( void  )

enables Interrupt for T12 Period-Match.

Example

This example treats the Interrupt for T12 Period-Match.

void Example_Function(void)
{
{
CCU6_T12_PM_CALLBACK();
}
}

◆ CCU6_T12_PM_Int_Set()

INLINE void CCU6_T12_PM_Int_Set ( void  )

sets Interrupt for T12 Period-Match Flag.

Example

This example treats the Interrupt for T12 Period-Match.

void Example_Function(void)
{
{
CCU6_T12_PM_CALLBACK();
}
}
INLINE void CCU6_T12_PM_Int_Set(void)
sets Interrupt for T12 Period-Match Flag.
Definition: ccu6.h:3963

◆ CCU6_T12_PM_Int_Sts()

INLINE uint8 CCU6_T12_PM_Int_Sts ( void  )

reads Timer T12 Period-Match Flag Status.

Returns
Timer T12 Period-Match Flag Status

Example

This example treats the Interrupt for T12 Period-Match.

void Example_Function(void)
{
{
CCU6_T12_PM_CALLBACK();
}
}

◆ CCU6_T12_Prescaler_Dis()

INLINE void CCU6_T12_Prescaler_Dis ( void  )

disables additional prescaler for Timer T12.

Example

This example disables additional prescaler for Timer T12.

void Example_Function(void)
{
}
INLINE void CCU6_T12_Prescaler_Dis(void)
disables additional prescaler for Timer T12.
Definition: ccu6.h:2052

◆ CCU6_T12_Prescaler_En()

INLINE void CCU6_T12_Prescaler_En ( void  )

enables additional prescaler for Timer T12.

Example

This example enables additional prescaler for Timer T12.

void Example_Function(void)
{
}
INLINE void CCU6_T12_Prescaler_En(void)
enables additional prescaler for Timer T12.
Definition: ccu6.h:2035

◆ CCU6_T12_PWMMode_Set()

INLINE void CCU6_T12_PWMMode_Set ( TCCU6_PWMMode  mode)

sets mode of PWM signal for Channel0/1/2 and COUT0/1/2.

Parameters
modepossible mode that is set to all channels that can be modulated by Timer12

◆ CCU6_T12_Rst()

INLINE void CCU6_T12_Rst ( void  )

resets CCU6 T12.

Example

This example resets CCU6 T12.

void Example_Function(void)
{
}
INLINE void CCU6_T12_Rst(void)
resets CCU6 T12.
Definition: ccu6.h:455

◆ CCU6_T12_Run_Sts()

INLINE uint8 CCU6_T12_Run_Sts ( void  )

reads Timer T12 Run Bit.

Return values
0if Timer T12 is stopped.
1if Timer T12 is running.

Example

This example reads Timer T12 Run Bit.

void Example_Function(void)
{
uint8 data;
data = CCU6_T12_Run_Sts();
}
INLINE uint8 CCU6_T12_Run_Sts(void)
reads Timer T12 Run Bit.
Definition: ccu6.h:2108

◆ CCU6_T12_Single_Shot_Dis()

INLINE void CCU6_T12_Single_Shot_Dis ( void  )

disables Timer T12 Single Shot.

Example

This example disables Timer T12 Single Shot.

void Example_Function(void)
{
}
INLINE void CCU6_T12_Single_Shot_Dis(void)
disables Timer T12 Single Shot.
Definition: ccu6.h:2230

◆ CCU6_T12_Single_Shot_En()

INLINE void CCU6_T12_Single_Shot_En ( void  )

enables Timer T12 Single Shot.

Example

This example enables Timer T12 Single Shot.

void Example_Function(void)
{
}
INLINE void CCU6_T12_Single_Shot_En(void)
enables Timer T12 Single Shot.
Definition: ccu6.h:2213

◆ CCU6_T12_Start()

INLINE void CCU6_T12_Start ( void  )

starts CCU6 T12.

Example

This example starts CCU6 T12.

void Example_Function(void)
{
}

◆ CCU6_T12_Stop()

INLINE void CCU6_T12_Stop ( void  )

stops CCU6 T12.

Example

This example stops CCU6 T12.

void Example_Function(void)
{
}
INLINE void CCU6_T12_Stop(void)
stops CCU6 T12.
Definition: ccu6.h:421

◆ CCU6_T12_Str_Dis()

INLINE void CCU6_T12_Str_Dis ( void  )

disables T12 Shadow Transfer.

Example

This example disables T12 Shadow Transfer.

void Example_Function(void)
{
}
INLINE void CCU6_T12_Str_Dis(void)
disables T12 Shadow Transfer.
Definition: ccu6.h:525

◆ CCU6_T12_Str_En()

INLINE void CCU6_T12_Str_En ( void  )

enables T12 Shadow Transfer.

Example

This example enables T12 Shadow Transfer.

void Example_Function(void)
{
}
INLINE void CCU6_T12_Str_En(void)
enables T12 Shadow Transfer.
Definition: ccu6.h:508

◆ CCU6_T12_Str_Sts()

INLINE uint8 CCU6_T12_Str_Sts ( void  )

reads Timer T12 Shadow Transfer Enable Bit.

Return values
0if The shadow register transfer is disabled.
1if The shadow register transfer is enabled.

Example

This example reads Timer T12 Shadow Transfer Enable Bit.

void Example_Function(void)
{
uint8 data;
data = CCU6_T12_Str_Sts();
}
INLINE uint8 CCU6_T12_Str_Sts(void)
reads Timer T12 Shadow Transfer Enable Bit.
Definition: ccu6.h:2130

◆ CCU6_T12_T13_Str_Dis()

INLINE void CCU6_T12_T13_Str_Dis ( void  )

disables T12 and T13 Shadow Transfer.

Example

This example disables T12 and T13 Shadow Transfer.

void Example_Function(void)
{
}
INLINE void CCU6_T12_T13_Str_Dis(void)
disables T12 and T13 Shadow Transfer.
Definition: ccu6.h:663

◆ CCU6_T12_T13_Str_En()

INLINE void CCU6_T12_T13_Str_En ( void  )

enables T12 and T13 Shadow Transfer.

Example

This example enables T12 and T13 Shadow Transfer.

void Example_Function(void)
{
}
INLINE void CCU6_T12_T13_Str_En(void)
enables T12 and T13 Shadow Transfer.
Definition: ccu6.h:646

◆ CCU6_T12HR_Input_Sel()

INLINE void CCU6_T12HR_Input_Sel ( uint16  ist12hr)

selects Input for T12HR.

Parameters
ist12hrinput for T12HR

Example

This example selects T12HR_B as Input for T12HR.

void Example_Function(void)
{
}

◆ CCU6_T13_Clk_Sel()

INLINE void CCU6_T13_Clk_Sel ( uint16  t13clk)

selects Timer T13 Input Clock.

Parameters
t13clkTimer T13 Input Clock

Example

This example sets Timer T13 Input Clock to fccu/4.

void Example_Function(void)
{
}
INLINE void CCU6_T13_Clk_Sel(uint16 t13clk)
selects Timer T13 Input Clock.
Definition: ccu6.h:2018

◆ CCU6_T13_CM_Int_Clr()

INLINE void CCU6_T13_CM_Int_Clr ( void  )

clears Interrupt for T13 Compare-Match Flag.

Example

This example treats the Interrupt for T13 Compare-Match.

void Example_Function(void)
{
{
CCU6_T13_CM_CALLBACK();
}
}
INLINE uint8 CCU6_T13_CM_Int_Sts(void)
reads Timer T13 Compare-Match Flag Status.
Definition: ccu6.h:3613
INLINE void CCU6_T13_CM_Int_En(void)
enables Interrupt for T13 Compare-Match.
Definition: ccu6.h:5003
INLINE void CCU6_T13_CM_Int_Clr(void)
clears Interrupt for T13 Compare-Match Flag.
Definition: ccu6.h:4511

◆ CCU6_T13_CM_Int_Dis()

INLINE void CCU6_T13_CM_Int_Dis ( void  )

disables Interrupt for T13 Compare-Match.

Example

This example treats the Interrupt for T13 Compare-Match.

void Example_Function(void)
{
{
CCU6_T13_CM_CALLBACK();
}
}
INLINE void CCU6_T13_CM_Int_Dis(void)
disables Interrupt for T13 Compare-Match.
Definition: ccu6.h:5026

◆ CCU6_T13_CM_Int_En()

INLINE void CCU6_T13_CM_Int_En ( void  )

enables Interrupt for T13 Compare-Match.

Example

This example treats the Interrupt for T13 Compare-Match.

void Example_Function(void)
{
{
CCU6_T13_CM_CALLBACK();
}
}

◆ CCU6_T13_CM_Int_Set()

INLINE void CCU6_T13_CM_Int_Set ( void  )

sets Interrupt for T13 Compare-Match Flag.

Example

This example treats the Interrupt for T13 Compare-Match.

void Example_Function(void)
{
{
CCU6_T13_CM_CALLBACK();
}
}
INLINE void CCU6_T13_CM_Int_Set(void)
sets Interrupt for T13 Compare-Match Flag.
Definition: ccu6.h:3986

◆ CCU6_T13_CM_Int_Sts()

INLINE uint8 CCU6_T13_CM_Int_Sts ( void  )

reads Timer T13 Compare-Match Flag Status.

Returns
Timer T13 Compare-Match Flag Status

Example

This example treats the Interrupt for T13 Compare-Match.

void Example_Function(void)
{
{
CCU6_T13_CM_CALLBACK();
}
}

◆ CCU6_T13_Cnt()

INLINE void CCU6_T13_Cnt ( void  )

counts 1 step for CCU6 T13 Event.

Example

This example counts 1 step for CCU6 T13 Event (PISEL2 enabled).

void Example_Function(void)
{
}
INLINE void CCU6_T13_Cnt_Input_Sel(uint16 iscnt13)
selects Input for T13 Counting.
Definition: ccu6.h:878
INLINE void CCU6_T13_Cnt(void)
counts 1 step for CCU6 T13 Event.
Definition: ccu6.h:595

◆ CCU6_T13_Cnt_Input_Sel()

INLINE void CCU6_T13_Cnt_Input_Sel ( uint16  iscnt13)

selects Input for T13 Counting.

Parameters
iscnt13input for T13 Counting

Example

This example counts 1 step for CCU6 T13 Event (T13CNT enabled).

void Example_Function(void)
{
}

◆ CCU6_T13_Compare_Out_Dis()

INLINE void CCU6_T13_Compare_Out_Dis ( void  )

disables Compare Timer T13 Output

Example

This example disables The alternate output function COUT63.

void Example_Function(void)
{
}
INLINE void CCU6_T13_Compare_Out_Dis(void)
disables Compare Timer T13 Output
Definition: ccu6.h:2450

◆ CCU6_T13_Compare_Out_En()

INLINE void CCU6_T13_Compare_Out_En ( void  )

enables Compare Timer T13 Output

Example

This example enables The alternate output function COUT63.

void Example_Function(void)
{
}
INLINE void CCU6_T13_Compare_Out_En(void)
enables Compare Timer T13 Output
Definition: ccu6.h:2433

◆ CCU6_T13_Count_Value_Get()

INLINE uint16 CCU6_T13_Count_Value_Get ( void  )

reads Timer T13 Counter Value.

Returns
T13 Counter Value

Example

This example reads Timer T13 Counter Value.

void Example_Function(void)
{
uint16 val;
}
INLINE uint16 CCU6_T13_Count_Value_Get(void)
reads Timer T13 Counter Value.
Definition: ccu6.h:1460

◆ CCU6_T13_Count_Value_Set()

INLINE void CCU6_T13_Count_Value_Set ( uint16  t13cv)

sets Timer T13 Counter Value.

Parameters
t13cvT13 Counter Value

Example

This example sets Timer T13 Counter Value to 5000.

void Example_Function(void)
{
}
INLINE void CCU6_T13_Count_Value_Set(uint16 t13cv)
sets Timer T13 Counter Value.
Definition: ccu6.h:1479

◆ CCU6_T13_Ext_Input_Sel()

INLINE void CCU6_T13_Ext_Input_Sel ( uint16  t13ext)

selects Input of Extension for T13HR.

Parameters
t13extinput of Extension for T13HR

Example

This example selects T13HR_B as Input for T13HR.

void Example_Function(void)
{
}
INLINE void CCU6_T13HR_Input_Sel(uint16 ist13hr)
selects Input for T13HR.
Definition: ccu6.h:836
INLINE void CCU6_T13_Ext_Input_Sel(uint16 t13ext)
selects Input of Extension for T13HR.
Definition: ccu6.h:918

◆ CCU6_T13_Ext_Run_Sel()

INLINE void CCU6_T13_Ext_Run_Sel ( uint16  t13rsel)

selects Timer T13 External Run.

Parameters
t13rselTimer T13 External Run

Example

This example sets Timer T13 External Run to Rising edge.

void Example_Function(void)
{
}
INLINE void CCU6_T13_Ext_Run_Sel(uint16 t13rsel)
selects Timer T13 External Run.
Definition: ccu6.h:2306

◆ CCU6_T13_Int_Node_Sel()

INLINE void CCU6_T13_Int_Node_Sel ( uint16  srx)

selects Interrupt Node Pointer for Timer T13 Interrupts.

Parameters
srxInterrupt Node Pointer for Timer T13 Interrupts, values 0..3

Example

This example selects Interrupt output line SR0 for T13CM and treats the Interrupt for T13 Compare-Match.

void Example_Function(void)
{
{
CCU6_T13_CM_CALLBACK();
}
}
INLINE void CCU6_T13_Int_Node_Sel(uint16 srx)
selects Interrupt Node Pointer for Timer T13 Interrupts.
Definition: ccu6.h:4288

◆ CCU6_T13_Inv_Mod_Dis()

INLINE void CCU6_T13_Inv_Mod_Dis ( void  )

disables T13 inversion for further modulation.

Example

This example disables T13 inversion.

void Example_Function(void)
{
}
INLINE void CCU6_T13_Inv_Mod_Dis(void)
disables T13 inversion for further modulation.
Definition: ccu6.h:1807

◆ CCU6_T13_Inv_Mod_En()

INLINE void CCU6_T13_Inv_Mod_En ( void  )

enables T13 inversion for further modulation.

Example

This example enables T13 inversion.

void Example_Function(void)
{
}
INLINE void CCU6_T13_Inv_Mod_En(void)
enables T13 inversion for further modulation.
Definition: ccu6.h:1789

◆ CCU6_T13_Modulation_Dis()

INLINE void CCU6_T13_Modulation_Dis ( uint16  ccu6_mask)

disables Timer T13 Modulation Configuration

Parameters
ccu6_maskTimer T13 Modulation Configuration

Example

This example disables Timer T13 Modulation of CC60.

void Example_Function(void)
{
}
INLINE void CCU6_T13_Modulation_Dis(uint16 ccu6_mask)
disables Timer T13 Modulation Configuration
Definition: ccu6.h:2382

◆ CCU6_T13_Modulation_En()

INLINE void CCU6_T13_Modulation_En ( uint16  ccu6_mask)

enables Timer T13 Modulation Configuration

Parameters
ccu6_maskTimer T13 Modulation Configuration

Example

This example enables Timer T13 Modulation of CC60.

void Example_Function(void)
{
}
INLINE void CCU6_T13_Modulation_En(uint16 ccu6_mask)
enables Timer T13 Modulation Configuration
Definition: ccu6.h:2363

◆ CCU6_T13_Period_Value_Get()

INLINE uint16 CCU6_T13_Period_Value_Get ( void  )

reads Timer T13 Period Value.

Returns
T13 Period Value

Example

This example reads Timer T13 Period Value.

void Example_Function(void)
{
uint16 val;
}
INLINE uint16 CCU6_T13_Period_Value_Get(void)
reads Timer T13 Period Value.
Definition: ccu6.h:1500

◆ CCU6_T13_Period_Value_Set()

INLINE void CCU6_T13_Period_Value_Set ( uint16  t13pr)

sets Timer T13 Period Value.

Parameters
t13prT13 Period Value

Example

This example sets Timer T13 Period Value to 5000.

void Example_Function(void)
{
}
INLINE void CCU6_T13_Period_Value_Set(uint16 t13pr)
sets Timer T13 Period Value.
Definition: ccu6.h:1519

◆ CCU6_T13_PM_Int_Clr()

INLINE void CCU6_T13_PM_Int_Clr ( void  )

clears Interrupt for T13 Period-Match Flag.

Example

This example treats the Interrupt for T13 Period-Match.

void Example_Function(void)
{
{
CCU6_T13_PM_CALLBACK();
}
}
INLINE void CCU6_T13_PM_Int_Clr(void)
clears Interrupt for T13 Period-Match Flag.
Definition: ccu6.h:4533
INLINE uint8 CCU6_T13_PM_Int_Sts(void)
reads Timer T13 Period-Match Flag Status.
Definition: ccu6.h:3637
INLINE void CCU6_T13_PM_Int_En(void)
enables Interrupt for T13 Period-Match.
Definition: ccu6.h:5048

◆ CCU6_T13_PM_Int_Dis()

INLINE void CCU6_T13_PM_Int_Dis ( void  )

disables Interrupt for T13 Period-Match.

Example

This example treats the Interrupt for T13 Period-Match.

void Example_Function(void)
{
{
CCU6_T13_PM_CALLBACK();
}
}
INLINE void CCU6_T13_PM_Int_Dis(void)
disables Interrupt for T13 Period-Match.
Definition: ccu6.h:5071

◆ CCU6_T13_PM_Int_En()

INLINE void CCU6_T13_PM_Int_En ( void  )

enables Interrupt for T13 Period-Match.

Example

This example treats the Interrupt for T13 Period-Match.

void Example_Function(void)
{
{
CCU6_T13_PM_CALLBACK();
}
}

◆ CCU6_T13_PM_Int_Set()

INLINE void CCU6_T13_PM_Int_Set ( void  )

sets Interrupt for T13 Period-Match Flag.

Example

This example treats the Interrupt for T13 Period-Match.

void Example_Function(void)
{
{
CCU6_T13_PM_CALLBACK();
}
}
INLINE void CCU6_T13_PM_Int_Set(void)
sets Interrupt for T13 Period-Match Flag.
Definition: ccu6.h:4009

◆ CCU6_T13_PM_Int_Sts()

INLINE uint8 CCU6_T13_PM_Int_Sts ( void  )

reads Timer T13 Period-Match Flag Status.

Returns
Timer T13 Period-Match Flag Status

Example

This example treats the Interrupt for T13 Period-Match.

void Example_Function(void)
{
{
CCU6_T13_PM_CALLBACK();
}
}

◆ CCU6_T13_Prescaler_Dis()

INLINE void CCU6_T13_Prescaler_Dis ( void  )

disables additional prescaler for Timer T13.

Example

This example disables additional prescaler for Timer T13.

void Example_Function(void)
{
}
INLINE void CCU6_T13_Prescaler_Dis(void)
disables additional prescaler for Timer T13.
Definition: ccu6.h:2086

◆ CCU6_T13_Prescaler_En()

INLINE void CCU6_T13_Prescaler_En ( void  )

enables additional prescaler for Timer T13.

Example

This example enables additional prescaler for Timer T13.

void Example_Function(void)
{
}
INLINE void CCU6_T13_Prescaler_En(void)
enables additional prescaler for Timer T13.
Definition: ccu6.h:2069

◆ CCU6_T13_Rst()

INLINE void CCU6_T13_Rst ( void  )

resets CCU6 T13.

Example

This example resets CCU6 T13.

void Example_Function(void)
{
}
INLINE void CCU6_T13_Rst(void)
resets CCU6 T13.
Definition: ccu6.h:576

◆ CCU6_T13_Run_Sts()

INLINE uint8 CCU6_T13_Run_Sts ( void  )

reads Timer T13 Run Bit.

Return values
0if Timer T13 is stopped.
1if Timer T13 is running.

Example

This example reads Timer T13 Run Bit.

void Example_Function(void)
{
uint8 data;
data = CCU6_T13_Run_Sts();
}
INLINE uint8 CCU6_T13_Run_Sts(void)
reads Timer T13 Run Bit.
Definition: ccu6.h:2174

◆ CCU6_T13_Start()

INLINE void CCU6_T13_Start ( void  )

starts CCU6 T13.

Example

This example starts CCU6 T13.

void Example_Function(void)
{
}

◆ CCU6_T13_Stop()

INLINE void CCU6_T13_Stop ( void  )

stops CCU6 T13.

Example

This example stops CCU6 T13.

void Example_Function(void)
{
}
INLINE void CCU6_T13_Stop(void)
stops CCU6 T13.
Definition: ccu6.h:542

◆ CCU6_T13_Str_Dis()

INLINE void CCU6_T13_Str_Dis ( void  )

disables T13 Shadow Transfer.

Example

This example disables T13 Shadow Transfer.

void Example_Function(void)
{
}
INLINE void CCU6_T13_Str_Dis(void)
disables T13 Shadow Transfer.
Definition: ccu6.h:629

◆ CCU6_T13_Str_En()

INLINE void CCU6_T13_Str_En ( void  )

enables T13 Shadow Transfer.

Example

This example enables T13 Shadow Transfer.

void Example_Function(void)
{
}
INLINE void CCU6_T13_Str_En(void)
enables T13 Shadow Transfer.
Definition: ccu6.h:612

◆ CCU6_T13_Str_Sts()

INLINE uint8 CCU6_T13_Str_Sts ( void  )

reads Timer T13 Shadow Transfer Enable Bit.

Return values
0if The shadow register transfer is disabled.
1if The shadow register transfer is enabled.

Example

This example reads Timer T13 Shadow Transfer Enable Bit.

void Example_Function(void)
{
uint8 data;
data = CCU6_T13_Str_Sts();
}
INLINE uint8 CCU6_T13_Str_Sts(void)
reads Timer T13 Shadow Transfer Enable Bit.
Definition: ccu6.h:2196

◆ CCU6_T13_Trig_Event_Dir_Sel()

INLINE void CCU6_T13_Trig_Event_Dir_Sel ( uint16  t13ted)

selects Timer T13 Trigger Event Direction.

Parameters
t13tedTimer T13 Trigger Event Direction

Example

This example sets Timer T13 Trigger Event Direction to Up.

void Example_Function(void)
{
}
INLINE void CCU6_T13_Trig_Event_Dir_Sel(uint16 t13ted)
selects Timer T13 Trigger Event Direction.
Definition: ccu6.h:2268

◆ CCU6_T13_Trig_Event_Sel()

INLINE void CCU6_T13_Trig_Event_Sel ( uint16  t13tec)

selects Timer T13 Trigger Event Control.

Parameters
t13tecTimer T13 Trigger Event Control

Example

This example sets T13R upon a period-match of T12.

void Example_Function(void)
{
}
INLINE void CCU6_T13_Trig_Event_Sel(uint16 t13tec)
selects Timer T13 Trigger Event Control.
Definition: ccu6.h:2249

◆ CCU6_T13HR_Input_Sel()

INLINE void CCU6_T13HR_Input_Sel ( uint16  ist13hr)

selects Input for T13HR.

Parameters
ist13hrinput for T13HR

Example

This example selects T13HR_B as Input for T13HR.

void Example_Function(void)
{
}

◆ CCU6_Trap_Asynch_Exit_En()

INLINE void CCU6_Trap_Asynch_Exit_En ( void  )

enables Trap Immediately without any synchronization to T12 or T13.

Example

This example enables Trap Immediately.

void Example_Function(void)
{
}
INLINE void CCU6_Trap_Asynch_Exit_En(void)
enables Trap Immediately without any synchronization to T12 or T13.
Definition: ccu6.h:2501

◆ CCU6_Trap_Channel_En()

INLINE void CCU6_Trap_Channel_En ( uint16  ccu6_mask)

enables the trap functionality of a corresponding output.

Parameters
ccu6_maskcorresponding output signals

Example

This example enables the trap functionality of COUT60.

void Example_Function(void)
{
}
INLINE void CCU6_Trap_Channel_En(uint16 ccu6_mask)
enables the trap functionality of a corresponding output.
Definition: ccu6.h:2622

◆ CCU6_Trap_Flag_Int_Set()

INLINE void CCU6_Trap_Flag_Int_Set ( void  )

sets Trap Flag.

Example

This example treats the Interrupt for Trap Flag.

void Example_Function(void)
{
{
CCU6_TRAP_CALLBACK();
}
}
INLINE void CCU6_Trap_Flag_Int_Set(void)
sets Trap Flag.
Definition: ccu6.h:4032

◆ CCU6_Trap_Flag_Int_Sts()

INLINE uint8 CCU6_Trap_Flag_Int_Sts ( void  )

reads Trap Flag Status.

Returns
Trap Flag Status

Example

This example treats the Interrupt for Trap Flag.

void Example_Function(void)
{
{
CCU6_TRAP_CALLBACK();
}
}

◆ CCU6_Trap_HW_Clr_En()

INLINE void CCU6_Trap_HW_Clr_En ( void  )

enables Hardware reset of the Trap Mode.

Example

This example enables Hardware reset of the Trap Mode.

void Example_Function(void)
{
}
INLINE void CCU6_Trap_HW_Clr_En(void)
enables Hardware reset of the Trap Mode.
Definition: ccu6.h:2518

◆ CCU6_Trap_Input_Sel()

INLINE void CCU6_Trap_Input_Sel ( uint16  istrp)

selects Input for CTRAP.

Parameters
istrpinput for CTRAP

Example

This example selects CTRAP_1 as Input for CTRAP.

void Example_Function(void)
{
}
INLINE void CCU6_Trap_Input_Sel(uint16 istrp)
selects Input for CTRAP.
Definition: ccu6.h:739

◆ CCU6_TRAP_Int_Clr()

INLINE void CCU6_TRAP_Int_Clr ( void  )

clears Trap Flag.

Example

This example treats the Interrupt for Trap Flag.

void Example_Function(void)
{
{
CCU6_TRAP_CALLBACK();
}
}

◆ CCU6_TRAP_Int_Dis()

INLINE void CCU6_TRAP_Int_Dis ( void  )

disables Interrupt for Trap Flag.

Example

This example treats the Interrupt for Trap Flag.

void Example_Function(void)
{
{
CCU6_TRAP_CALLBACK();
}
}
INLINE void CCU6_TRAP_Int_Dis(void)
disables Interrupt for Trap Flag.
Definition: ccu6.h:5116

◆ CCU6_TRAP_Int_En()

INLINE void CCU6_TRAP_Int_En ( void  )

enables Interrupt for Trap Flag.

Example

This example treats the Interrupt for Trap Flag.

void Example_Function(void)
{
{
CCU6_TRAP_CALLBACK();
}
}

◆ CCU6_Trap_Pin_Dis()

INLINE void CCU6_Trap_Pin_Dis ( void  )

disables the trap functionality based on the input pin CTRAP.

Example

This example disables the trap functionality based on the input pin CTRAP.

void Example_Function(void)
{
}
INLINE void CCU6_Trap_Pin_Dis(void)
disables the trap functionality based on the input pin CTRAP.
Definition: ccu6.h:2603

◆ CCU6_Trap_Pin_En()

INLINE void CCU6_Trap_Pin_En ( void  )

enables the trap functionality based on the input pin CTRAP.

Example

This example enables the trap functionality based on the input pin CTRAP.

void Example_Function(void)
{
}
INLINE void CCU6_Trap_Pin_En(void)
enables the trap functionality based on the input pin CTRAP.
Definition: ccu6.h:2586

◆ CCU6_Trap_State_Int_Sts()

INLINE uint8 CCU6_Trap_State_Int_Sts ( void  )

reads Trap Status.

Returns
Trap Flag Status

Example

This example treats the Interrupt for Trap Flag.

void Example_Function(void)
{
{
CCU6_TRAP_CALLBACK();
}
}
INLINE uint8 CCU6_Trap_State_Int_Sts(void)
reads Trap Status.
Definition: ccu6.h:3685

◆ CCU6_Trap_SW_Clr_En()

INLINE void CCU6_Trap_SW_Clr_En ( void  )

enables Software reset of the Trap Mode.

Example

This example enables Software reset of the Trap Mode.

void Example_Function(void)
{
}
INLINE void CCU6_Trap_SW_Clr_En(void)
enables Software reset of the Trap Mode.
Definition: ccu6.h:2535

◆ CCU6_Trap_SW_Hall_Int_Set()

INLINE void CCU6_Trap_SW_Hall_Int_Set ( void  )

sets Interrupt for Trap SW Hall Event flag.

Example

This example treats the Interrupt for Trap SW Hall Event.

void Example_Function(void)
{
}
INLINE void CCU6_Trap_SW_Hall_Int_Set(void)
sets Interrupt for Trap SW Hall Event flag.
Definition: ccu6.h:4049

◆ CCU6_Trap_T12_ZM_Exit_En()

INLINE void CCU6_Trap_T12_ZM_Exit_En ( void  )

enables T12 zero-match Trap Mode

Example

This example enables T12 zero-match Trap Mode.

void Example_Function(void)
{
}
INLINE void CCU6_Trap_T12_ZM_Exit_En(void)
enables T12 zero-match Trap Mode
Definition: ccu6.h:2467

◆ CCU6_Trap_T13_Dis()

INLINE void CCU6_Trap_T13_Dis ( void  )

disables The trap functionality for T13.

Example

This example disables the trap functionality for T13.

void Example_Function(void)
{
}
INLINE void CCU6_Trap_T13_Dis(void)
disables The trap functionality for T13.
Definition: ccu6.h:2569

◆ CCU6_Trap_T13_En()

INLINE void CCU6_Trap_T13_En ( void  )

enables the trap functionality for T13.

Example

This example enables the trap functionality for T13.

void Example_Function(void)
{
}
INLINE void CCU6_Trap_T13_En(void)
enables the trap functionality for T13.
Definition: ccu6.h:2552

◆ CCU6_Trap_T13_ZM_Exit_En()

INLINE void CCU6_Trap_T13_ZM_Exit_En ( void  )

enables T13 zero-match Trap Mode

Example

This example enables T13 zero-match Trap Mode.

void Example_Function(void)
{
}
INLINE void CCU6_Trap_T13_ZM_Exit_En(void)
enables T13 zero-match Trap Mode
Definition: ccu6.h:2484

◆ CCU6_WHE_Int_Clr()

INLINE void CCU6_WHE_Int_Clr ( void  )

clears Interrupt for Wrong Hall Event flag.

Example

This example treats the Interrupt for Wrong Hall Event.

void Example_Function(void)
{
{
CCU6_WRONG_HALL_CALLBACK();
}
}

◆ CCU6_WHE_Int_Dis()

INLINE void CCU6_WHE_Int_Dis ( void  )

disables Interrupt for Wrong Hall Event.

Example

This example treats the Interrupt for Wrong Hall Event.

void Example_Function(void)
{
{
CCU6_WRONG_HALL_CALLBACK();
}
}
INLINE void CCU6_WHE_Int_Dis(void)
disables Interrupt for Wrong Hall Event.
Definition: ccu6.h:5206

◆ CCU6_WHE_Int_En()

INLINE void CCU6_WHE_Int_En ( void  )

enables Interrupt for Wrong Hall Event.

Example

This example treats the Interrupt for Wrong Hall Event.

void Example_Function(void)
{
{
CCU6_WRONG_HALL_CALLBACK();
}
}

◆ CCU6_WriteMultichannelPatterns()

INLINE void CCU6_WriteMultichannelPatterns ( uint16  Patterns)

Writes Hall and/or PWM patterns for Multi-Channel Mode to shadow register.

Parameters
PatternsHall and/or PWM patterns

Example

This example disables Multi-Channel PWM Pattern Shadow.

void Example_Function(void)
{
}
INLINE void CCU6_WriteMultichannelPatterns(uint16 Patterns)
Writes Hall and/or PWM patterns for Multi-Channel Mode to shadow register.
Definition: ccu6.h:5677