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

Go to the source code of this file.

Detailed Description

General Purpose Timer 12 Encoder low level access library.

Version
V0.2.2
Date
18. Oct 2022

Include Graph

Include dependency graph for gpt12e.h:

Typedefs

typedef enum GPT1_Clk_Prescaler TGPT1_Clk_Prescaler
 
typedef enum GPT12E_CCU6_SEL TGPT12E_CCU6_SEL
 
typedef enum GPT12E_T2IN TGPT12E_T2IN
 
typedef enum GPT12E_T2EUD TGPT12E_T2EUD
 
typedef enum GPT12E_T3IN TGPT12E_T3IN
 
typedef enum GPT12E_T3EUD TGPT12E_T3EUD
 
typedef enum GPT12E_T4IN TGPT12E_T4IN
 
typedef enum GPT12E_T4EUD TGPT12E_T4EUD
 
typedef enum GPT2_Clk_Prescaler TGPT2_Clk_Prescaler
 
typedef enum GPT12E_T5IN TGPT12E_T5IN
 
typedef enum GPT12E_T5EUD TGPT12E_T5EUD
 
typedef enum GPT12E_T6IN TGPT12E_T6IN
 
typedef enum GPT12E_T6EUD TGPT12E_T6EUD
 
typedef enum GPT12E_CAPIN TGPT12E_CAPIN
 
typedef enum GPT12E_Mode_Timer_Prescaler TGPT12E_Mode_Timer_Prescaler
 

Enumerations

enum  GPT1_Clk_Prescaler { GPT1_fSYS_Div_4 = 1u , GPT1_fSYS_Div_8 = 0u , GPT1_fSYS_Div_16 = 3u , GPT1_fSYS_Div_32 = 2u }
 
enum  GPT12E_CCU6_SEL {
  GPT12E_CCU6_CH0 = 0u , GPT12E_CCU6_CH1 = 1u , GPT12E_CCU6_CH2 = 2u , GPT12E_CCU6_T12_ZM = 3u ,
  GPT12E_CCU6_T12_PM = 4u , GPT12E_CCU6_T12_CM_CH0 = 5u , GPT12E_CCU6_T12_CM_CH1 = 6u , GPT12E_CCU6_T12_CM_CH2 = 7u ,
  GPT12E_CCU6_T13_PM = 8u , GPT12E_CCU6_T13_ZM = 9u , GPT12E_CCU6_T13_CM = 10u , GPT12E_CCU6_ANY_CHx = 11u
}
 
enum  GPT12E_T2IN { GPT12E_T2INA_P12 = 0u , GPT12E_T2INB_P14 = 1u }
 
enum  GPT12E_T2EUD { GPT12E_T2EUDA_P02 = 0u , GPT12E_T2EUDB_P24 = 1u }
 
enum  GPT12E_T3IN { GPT12E_T3INA_CCU6_CH0 = 0u , GPT12E_T3INB_CCU6_SEL = 1u , GPT12E_T3INC_P10 = 2u , GPT12E_T3IND_MON = 3u }
 
enum  GPT12E_T3EUD { GPT12E_T3EUDA_P04 = 0u , GPT12E_T3EUDB_P25 = 1u }
 
enum  GPT12E_T4IN { GPT12E_T4INA_P00 = 0u , GPT12E_T4INB_CCU6_CH0 = 1u , GPT12E_T4INC_P01 = 2u , GPT12E_T4IND_CCU6_SEL = 3u }
 
enum  GPT12E_T4EUD { GPT12E_T4EUDA_P03 = 0u , GPT12E_T4EUDB_P10 = 1u }
 
enum  GPT2_Clk_Prescaler { GPT2_fSYS_Div_2 = 1u , GPT2_fSYS_Div_4 = 0u , GPT2_fSYS_Div_8 = 3u , GPT2_fSYS_Div_16 = 2u }
 
enum  GPT12E_T5IN { GPT12E_T5INA_P03 = 0u , GPT12E_T5INB_P20 = 1u }
 
enum  GPT12E_T5EUD { GPT12E_T5EUDA_P14 = 0u , GPT12E_T5EUDB_P20 = 1u }
 
enum  GPT12E_T6IN { GPT12E_T6INA_P02 = 0u , GPT12E_T6INB_P13 = 1u }
 
enum  GPT12E_T6EUD { GPT12E_T6EUDA_P11 = 0u , GPT12E_T6EUDB_P13 = 1u }
 
enum  GPT12E_CAPIN { GPT12E_CAPINA_P01 = 0u , GPT12E_CAPINB_P03 = 1u , GPT12E_CAPINC_T3_READ = 2u , GPT12E_CAPIND_T2_T3_T4_READ = 3u }
 
enum  GPT12E_Mode_Timer_Prescaler {
  GPT_Clk_Div_1 = 0 , GPT_Clk_Div_2 = 1 , GPT_Clk_Div_4 = 2 , GPT_Clk_Div_8 = 3 ,
  GPT_Clk_Div_16 = 4 , GPT_Clk_Div_32 = 5 , GPT_Clk_Div_64 = 6 , GPT_Clk_Div_128 = 7
}
 

Functions

INLINE void GPT12E_GPT1_Clk_Prescaler_Sel (uint16 bps1)
 selects GPT1 Clock Prescaler. More...
 
INLINE uint16 GPT12E_GPT1_Clk_Prescaler_Get (void)
 reads GPT1 Clock Prescaler. More...
 
INLINE void GPT12E_T3_T4_CCU6_Sel (uint8 gpt)
 selects GPT12 TIN3B/TIN4D Input. More...
 
INLINE void GPT12E_T2_Mode_Timer_Sel (void)
 selects T2 Timer Mode. More...
 
INLINE void GPT12E_T2_Mode_Counter_Sel (void)
 selects T2 Counter Mode. More...
 
INLINE void GPT12E_T2_Mode_Gated_Timer_Low_Sel (void)
 selects T2 Gated low Mode. More...
 
INLINE void GPT12E_T2_Mode_Gated_Timer_High_Sel (void)
 selects T2 Gated high Mode. More...
 
INLINE void GPT12E_T2_Mode_Reload_Sel (void)
 selects T2 Reload Mode. More...
 
INLINE void GPT12E_T2_Mode_Capture_Sel (void)
 selects T2 Capture Mode. More...
 
INLINE void GPT12E_T2_Mode_IncEnc_Rot_Sel (void)
 selects T2 Incremental Interface -Rotation Detection- Mode. More...
 
INLINE void GPT12E_T2_Mode_IncEnc_Edge_Sel (void)
 selects T2 Incremental Interface -Edge Detection- Mode. More...
 
INLINE void GPT12E_T2_Mode_Timer_Clk_Prescaler_Sel (uint16 t2i)
 selects T2 Timer Mode Parameter. More...
 
INLINE void GPT12E_T2_Mode_Gated_Timer_Clk_Prescaler_Sel (uint16 t2i)
 selects T2 Gated Timer Mode Parameter. More...
 
INLINE void GPT12E_T2_Mode_Counter_Input_T2In_Sel (void)
 selects T2In as T2 Counter Mode Input. More...
 
INLINE void GPT12E_T2_Mode_Counter_Input_Rising_T2In_En (void)
 enables Rising Edge on T2In as T2 Counter Mode Input. More...
 
INLINE void GPT12E_T2_Mode_Counter_Input_Rising_T2In_Dis (void)
 disables Rising Edge on T2In as T2 Counter Mode Input. More...
 
INLINE void GPT12E_T2_Mode_Counter_Input_Falling_T2In_En (void)
 enables Falling Edge on T2In as T2 Counter Mode Input. More...
 
INLINE void GPT12E_T2_Mode_Counter_Input_Falling_T2In_Dis (void)
 disables Falling Edge on T2In as T2 Counter Mode Input. More...
 
INLINE void GPT12E_T2_Mode_Counter_Input_T3Out_Sel (void)
 selects T3OTL as T2 Counter Mode Input. More...
 
INLINE void GPT12E_T2_Mode_Counter_Input_Rising_T3Out_En (void)
 enables Rising Edge on T3OTL as T2 Counter Mode Input. More...
 
INLINE void GPT12E_T2_Mode_Counter_Input_Rising_T3Out_Dis (void)
 disables Rising Edge on T3OTL as T2 Counter Mode Input. More...
 
INLINE void GPT12E_T2_Mode_Counter_Input_Falling_T3Out_En (void)
 enables Falling Edge on T3OTL as T2 Counter Mode Input. More...
 
INLINE void GPT12E_T2_Mode_Counter_Input_Falling_T3Out_Dis (void)
 disables Falling Edge on T3OTL as T2 Counter Mode Input. More...
 
INLINE void GPT12E_T2_Mode_Capture_Input_T2In_Sel (void)
 selects T2In as T2 Capture Mode Input. More...
 
INLINE void GPT12E_T2_Mode_Capture_Input_Rising_T2In_En (void)
 enables Rising Edge on T2In as T2 Capture Mode Input. More...
 
INLINE void GPT12E_T2_Mode_Capture_Input_Rising_T2In_Dis (void)
 disables Rising Edge on T2In as T2 Capture Mode Input. More...
 
INLINE void GPT12E_T2_Mode_Capture_Input_Falling_T2In_En (void)
 enables Falling Edge on T2In as T2 Capture Mode Input. More...
 
INLINE void GPT12E_T2_Mode_Capture_Input_Falling_T2In_Dis (void)
 disables Falling Edge on T2In as T2 Capture Mode Input. More...
 
INLINE void GPT12E_T2_Mode_Reload_Input_T2In_Sel (void)
 selects T2In as T2 Reload Mode Input. More...
 
INLINE void GPT12E_T2_Mode_Reload_Input_Rising_T2In_En (void)
 enables Rising Edge on T2In as T2 Reload Mode Input. More...
 
INLINE void GPT12E_T2_Mode_Reload_Input_Rising_T2In_Dis (void)
 disables Rising Edge on T2In as T2 Reload Mode Input. More...
 
INLINE void GPT12E_T2_Mode_Reload_Input_Falling_T2In_En (void)
 enables Falling Edge on T2In as T2 Reload Mode Input. More...
 
INLINE void GPT12E_T2_Mode_Reload_Input_Falling_T2In_Dis (void)
 disables Falling Edge on T2In as T2 Reload Mode Input. More...
 
INLINE void GPT12E_T2_Mode_Reload_Input_T3Out_Sel (void)
 selects T3OTL as T2 Reload Mode Input. More...
 
INLINE void GPT12E_T2_Mode_Reload_Input_Rising_T3Out_En (void)
 enables Rising Edge on T3OTL as T2 Reload Mode Input. More...
 
INLINE void GPT12E_T2_Mode_Reload_Input_Rising_T3Out_Dis (void)
 disables Rising Edge on T3OTL as T2 Reload Mode Input. More...
 
INLINE void GPT12E_T2_Mode_Reload_Input_Falling_T3Out_En (void)
 enables Falling Edge on T3OTL as T2 Reload Mode Input. More...
 
INLINE void GPT12E_T2_Mode_Reload_Input_Falling_T3Out_Dis (void)
 disables Falling Edge on T3OTL as T2 Reload Mode Input. More...
 
INLINE void GPT12E_T2_Mode_IncEnc_Input_Sel (void)
 selects T2 Incremental Interface Mode Input. More...
 
INLINE void GPT12E_T2_Mode_IncEnc_Any_T3In_En (void)
 enables Rising or Falling Edge on T3In as T2 Incremental Interface Mode Input. More...
 
INLINE void GPT12E_T2_Mode_IncEnc_Any_T3In_Dis (void)
 disables Rising or Falling Edge on T3In as T2 Incremental Interface Mode Input. More...
 
INLINE void GPT12E_T2_Mode_IncEnc_Any_T3EUD_En (void)
 enables Falling or Falling Edge on T3EUD as T2 Incremental Interface Mode Input. More...
 
INLINE void GPT12E_T2_Mode_IncEnc_Any_T3EUD_Dis (void)
 disables Falling or Falling Edge on T3EUD as T2 Incremental Interface Mode Input. More...
 
INLINE void GPT12E_T2_Start (void)
 starts Timer T2. More...
 
INLINE void GPT12E_T2_Stop (void)
 stops Timer T2. More...
 
INLINE void GPT12E_T2_Start_by_T3_En (void)
 enables controlling Timer T2 by the run bit T3R of core timer T3. More...
 
INLINE void GPT12E_T2_Start_by_T3_Dis (void)
 disables controlling Timer T2 by the run bit T3R of core timer T3. More...
 
INLINE void GPT12E_T2_DownCount_Sel (void)
 selects Timer T2 counts down. More...
 
INLINE void GPT12E_T2_UpCount_Sel (void)
 selects Timer T2 counts up. More...
 
INLINE void GPT12E_T2_UpDownCount_Ext_En (void)
 enables controlling Count direction by external input (T2EUD). More...
 
INLINE void GPT12E_T2_UpDownCount_Ext_Dis (void)
 disables controlling Count direction by external input (T2EUD). More...
 
INLINE void GPT12E_T2_Mode_IncEnc_DownCount_RotDir_Sel (void)
 selects Timer T2 Incremental Interface Rotation Detection Mode counts down. More...
 
INLINE void GPT12E_T2_Mode_IncEnc_UpCount_RotDir_Sel (void)
 selects Timer T2 Incremental Interface Rotation Detection Mode counts up. More...
 
INLINE uint8 GPT12E_T2_Mode_IncEnc_Edge_Detect_Sts (void)
 reads Timer T2 Incremental Interface Edge Detection Counting. More...
 
INLINE void GPT12E_T2_Mode_IncEnc_Edge_Detect_Clr (void)
 clears Timer T2 Incremental Interface Edge Detection Counting. More...
 
INLINE uint8 GPT12E_T2_Mode_IncEnc_Dir_Change_Sts (void)
 reads Timer T2 Incremental Interface Direction Change. More...
 
INLINE void GPT12E_T2_Mode_IncEnc_Dir_Change_Clr (void)
 clears Timer T2 Incremental Interface Direction Change. More...
 
INLINE uint16 GPT12E_T2_Value_Get (void)
 reads Timer T2 Value. More...
 
INLINE void GPT12E_T2_Value_Set (uint16 t2)
 sets Timer T2 Value. More...
 
INLINE void GPT12E_T2_T2In_Sel (uint16 ist2in)
 selects Input for T2IN. More...
 
INLINE void GPT12E_T2_T2EUD_Sel (uint16 ist2eud)
 selects Input for T2EUD. More...
 
INLINE void GPT12E_T3_Mode_Timer_Sel (void)
 selects T3 Timer Mode. More...
 
INLINE void GPT12E_T3_Mode_Counter_Sel (void)
 selects T3 Counter Mode. More...
 
INLINE void GPT12E_T3_Mode_Gated_Timer_Low_Sel (void)
 selects T3 Gated low Mode. More...
 
INLINE void GPT12E_T3_Mode_Gated_Timer_High_Sel (void)
 selects T3 Gated high Mode. More...
 
INLINE void GPT12E_T3_Mode_IncEnc_Rot_Sel (void)
 selects T3 Incremental Interface -Rotation Detection- Mode. More...
 
INLINE void GPT12E_T3_Mode_IncEnc_Edge_Sel (void)
 selects T3 Incremental Interface -Edge Detection- Mode. More...
 
INLINE void GPT12E_T3_Mode_Timer_Clk_Prescaler_Sel (uint16 t3i)
 selects T3 Timer Mode Parameter. More...
 
INLINE void GPT12E_T3_Mode_Gated_Timer_Clk_Prescaler_Sel (uint16 t3i)
 selects T3 Gated Timer Mode Parameter. More...
 
INLINE void GPT12E_T3_Mode_Counter_Input_Rising_T3In_En (void)
 enables Rising Edge on T3In as T3 Counter Mode Input. More...
 
INLINE void GPT12E_T3_Mode_Counter_Input_Rising_T3In_Dis (void)
 disables Rising Edge on T3In as T3 Counter Mode Input. More...
 
INLINE void GPT12E_T3_Mode_Counter_Input_Falling_T3In_En (void)
 enables Falling Edge on T3In as T3 Counter Mode Input. More...
 
INLINE void GPT12E_T3_Mode_Counter_Input_Falling_T3In_Dis (void)
 disables Falling Edge on T3In as T3 Counter Mode Input. More...
 
INLINE void GPT12E_T3_Mode_IncEnc_Any_T3In_En (void)
 enables Rising or Falling Edge on T3In as T3 Incremental Interface Mode Input. More...
 
INLINE void GPT12E_T3_Mode_IncEnc_Any_T3In_Dis (void)
 disables Rising or Falling Edge on T3In as T3 Incremental Interface Mode Input. More...
 
INLINE void GPT12E_T3_Mode_IncEnc_Any_T3EUD_En (void)
 enables Falling or Falling Edge on T3EUD as T3 Incremental Interface Mode Input. More...
 
INLINE void GPT12E_T3_Mode_IncEnc_Any_T3EUD_Dis (void)
 disables Falling or Falling Edge on T3EUD as T3 Incremental Interface Mode Input. More...
 
INLINE void GPT12E_T3_Start (void)
 starts Timer T3. More...
 
INLINE void GPT12E_T3_Stop (void)
 stops Timer T3. More...
 
INLINE void GPT12E_T3_Output_En (void)
 enables Timer T3 Overflow/Underflow Output. More...
 
INLINE void GPT12E_T3_Output_Dis (void)
 disables Timer T3 Overflow/Underflow Output. More...
 
INLINE void GPT12E_T3_Output_Set (void)
 sets Timer T3 Overflow Toggle Latch. More...
 
INLINE void GPT12E_T3_Output_Rst (void)
 clears Timer T3 Overflow Toggle Latch. More...
 
INLINE void GPT12E_T3_DownCount_Sel (void)
 selects Timer T3 counts down. More...
 
INLINE void GPT12E_T3_UpCount_Sel (void)
 selects Timer T3 counts up. More...
 
INLINE void GPT12E_T3_UpDownCount_Ext_En (void)
 enables controlling Count direction by external input (T3EUD). More...
 
INLINE void GPT12E_T3_UpDownCount_Ext_Dis (void)
 disables controlling Count direction by external input (T3EUD). More...
 
INLINE void GPT12E_T3_Mode_IncEnc_DownCount_RotDir_Sel (void)
 selects Timer T3 Incremental Interface Rotation Detection Mode counts down. More...
 
INLINE void GPT12E_T3_Mode_IncEnc_UpCount_RotDir_Sel (void)
 selects Timer T3 Incremental Interface Rotation Detection Mode counts up. More...
 
INLINE uint8 GPT12E_T3_Mode_IncEnc_Edge_Detect_Sts (void)
 reads Timer T3 Incremental Interface Edge Detection Counting. More...
 
INLINE void GPT12E_T3_Mode_IncEnc_Edge_Detect_Clr (void)
 clears Timer T3 Incremental Interface Edge Detection Counting. More...
 
INLINE uint8 GPT12E_T3_Mode_IncEnc_Dir_Change_Sts (void)
 reads Timer T3 Incremental Interface Direction Change. More...
 
INLINE void GPT12E_T3_Mode_IncEnc_Dir_Change_Clr (void)
 clears Timer T3 Incremental Interface Direction Change. More...
 
INLINE uint16 GPT12E_T3_Value_Get (void)
 reads Timer T3 Value. More...
 
INLINE void GPT12E_T3_Value_Set (uint16 t3)
 sets Timer T3 Value. More...
 
INLINE void GPT12E_T3_T3In_Sel (uint16 ist3in)
 selects Input for T3IN. More...
 
INLINE void GPT12E_T3_T3EUD_Sel (uint16 ist3eud)
 selects Input for T3EUD. More...
 
INLINE void GPT12E_T4_Mode_Timer_Sel (void)
 selects T4 Timer Mode. More...
 
INLINE void GPT12E_T4_Mode_Counter_Sel (void)
 selects T4 Counter Mode. More...
 
INLINE void GPT12E_T4_Mode_Gated_Timer_Low_Sel (void)
 selects T4 Gated low Mode. More...
 
INLINE void GPT12E_T4_Mode_Gated_Timer_High_Sel (void)
 selects T4 Gated high Mode. More...
 
INLINE void GPT12E_T4_Mode_Reload_Sel (void)
 selects T4 Reload Mode. More...
 
INLINE void GPT12E_T4_Mode_Capture_Sel (void)
 selects T4 Capture Mode. More...
 
INLINE void GPT12E_T4_Mode_IncEnc_Rot_Sel (void)
 selects T4 Incremental Interface -Rotation Detection- Mode. More...
 
INLINE void GPT12E_T4_Mode_IncEnc_Edge_Sel (void)
 selects T4 Incremental Interface -Edge Detection- Mode. More...
 
INLINE void GPT12E_T4_Mode_Timer_Clk_Prescaler_Sel (uint16 t4i)
 selects T4 Timer Mode Parameter. More...
 
INLINE void GPT12E_T4_Mode_Gated_Timer_Clk_Prescaler_Sel (uint16 t4i)
 selects T4 Gated Timer Mode Parameter. More...
 
INLINE void GPT12E_T4_Mode_Counter_Input_T4In_Sel (void)
 selects T4In as T4 Counter Mode Input. More...
 
INLINE void GPT12E_T4_Mode_Counter_Input_Rising_T4In_En (void)
 enables Rising Edge on T4In as T4 Counter Mode Input. More...
 
INLINE void GPT12E_T4_Mode_Counter_Input_Rising_T4In_Dis (void)
 disables Rising Edge on T4In as T4 Counter Mode Input. More...
 
INLINE void GPT12E_T4_Mode_Counter_Input_Falling_T4In_En (void)
 enables Falling Edge on T4In as T4 Counter Mode Input. More...
 
INLINE void GPT12E_T4_Mode_Counter_Input_Falling_T4In_Dis (void)
 disables Falling Edge on T4In as T4 Counter Mode Input. More...
 
INLINE void GPT12E_T4_Mode_Counter_Input_T3Out_Sel (void)
 selects T3OTL as T4 Counter Mode Input. More...
 
INLINE void GPT12E_T4_Mode_Counter_Input_Rising_T3Out_En (void)
 enables Rising Edge on T3OTL as T4 Counter Mode Input. More...
 
INLINE void GPT12E_T4_Mode_Counter_Input_Rising_T3Out_Dis (void)
 disables Rising Edge on T3OTL as T4 Counter Mode Input. More...
 
INLINE void GPT12E_T4_Mode_Counter_Input_Falling_T3Out_En (void)
 enables Falling Edge on T3OTL as T4 Counter Mode Input. More...
 
INLINE void GPT12E_T4_Mode_Counter_Input_Falling_T3Out_Dis (void)
 disables Falling Edge on T3OTL as T4 Counter Mode Input. More...
 
INLINE void GPT12E_T4_Mode_Capture_Input_T4In_Sel (void)
 selects T4In as T4 Capture Mode Input. More...
 
INLINE void GPT12E_T4_Mode_Capture_Input_Rising_T4In_En (void)
 enables Rising Edge on T4In as T4 Capture Mode Input. More...
 
INLINE void GPT12E_T4_Mode_Capture_Input_Rising_T4In_Dis (void)
 disables Rising Edge on T4In as T4 Capture Mode Input. More...
 
INLINE void GPT12E_T4_Mode_Capture_Input_Falling_T4In_En (void)
 enables Falling Edge on T4In as T4 Capture Mode Input. More...
 
INLINE void GPT12E_T4_Mode_Capture_Input_Falling_T4In_Dis (void)
 disables Falling Edge on T4In as T4 Capture Mode Input. More...
 
INLINE void GPT12E_T4_Mode_Reload_Input_T4In_Sel (void)
 selects T4In as T4 Reload Mode Input. More...
 
INLINE void GPT12E_T4_Mode_Reload_Input_Rising_T4In_En (void)
 enables Rising Edge on T4In as T4 Reload Mode Input. More...
 
INLINE void GPT12E_T4_Mode_Reload_Input_Rising_T4In_Dis (void)
 disables Rising Edge on T4In as T4 Reload Mode Input. More...
 
INLINE void GPT12E_T4_Mode_Reload_Input_Falling_T4In_En (void)
 enables Falling Edge on T4In as T4 Reload Mode Input. More...
 
INLINE void GPT12E_T4_Mode_Reload_Input_Falling_T4In_Dis (void)
 disables Falling Edge on T4In as T4 Reload Mode Input. More...
 
INLINE void GPT12E_T4_Mode_Reload_Input_T3Out_Sel (void)
 selects T3OTL as T4 Reload Mode Input. More...
 
INLINE void GPT12E_T4_Mode_Reload_Input_Rising_T3Out_En (void)
 enables Rising Edge on T3OTL as T4 Reload Mode Input. More...
 
INLINE void GPT12E_T4_Mode_Reload_Input_Rising_T3Out_Dis (void)
 disables Rising Edge on T3OTL as T4 Reload Mode Input. More...
 
INLINE void GPT12E_T4_Mode_Reload_Input_Falling_T3Out_En (void)
 enables Falling Edge on T3OTL as T4 Reload Mode Input. More...
 
INLINE void GPT12E_T4_Mode_Reload_Input_Falling_T3Out_Dis (void)
 disables Falling Edge on T3OTL as T4 Reload Mode Input. More...
 
INLINE void GPT12E_T4_Mode_IncEnc_Any_T3In_En (void)
 enables Rising or Falling Edge on T3In as T4 Incremental Interface Mode Input. More...
 
INLINE void GPT12E_T4_Mode_IncEnc_Any_T3In_Dis (void)
 disables Rising or Falling Edge on T3In as T4 Incremental Interface Mode Input. More...
 
INLINE void GPT12E_T4_Mode_IncEnc_Any_T3EUD_En (void)
 enables Falling or Falling Edge on T3EUD as T4 Incremental Interface Mode Input. More...
 
INLINE void GPT12E_T4_Mode_IncEnc_Any_T3EUD_Dis (void)
 disables Falling or Falling Edge on T3EUD as T4 Incremental Interface Mode Input. More...
 
INLINE void GPT12E_T4_Start (void)
 starts Timer T4. More...
 
INLINE void GPT12E_T4_Stop (void)
 stops Timer T4. More...
 
INLINE void GPT12E_T4_Start_by_T3_En (void)
 enables controlling Timer T4 by the run bit T3R of core timer T3. More...
 
INLINE void GPT12E_T4_Start_by_T3_Dis (void)
 disables controlling Timer T4 by the run bit T3R of core timer T3. More...
 
INLINE void GPT12E_T4_DownCount_Sel (void)
 selects Timer T4 counts down. More...
 
INLINE void GPT12E_T4_UpCount_Sel (void)
 selects Timer T4 counts up. More...
 
INLINE void GPT12E_T4_UpDownCount_Ext_En (void)
 enables controlling Count direction by external input (T4EUD). More...
 
INLINE void GPT12E_T4_UpDownCount_Ext_Dis (void)
 disables controlling Count direction by external input (T4EUD). More...
 
INLINE void GPT12E_T4_Mode_IncEnc_DownCount_RotDir_Sel (void)
 selects Timer T4 Incremental Interface Rotation Detection Mode counts down. More...
 
INLINE void GPT12E_T4_Mode_IncEnc_UpCount_RotDir_Sel (void)
 selects Timer T4 Incremental Interface Rotation Detection Mode counts up. More...
 
INLINE void GPT12E_T4_Clr_T2_En (void)
 Enables the automatic clearing of timer T2 upon a falling edge of the selected T4EUD input. More...
 
INLINE void GPT12E_T4_Clr_T2_Dis (void)
 Disables the automatic clearing of timer T2 upon a falling edge of the selected T4EUD input. More...
 
INLINE void GPT12E_T4_Clr_T3_En (void)
 Enables the automatic clearing of timer T3 upon a falling edge of the selected T4EUD input. More...
 
INLINE void GPT12E_T4_Clr_T3_Dis (void)
 Disables the automatic clearing of timer T3 upon a falling edge of the selected T4EUD input. More...
 
INLINE uint8 GPT12E_T4_Mode_IncEnc_Edge_Detect_Sts (void)
 reads Timer T4 Incremental Interface Edge Detection Counting. More...
 
INLINE void GPT12E_T4_Mode_IncEnc_Edge_Detect_Clr (void)
 clears Timer T4 Incremental Interface Edge Detection Counting. More...
 
INLINE uint8 GPT12E_T4_Mode_IncEnc_Dir_Change_Sts (void)
 reads Timer T4 Incremental Interface Direction Change. More...
 
INLINE void GPT12E_T4_Mode_IncEnc_Dir_Change_Clr (void)
 clears Timer T4 Incremental Interface Direction Change. More...
 
INLINE uint16 GPT12E_T4_Value_Get (void)
 reads Timer T4 Value. More...
 
INLINE void GPT12E_T4_Value_Set (uint16 t4)
 sets Timer T4 Value. More...
 
INLINE void GPT12E_T4_T4In_Sel (uint16 ist4in)
 selects Input for T4IN. More...
 
INLINE void GPT12E_T4_T4EUD_Sel (uint16 ist4eud)
 selects Input for T4EUD. More...
 
INLINE void GPT12E_GPT2_Clk_Prescaler_Sel (uint16 bps2)
 selects GPT2 Block Prescaler. More...
 
INLINE uint16 GPT12E_GPT2_Clk_Prescaler_Get (void)
 reads GPT2 Block Prescaler. More...
 
INLINE void GPT12E_T5_Mode_Timer_Sel (void)
 selects T5 Timer Mode. More...
 
INLINE void GPT12E_T5_Mode_Counter_Sel (void)
 selects T5 Counter Mode. More...
 
INLINE void GPT12E_T5_Mode_Gated_Timer_Low_Sel (void)
 selects T5 Gated low Mode. More...
 
INLINE void GPT12E_T5_Mode_Gated_Timer_High_Sel (void)
 selects T5 Gated high Mode. More...
 
INLINE void GPT12E_T5_Mode_Timer_Clk_Prescaler_Sel (uint16 t5i)
 selects T5 Timer Mode Parameter. More...
 
INLINE void GPT12E_T5_Mode_Gated_Timer_Clk_Prescaler_Sel (uint16 t5i)
 selects T5 Gated Timer Mode Parameter. More...
 
INLINE void GPT12E_T5_Mode_Counter_Input_T5In_Sel (void)
 selects T5In as T5 Counter Mode Input. More...
 
INLINE void GPT12E_T5_Mode_Counter_Input_Rising_T5In_Sel (void)
 selects Rising Edge on T5In as T5 Counter Mode Input. More...
 
INLINE void GPT12E_T5_Mode_Counter_Input_Falling_T5In_Sel (void)
 selects Falling Edge on T5In as T5 Counter Mode Input. More...
 
INLINE void GPT12E_T5_Mode_Counter_Input_Any_T5In_Sel (void)
 selects Any Edge on T5In as T5 Counter Mode Input. More...
 
INLINE void GPT12E_T5_Mode_Counter_Input_T6Out_Sel (void)
 selects T6OTL as T5 Counter Mode Input. More...
 
INLINE void GPT12E_T5_Mode_Counter_Input_Rising_T6Out_En (void)
 enables Rising Edge on T6OTL as T5 Counter Mode Input. More...
 
INLINE void GPT12E_T5_Mode_Counter_Input_Rising_T6Out_Dis (void)
 disables Rising Edge on T6OTL as T5 Counter Mode Input. More...
 
INLINE void GPT12E_T5_Mode_Counter_Input_Falling_T6Out_En (void)
 enables Falling Edge on T6OTL as T5 Counter Mode Input. More...
 
INLINE void GPT12E_T5_Mode_Counter_Input_Falling_T6Out_Dis (void)
 disables Falling Edge on T6OTL as T5 Counter Mode Input. More...
 
INLINE void GPT12E_T5_Capture_En (void)
 enables T5 Capture Mode. More...
 
INLINE void GPT12E_T5_Capture_Dis (void)
 disables T5 Capture Mode. More...
 
INLINE void GPT12E_T5_Capture_Trig_CapIn_Sel (void)
 selects CapIn as T5 Capture Mode Input. More...
 
INLINE void GPT12E_T5_Capture_Trig_Rising_CapIn_En (void)
 enables Rising Edge on CapIn as T5 Capture Mode Input. More...
 
INLINE void GPT12E_T5_Capture_Trig_Rising_CapIn_Dis (void)
 disables Rising Edge on CapIn as T5 Capture Mode Input. More...
 
INLINE void GPT12E_T5_Capture_Trig_Falling_CapIn_En (void)
 enables Falling Edge on CapIn as T5 Capture Mode Input. More...
 
INLINE void GPT12E_T5_Capture_Trig_Falling_CapIn_Dis (void)
 disables Falling Edge on CapIn as T5 Capture Mode Input. More...
 
INLINE void GPT12E_T5_Capture_Trig_T3In_T3EUD_Sel (void)
 selects T3In and/or T3EUD as T5 Capture Mode Input. More...
 
INLINE void GPT12E_T5_Capture_Trig_Any_T3In_En (void)
 enables Any Edge on T3In as T5 Capture Mode Input. More...
 
INLINE void GPT12E_T5_Capture_Trig_Any_T3In_Dis (void)
 disables Any Edge on T3In as T5 Capture Mode Input. More...
 
INLINE void GPT12E_T5_Capture_Trig_Any_T3EUD_En (void)
 enables Any Edge on T3EUD as T5 Capture Mode Input. More...
 
INLINE void GPT12E_T5_Capture_Trig_Any_T3EUD_Dis (void)
 disables Any Edge on T3EUD as T5 Capture Mode Input. More...
 
INLINE void GPT12E_T5_Cleared_On_Capture_En (void)
 enables clearing T5 on a Capture Event. More...
 
INLINE void GPT12E_T5_Cleared_On_Capture_Dis (void)
 disables clearing T5 on a Capture Event. More...
 
INLINE uint16 GPT12E_T5_Capture_Value_Get (void)
 reads Current T5 Capture Value. More...
 
INLINE void GPT12E_T5_Start (void)
 starts Timer T5. More...
 
INLINE void GPT12E_T5_Stop (void)
 stops Timer T5. More...
 
INLINE void GPT12E_T5_Start_by_T6_Dis (void)
 disables controlling Timer T5 by the run bit T6R of core timer T6. More...
 
INLINE void GPT12E_T5_Start_by_T6_En (void)
 enables controlling Timer T5 by the run bit T6R of core timer T6. More...
 
INLINE void GPT12E_T5_DownCount_Sel (void)
 selects Timer T5 counts down. More...
 
INLINE void GPT12E_T5_UpCount_Sel (void)
 selects Timer T5 counts up. More...
 
INLINE void GPT12E_T5_UpDownCount_Ext_En (void)
 enables controlling Count direction by external input (T5EUD). More...
 
INLINE void GPT12E_T5_UpDownCount_Ext_Dis (void)
 disables controlling Count direction by external input (T5EUD). More...
 
INLINE uint16 GPT12E_T5_Value_Get (void)
 reads Timer T5 Value. More...
 
INLINE void GPT12E_T5_Value_Set (uint16 t5)
 sets Timer T5 Value. More...
 
INLINE void GPT12E_T5_T5In_Sel (uint16 ist5in)
 selects Input for T2IN. More...
 
INLINE void GPT12E_T5_T5EUD_Sel (uint16 ist5eud)
 selects Input for T5EUD. More...
 
INLINE void GPT12E_T6_Mode_Timer_Sel (void)
 selects T6 Timer Mode. More...
 
INLINE void GPT12E_T6_Mode_Counter_Sel (void)
 selects T6 Counter Mode. More...
 
INLINE void GPT12E_T6_Mode_Gated_Timer_Low_Sel (void)
 selects T6 Gated low Mode. More...
 
INLINE void GPT12E_T6_Mode_Gated_Timer_High_Sel (void)
 selects T6 Gated high Mode. More...
 
INLINE void GPT12E_T6_Mode_Timer_Clk_Prescaler_Sel (uint16 t6i)
 selects T6 Timer Mode Parameter. More...
 
INLINE void GPT12E_T6_Mode_Gated_Timer_Clk_Prescaler_Sel (uint16 t6i)
 selects T6 Gated Timer Mode Parameter. More...
 
INLINE void GPT12E_T6_Mode_Counter_Input_T6In_Sel (void)
 selects T6In as T6 Counter Mode Input. More...
 
INLINE void GPT12E_T6_Mode_Counter_Input_Rising_T6In_Sel (void)
 selects Rising Edge on T6In as T6 Counter Mode Input. More...
 
INLINE void GPT12E_T6_Mode_Counter_Input_Falling_T6In_Sel (void)
 selects Falling Edge on T6In as T6 Counter Mode Input. More...
 
INLINE void GPT12E_T6_Mode_Counter_Input_Any_T6In_Sel (void)
 selects Any Edge on T6In as T6 Counter Mode Input. More...
 
INLINE void GPT12E_T6_Reload_En (void)
 enables T6 Reload Mode. More...
 
INLINE void GPT12E_T6_Reload_Dis (void)
 disables T6 Reload Mode. More...
 
INLINE void GPT12E_T6_Reload_Value_Set (uint16 rl)
 sets Current T6 Reload Value. More...
 
INLINE void GPT12E_T6_On_Capture_Cleared_En (void)
 enables clearing T6 on a Capture Event. More...
 
INLINE void GPT12E_T6_On_Capture_Cleared_Dis (void)
 disables clearing T6 on a Capture Event. More...
 
INLINE void GPT12E_T6_Start (void)
 starts Timer T6. More...
 
INLINE void GPT12E_T6_Stop (void)
 stops Timer T6. More...
 
INLINE void GPT12E_T6_Output_En (void)
 enables Timer T6 Overflow/Underflow Output. More...
 
INLINE void GPT12E_T6_Output_Dis (void)
 disables Timer T6 Overflow/Underflow Output. More...
 
INLINE void GPT12E_T6_Output_Set (void)
 sets Timer T6 Overflow Toggle Latch. More...
 
INLINE void GPT12E_T6_Output_Rst (void)
 clears Timer T6 Overflow Toggle Latch. More...
 
INLINE void GPT12E_T6_DownCount_Sel (void)
 selects Timer T6 counts down. More...
 
INLINE void GPT12E_T6_UpCount_Sel (void)
 selects Timer T6 counts up. More...
 
INLINE void GPT12E_T6_UpDownCount_Ext_En (void)
 enables controlling Count direction by external input (T6EUD). More...
 
INLINE void GPT12E_T6_UpDownCount_Ext_Dis (void)
 disables controlling Count direction by external input (T6EUD). More...
 
INLINE uint16 GPT12E_T6_Value_Get (void)
 reads Timer T6 Value. More...
 
INLINE void GPT12E_T6_Value_Set (uint16 t6)
 sets Timer T6 Value. More...
 
INLINE void GPT12E_T6_T6In_Sel (uint16 ist6in)
 selects Input for T6IN. More...
 
INLINE void GPT12E_T6_T6EUD_Sel (uint16 ist6eud)
 selects Input for T6EUD. More...
 
INLINE void GPT12E_CapRel_CAPIn_Sel (uint16 iscapin)
 selects CAPIN. More...
 
INLINE uint8 GPT12E_T2_Int_Sts (void)
 reads GPT Module 1 Timer 2 interrupt Status. More...
 
INLINE uint8 GPT12E_T3_Int_Sts (void)
 reads GPT Module 1 Timer 3 interrupt Status. More...
 
INLINE uint8 GPT12E_T4_Int_Sts (void)
 reads GPT Module 1 Timer 4 interrupt Status. More...
 
INLINE uint8 GPT12E_T5_Int_Sts (void)
 reads GPT Module 2 Timer 5 interrupt Status. More...
 
INLINE uint8 GPT12E_T6_Int_Sts (void)
 reads GPT Module 2 Timer 6 interrupt Status. More...
 
INLINE uint8 GPT12E_CapRel_Int_Sts (void)
 reads GPT Module 1 Capture Reload interrupt Status. More...
 
INLINE void GPT12E_T2_Int_Clr (void)
 clears GPT Module 1 Timer 2 interrupt flag. More...
 
INLINE void GPT12E_T3_Int_Clr (void)
 clears GPT Module 1 Timer 3 interrupt flag. More...
 
INLINE void GPT12E_T4_Int_Clr (void)
 clears GPT Module 1 Timer 4 interrupt flag. More...
 
INLINE void GPT12E_T5_Int_Clr (void)
 clears GPT Module 2 Timer 5 interrupt flag. More...
 
INLINE void GPT12E_T6_Int_Clr (void)
 clears GPT Module 2 Timer 6 interrupt flag. More...
 
INLINE void GPT12E_CapRel_Int_Clr (void)
 clears GPT Module 1 Capture Reload interrupt flag. More...
 
INLINE void GPT12E_T2_Int_En (void)
 enables GPT Module 1 Timer 2 interrupt. More...
 
INLINE void GPT12E_T2_Int_Dis (void)
 disables GPT Module 1 Timer 2 interrupt. More...
 
INLINE void GPT12E_T3_Int_En (void)
 enables GPT Module 1 Timer 3 interrupt. More...
 
INLINE void GPT12E_T3_Int_Dis (void)
 disables GPT Module 1 Timer 3 interrupt. More...
 
INLINE void GPT12E_T4_Int_En (void)
 enables GPT Module 1 Timer 4 interrupt. More...
 
INLINE void GPT12E_T4_Int_Dis (void)
 enables GPT Module 1 Timer 4 interrupt. More...
 
INLINE void GPT12E_T5_Int_En (void)
 enables GPT Module 2 Timer 5 interrupt. More...
 
INLINE void GPT12E_T5_Int_Dis (void)
 disables GPT Module 2 Timer 5 interrupt. More...
 
INLINE void GPT12E_T6_Int_En (void)
 enables GPT Module 2 Timer 6 interrupt. More...
 
INLINE void GPT12E_T6_Int_Dis (void)
 disables GPT Module 2 Timer 6 interrupt. More...
 
INLINE void GPT12E_CapRel_Int_En (void)
 enables GPT Module 1 Capture Reload interrupt. More...
 
INLINE void GPT12E_CapRel_Int_Dis (void)
 disables GPT Module 1 Capture Reload interrupt. More...
 
void GPT12E_Init (void)
 Initializes the GPT12E module based on the Config Wizard for MOTIX MCU configuration. More...
 
bool GPT12E_T3_Interval_Timer_Setup (uint32 timer_interval_us)
 Initializes the T3 to be reloaded by T2. More...
 
bool GPT12E_T6_Interval_Timer_Setup (uint32 timer_interval_us)
 Initializes the T6 to be reloaded by CAPREL. More...
 

Typedef Documentation

◆ TGPT12E_CAPIN

◆ TGPT12E_CCU6_SEL

◆ TGPT12E_Mode_Timer_Prescaler

◆ TGPT12E_T2EUD

◆ TGPT12E_T2IN

typedef enum GPT12E_T2IN TGPT12E_T2IN

◆ TGPT12E_T3EUD

◆ TGPT12E_T3IN

typedef enum GPT12E_T3IN TGPT12E_T3IN

◆ TGPT12E_T4EUD

◆ TGPT12E_T4IN

typedef enum GPT12E_T4IN TGPT12E_T4IN

◆ TGPT12E_T5EUD

◆ TGPT12E_T5IN

typedef enum GPT12E_T5IN TGPT12E_T5IN

◆ TGPT12E_T6EUD

◆ TGPT12E_T6IN

typedef enum GPT12E_T6IN TGPT12E_T6IN

◆ TGPT1_Clk_Prescaler

◆ TGPT2_Clk_Prescaler

Enumeration Type Documentation

◆ GPT12E_CAPIN

Enumerator
GPT12E_CAPINA_P01 

The input pin for CAPINA

GPT12E_CAPINB_P03 

The input pin for CAPINB

GPT12E_CAPINC_T3_READ 

The input pin for CAPINC

GPT12E_CAPIND_T2_T3_T4_READ 

The input pin for CAPIND

◆ GPT12E_CCU6_SEL

Enumerator
GPT12E_CCU6_CH0 

GPT12 TIN3B/TIN4D Input Select: CC60

GPT12E_CCU6_CH1 

GPT12 TIN3B/TIN4D Input Select: CC61

GPT12E_CCU6_CH2 

GPT12 TIN3B/TIN4D Input Select: CC62

GPT12E_CCU6_T12_ZM 

GPT12 TIN3B/TIN4D Input Select: T12 ZM

GPT12E_CCU6_T12_PM 

GPT12 TIN3B/TIN4D Input Select: T12 PM

GPT12E_CCU6_T12_CM_CH0 

GPT12 TIN3B/TIN4D Input Select: T12 CM0

GPT12E_CCU6_T12_CM_CH1 

GPT12 TIN3B/TIN4D Input Select: T12 CM1

GPT12E_CCU6_T12_CM_CH2 

GPT12 TIN3B/TIN4D Input Select: T12 CM2

GPT12E_CCU6_T13_PM 

GPT12 TIN3B/TIN4D Input Select: T13 PM

GPT12E_CCU6_T13_ZM 

GPT12 TIN3B/TIN4D Input Select: T13 ZM

GPT12E_CCU6_T13_CM 

GPT12 TIN3B/TIN4D Input Select: T13 CM

GPT12E_CCU6_ANY_CHx 

GPT12 TIN3B/TIN4D Input Select: Any Edge on CC60/61/62

◆ GPT12E_Mode_Timer_Prescaler

Enumerator
GPT_Clk_Div_1 

GPT12E Timer Input Clock Select: fCCU

GPT_Clk_Div_2 

GPT12E Timer Input Clock Select: fCCU/2

GPT_Clk_Div_4 

GPT12E Timer Input Clock Select: fCCU/4

GPT_Clk_Div_8 

GPT12E Timer Input Clock Select: fCCU/8

GPT_Clk_Div_16 

GPT12E Timer Input Clock Select: fCCU/16

GPT_Clk_Div_32 

GPT12E Timer Input Clock Select: fCCU/32

GPT_Clk_Div_64 

GPT12E Timer Input Clock Select: fCCU/64

GPT_Clk_Div_128 

GPT12E Timer Input Clock Select: fCCU/128

◆ GPT12E_T2EUD

Enumerator
GPT12E_T2EUDA_P02 

The input pin for T2EUDA

GPT12E_T2EUDB_P24 

The input pin for T2EUDB

◆ GPT12E_T2IN

Enumerator
GPT12E_T2INA_P12 

The input pin for T2INA

GPT12E_T2INB_P14 

The input pin for T2INB

◆ GPT12E_T3EUD

Enumerator
GPT12E_T3EUDA_P04 

The input pin for T3EUDA

GPT12E_T3EUDB_P25 

The input pin for T3EUDB

◆ GPT12E_T3IN

Enumerator
GPT12E_T3INA_CCU6_CH0 

The input pin for T3INA

GPT12E_T3INB_CCU6_SEL 

The input pin for T3INB

GPT12E_T3INC_P10 

The input pin for T3INC

GPT12E_T3IND_MON 

The input pin for T3IND

◆ GPT12E_T4EUD

Enumerator
GPT12E_T4EUDA_P03 

The input pin for T4EUDA

GPT12E_T4EUDB_P10 

The input pin for T4EUDB

◆ GPT12E_T4IN

Enumerator
GPT12E_T4INA_P00 

The input pin for T4INA

GPT12E_T4INB_CCU6_CH0 

The input pin for T4INB

GPT12E_T4INC_P01 

The input pin for T4INC

GPT12E_T4IND_CCU6_SEL 

The input pin for T4IND

◆ GPT12E_T5EUD

Enumerator
GPT12E_T5EUDA_P14 

The input pin for T5EUDA

GPT12E_T5EUDB_P20 

The input pin for T5EUDB

◆ GPT12E_T5IN

Enumerator
GPT12E_T5INA_P03 

The input pin for T5INA

GPT12E_T5INB_P20 

The input pin for T5INB

◆ GPT12E_T6EUD

Enumerator
GPT12E_T6EUDA_P11 

The input pin for T6EUDA

GPT12E_T6EUDB_P13 

The input pin for T6EUDB

◆ GPT12E_T6IN

Enumerator
GPT12E_T6INA_P02 

The input pin for T6INA

GPT12E_T6INB_P13 

The input pin for T6INB

◆ GPT1_Clk_Prescaler

Enumerator
GPT1_fSYS_Div_4 

GPT1 Timer Input Clock Select: fGPT/4

GPT1_fSYS_Div_8 

GPT1 Timer Input Clock Select: fGPT/8

GPT1_fSYS_Div_16 

GPT1 Timer Input Clock Select: fGPT/16

GPT1_fSYS_Div_32 

GPT1 Timer Input Clock Select: fGPT/32

◆ GPT2_Clk_Prescaler

Enumerator
GPT2_fSYS_Div_2 

GPT2 Timer Input Clock Select: fGPT/2

GPT2_fSYS_Div_4 

GPT2 Timer Input Clock Select: fGPT/4

GPT2_fSYS_Div_8 

GPT2 Timer Input Clock Select: fGPT/8

GPT2_fSYS_Div_16 

GPT2 Timer Input Clock Select: fGPT/16

Function Documentation

◆ GPT12E_CapRel_CAPIn_Sel()

INLINE void GPT12E_CapRel_CAPIn_Sel ( uint16  iscapin)

selects CAPIN.

Parameters
iscapinInput Select for CAPIN

Example

This example enables Falling Edge on CAPINB as T5 Capture Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T5_Capture_En(void)
enables T5 Capture Mode.
Definition: gpt12e.h:3510
INLINE void GPT12E_CapRel_CAPIn_Sel(uint16 iscapin)
selects CAPIN.
Definition: gpt12e.h:4551
INLINE void GPT12E_T5_Capture_Trig_Falling_CapIn_En(void)
enables Falling Edge on CapIn as T5 Capture Mode Input.
Definition: gpt12e.h:3602
INLINE void GPT12E_T5_Capture_Trig_CapIn_Sel(void)
selects CapIn as T5 Capture Mode Input.
Definition: gpt12e.h:3545

◆ GPT12E_CapRel_Int_Clr()

INLINE void GPT12E_CapRel_Int_Clr ( void  )

clears GPT Module 1 Capture Reload interrupt flag.

Example

This example treats the GPT Module 1 Capture Reload interrupt.

void Example_Function(void)
{
{
GPT2_CAPREL_CALLBACK();
}
}
INLINE void GPT12E_CapRel_Int_Clr(void)
clears GPT Module 1 Capture Reload interrupt flag.
Definition: gpt12e.h:4837
INLINE uint8 GPT12E_CapRel_Int_Sts(void)
reads GPT Module 1 Capture Reload interrupt Status.
Definition: gpt12e.h:4698
INLINE void GPT12E_CapRel_Int_Dis(void)
disables GPT Module 1 Capture Reload interrupt.
Definition: gpt12e.h:5113
INLINE void GPT12E_CapRel_Int_En(void)
enables GPT Module 1 Capture Reload interrupt.
Definition: gpt12e.h:5090
uint8_t uint8
8 bit unsigned value
Definition: types.h:153

◆ GPT12E_CapRel_Int_Dis()

INLINE void GPT12E_CapRel_Int_Dis ( void  )

disables GPT Module 1 Capture Reload interrupt.

Example

This example treats the GPT Module 1 Capture Reload interrupt.

void Example_Function(void)
{
{
GPT2_CAPREL_CALLBACK();
}
}

◆ GPT12E_CapRel_Int_En()

INLINE void GPT12E_CapRel_Int_En ( void  )

enables GPT Module 1 Capture Reload interrupt.

Example

This example treats the GPT Module 1 Capture Reload interrupt.

void Example_Function(void)
{
{
GPT2_CAPREL_CALLBACK();
}
}

◆ GPT12E_CapRel_Int_Sts()

INLINE uint8 GPT12E_CapRel_Int_Sts ( void  )

reads GPT Module 1 Capture Reload interrupt Status.

Returns
Capture Reload interrupt Status

Example

This example checks the GPT Module 1 Capture Reload interrupt Status and clears it.

void Example_Function(void)
{
{
}
}

◆ GPT12E_GPT1_Clk_Prescaler_Get()

INLINE uint16 GPT12E_GPT1_Clk_Prescaler_Get ( void  )

reads GPT1 Clock Prescaler.

Returns
GPT1 clock prescaler

Example

This example reads clock for block GPT1.

void Example_Function(void)
{
uint16 pres;
}
INLINE uint16 GPT12E_GPT1_Clk_Prescaler_Get(void)
reads GPT1 Clock Prescaler.
Definition: gpt12e.h:301
uint16_t uint16
16 bit unsigned value
Definition: types.h:154

◆ GPT12E_GPT1_Clk_Prescaler_Sel()

INLINE void GPT12E_GPT1_Clk_Prescaler_Sel ( uint16  bps1)

selects GPT1 Clock Prescaler.

Parameters
bps1GPT1 clock prescaler

Example

This example sets clock for block GPT1 to fGPT/4.

void Example_Function(void)
{
}
INLINE void GPT12E_GPT1_Clk_Prescaler_Sel(uint16 bps1)
selects GPT1 Clock Prescaler.
Definition: gpt12e.h:280

◆ GPT12E_GPT2_Clk_Prescaler_Get()

INLINE uint16 GPT12E_GPT2_Clk_Prescaler_Get ( void  )

reads GPT2 Block Prescaler.

Returns
GPT2 Block Prescaler

Example

This example reads clock for block GPT2.

void Example_Function(void)
{
uint16 pres;
}
INLINE uint16 GPT12E_GPT2_Clk_Prescaler_Get(void)
reads GPT2 Block Prescaler.
Definition: gpt12e.h:3220

◆ GPT12E_GPT2_Clk_Prescaler_Sel()

INLINE void GPT12E_GPT2_Clk_Prescaler_Sel ( uint16  bps2)

selects GPT2 Block Prescaler.

Parameters
bps2GPT2 Clock Prescaler

Example

This example sets clock for block GPT2 to fGPT/2.

void Example_Function(void)
{
}
INLINE void GPT12E_GPT2_Clk_Prescaler_Sel(uint16 bps2)
selects GPT2 Block Prescaler.
Definition: gpt12e.h:3199

◆ GPT12E_Init()

void GPT12E_Init ( void  )

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

◆ GPT12E_T2_DownCount_Sel()

INLINE void GPT12E_T2_DownCount_Sel ( void  )

selects Timer T2 counts down.

Example

This example selects Timer T2 counts down (internally).

void Example_Function(void)
{
}
INLINE void GPT12E_T2_DownCount_Sel(void)
selects Timer T2 counts down.
Definition: gpt12e.h:1129
INLINE void GPT12E_T2_UpDownCount_Ext_Dis(void)
disables controlling Count direction by external input (T2EUD).
Definition: gpt12e.h:1182

◆ GPT12E_T2_Int_Clr()

INLINE void GPT12E_T2_Int_Clr ( void  )

clears GPT Module 1 Timer 2 interrupt flag.

Example

This example treats the GPT Module 1 Timer 2 interrupt.

void Example_Function(void)
{
if (GPT12E_T2_Int_Sts() == (uint8)1)
{
GPT1_T2_CALLBACK();
}
}
INLINE void GPT12E_T2_Int_En(void)
enables GPT Module 1 Timer 2 interrupt.
Definition: gpt12e.h:4860
INLINE uint8 GPT12E_T2_Int_Sts(void)
reads GPT Module 1 Timer 2 interrupt Status.
Definition: gpt12e.h:4578
INLINE void GPT12E_T2_Int_Clr(void)
clears GPT Module 1 Timer 2 interrupt flag.
Definition: gpt12e.h:4722
INLINE void GPT12E_T2_Int_Dis(void)
disables GPT Module 1 Timer 2 interrupt.
Definition: gpt12e.h:4883

◆ GPT12E_T2_Int_Dis()

INLINE void GPT12E_T2_Int_Dis ( void  )

disables GPT Module 1 Timer 2 interrupt.

Example

This example treats the GPT Module 1 Timer 2 interrupt.

void Example_Function(void)
{
if (GPT12E_T2_Int_Sts() == (uint8)1)
{
GPT1_T2_CALLBACK();
}
}

◆ GPT12E_T2_Int_En()

INLINE void GPT12E_T2_Int_En ( void  )

enables GPT Module 1 Timer 2 interrupt.

Example

This example treats the GPT Module 1 Timer 2 interrupt.

void Example_Function(void)
{
if (GPT12E_T2_Int_Sts() == (uint8)1)
{
GPT1_T2_CALLBACK();
}
}

◆ GPT12E_T2_Int_Sts()

INLINE uint8 GPT12E_T2_Int_Sts ( void  )

reads GPT Module 1 Timer 2 interrupt Status.

Returns
T2 interrupt Status

Example

This example checks the GPT Module 1 Timer 2 interrupt Status and clears it.

void Example_Function(void)
{
if (GPT12E_T2_Int_Sts() == (uint8)1)
{
}
}

◆ GPT12E_T2_Mode_Capture_Input_Falling_T2In_Dis()

INLINE void GPT12E_T2_Mode_Capture_Input_Falling_T2In_Dis ( void  )

disables Falling Edge on T2In as T2 Capture Mode Input.

Example

This example disables Falling Edge on T2In as T2 Capture Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_Mode_Capture_Input_Falling_T2In_Dis(void)
disables Falling Edge on T2In as T2 Capture Mode Input.
Definition: gpt12e.h:769
INLINE void GPT12E_T2_Mode_Capture_Sel(void)
selects T2 Capture Mode.
Definition: gpt12e.h:425

◆ GPT12E_T2_Mode_Capture_Input_Falling_T2In_En()

INLINE void GPT12E_T2_Mode_Capture_Input_Falling_T2In_En ( void  )

enables Falling Edge on T2In as T2 Capture Mode Input.

Example

This example enables Falling Edge on T2In as T2 Capture Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_Mode_Capture_Input_Falling_T2In_En(void)
enables Falling Edge on T2In as T2 Capture Mode Input.
Definition: gpt12e.h:751

◆ GPT12E_T2_Mode_Capture_Input_Rising_T2In_Dis()

INLINE void GPT12E_T2_Mode_Capture_Input_Rising_T2In_Dis ( void  )

disables Rising Edge on T2In as T2 Capture Mode Input.

Example

This example disables Rising Edge on T2In as T2 Capture Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_Mode_Capture_Input_Rising_T2In_Dis(void)
disables Rising Edge on T2In as T2 Capture Mode Input.
Definition: gpt12e.h:733

◆ GPT12E_T2_Mode_Capture_Input_Rising_T2In_En()

INLINE void GPT12E_T2_Mode_Capture_Input_Rising_T2In_En ( void  )

enables Rising Edge on T2In as T2 Capture Mode Input.

Example

This example enables Rising Edge on T2In as T2 Capture Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_Mode_Capture_Input_Rising_T2In_En(void)
enables Rising Edge on T2In as T2 Capture Mode Input.
Definition: gpt12e.h:715

◆ GPT12E_T2_Mode_Capture_Input_T2In_Sel()

INLINE void GPT12E_T2_Mode_Capture_Input_T2In_Sel ( void  )

selects T2In as T2 Capture Mode Input.

Example

This example selects T2In as T2 Capture Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_Mode_Capture_Input_T2In_Sel(void)
selects T2In as T2 Capture Mode Input.
Definition: gpt12e.h:697

◆ GPT12E_T2_Mode_Capture_Sel()

INLINE void GPT12E_T2_Mode_Capture_Sel ( void  )

selects T2 Capture Mode.

Example

This example selects T2 Capture Mode.

void Example_Function(void)
{
}

◆ GPT12E_T2_Mode_Counter_Input_Falling_T2In_Dis()

INLINE void GPT12E_T2_Mode_Counter_Input_Falling_T2In_Dis ( void  )

disables Falling Edge on T2In as T2 Counter Mode Input.

Example

This example disables Falling Edge on T2In as T2 Counter Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_Mode_Counter_Input_Falling_T2In_Dis(void)
disables Falling Edge on T2In as T2 Counter Mode Input.
Definition: gpt12e.h:589
INLINE void GPT12E_T2_Mode_Counter_Sel(void)
selects T2 Counter Mode.
Definition: gpt12e.h:357

◆ GPT12E_T2_Mode_Counter_Input_Falling_T2In_En()

INLINE void GPT12E_T2_Mode_Counter_Input_Falling_T2In_En ( void  )

enables Falling Edge on T2In as T2 Counter Mode Input.

Example

This example enables Falling Edge on T2In as T2 Counter Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_Mode_Counter_Input_Falling_T2In_En(void)
enables Falling Edge on T2In as T2 Counter Mode Input.
Definition: gpt12e.h:571

◆ GPT12E_T2_Mode_Counter_Input_Falling_T3Out_Dis()

INLINE void GPT12E_T2_Mode_Counter_Input_Falling_T3Out_Dis ( void  )

disables Falling Edge on T3OTL as T2 Counter Mode Input.

Example

This example disables Falling Edge on T3OTL as T2 Counter Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_Mode_Counter_Input_Falling_T3Out_Dis(void)
disables Falling Edge on T3OTL as T2 Counter Mode Input.
Definition: gpt12e.h:679

◆ GPT12E_T2_Mode_Counter_Input_Falling_T3Out_En()

INLINE void GPT12E_T2_Mode_Counter_Input_Falling_T3Out_En ( void  )

enables Falling Edge on T3OTL as T2 Counter Mode Input.

Example

This example enables Falling Edge on T3OTL as T2 Counter Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_Mode_Counter_Input_Falling_T3Out_En(void)
enables Falling Edge on T3OTL as T2 Counter Mode Input.
Definition: gpt12e.h:661

◆ GPT12E_T2_Mode_Counter_Input_Rising_T2In_Dis()

INLINE void GPT12E_T2_Mode_Counter_Input_Rising_T2In_Dis ( void  )

disables Rising Edge on T2In as T2 Counter Mode Input.

Example

This example disables Rising Edge on T2In as T2 Counter Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_Mode_Counter_Input_Rising_T2In_Dis(void)
disables Rising Edge on T2In as T2 Counter Mode Input.
Definition: gpt12e.h:553

◆ GPT12E_T2_Mode_Counter_Input_Rising_T2In_En()

INLINE void GPT12E_T2_Mode_Counter_Input_Rising_T2In_En ( void  )

enables Rising Edge on T2In as T2 Counter Mode Input.

Example

This example enables Rising Edge on T2In as T2 Counter Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_Mode_Counter_Input_Rising_T2In_En(void)
enables Rising Edge on T2In as T2 Counter Mode Input.
Definition: gpt12e.h:535

◆ GPT12E_T2_Mode_Counter_Input_Rising_T3Out_Dis()

INLINE void GPT12E_T2_Mode_Counter_Input_Rising_T3Out_Dis ( void  )

disables Rising Edge on T3OTL as T2 Counter Mode Input.

Example

This example disables Rising Edge on T3OTL as T2 Counter Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_Mode_Counter_Input_Rising_T3Out_Dis(void)
disables Rising Edge on T3OTL as T2 Counter Mode Input.
Definition: gpt12e.h:643

◆ GPT12E_T2_Mode_Counter_Input_Rising_T3Out_En()

INLINE void GPT12E_T2_Mode_Counter_Input_Rising_T3Out_En ( void  )

enables Rising Edge on T3OTL as T2 Counter Mode Input.

Example

This example enables Rising Edge on T3OTL as T2 Counter Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_Mode_Counter_Input_Rising_T3Out_En(void)
enables Rising Edge on T3OTL as T2 Counter Mode Input.
Definition: gpt12e.h:625

◆ GPT12E_T2_Mode_Counter_Input_T2In_Sel()

INLINE void GPT12E_T2_Mode_Counter_Input_T2In_Sel ( void  )

selects T2In as T2 Counter Mode Input.

Example

This example selects T2In as T2 Counter Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_Mode_Counter_Input_T2In_Sel(void)
selects T2In as T2 Counter Mode Input.
Definition: gpt12e.h:517

◆ GPT12E_T2_Mode_Counter_Input_T3Out_Sel()

INLINE void GPT12E_T2_Mode_Counter_Input_T3Out_Sel ( void  )

selects T3OTL as T2 Counter Mode Input.

Example

This example selects T3OTL as T2 Counter Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_Mode_Counter_Input_T3Out_Sel(void)
selects T3OTL as T2 Counter Mode Input.
Definition: gpt12e.h:607

◆ GPT12E_T2_Mode_Counter_Sel()

INLINE void GPT12E_T2_Mode_Counter_Sel ( void  )

selects T2 Counter Mode.

Example

This example selects T2 Counter Mode.

void Example_Function(void)
{
}

◆ GPT12E_T2_Mode_Gated_Timer_Clk_Prescaler_Sel()

INLINE void GPT12E_T2_Mode_Gated_Timer_Clk_Prescaler_Sel ( uint16  t2i)

selects T2 Gated Timer Mode Parameter.

Parameters
t2iT2 Input Parameter Sel

Example

This example sets selects T2 Gated Timer Mode Parameter to 0x01.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_Mode_Gated_Timer_High_Sel(void)
selects T2 Gated high Mode.
Definition: gpt12e.h:391
INLINE void GPT12E_T2_Mode_Gated_Timer_Clk_Prescaler_Sel(uint16 t2i)
selects T2 Gated Timer Mode Parameter.
Definition: gpt12e.h:499

◆ GPT12E_T2_Mode_Gated_Timer_High_Sel()

INLINE void GPT12E_T2_Mode_Gated_Timer_High_Sel ( void  )

selects T2 Gated high Mode.

Example

This example selects T2 Gated Timer Mode with gate active high.

void Example_Function(void)
{
}

◆ GPT12E_T2_Mode_Gated_Timer_Low_Sel()

INLINE void GPT12E_T2_Mode_Gated_Timer_Low_Sel ( void  )

selects T2 Gated low Mode.

Example

This example selects T2 Gated Timer Mode with gate active low.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_Mode_Gated_Timer_Low_Sel(void)
selects T2 Gated low Mode.
Definition: gpt12e.h:374

◆ GPT12E_T2_Mode_IncEnc_Any_T3EUD_Dis()

INLINE void GPT12E_T2_Mode_IncEnc_Any_T3EUD_Dis ( void  )

disables Falling or Falling Edge on T3EUD as T2 Incremental Interface Mode Input.

Example

This example disables Falling or Falling Edge on T3EUD as T2 Incremental Interface Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_Mode_IncEnc_Any_T3EUD_Dis(void)
disables Falling or Falling Edge on T3EUD as T2 Incremental Interface Mode Input.
Definition: gpt12e.h:1039
INLINE void GPT12E_T2_Mode_IncEnc_Edge_Sel(void)
selects T2 Incremental Interface -Edge Detection- Mode.
Definition: gpt12e.h:459

◆ GPT12E_T2_Mode_IncEnc_Any_T3EUD_En()

INLINE void GPT12E_T2_Mode_IncEnc_Any_T3EUD_En ( void  )

enables Falling or Falling Edge on T3EUD as T2 Incremental Interface Mode Input.

Example

This example enables Falling or Falling Edge on T3EUD as T2 Incremental Interface Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_Mode_IncEnc_Any_T3EUD_En(void)
enables Falling or Falling Edge on T3EUD as T2 Incremental Interface Mode Input.
Definition: gpt12e.h:1021

◆ GPT12E_T2_Mode_IncEnc_Any_T3In_Dis()

INLINE void GPT12E_T2_Mode_IncEnc_Any_T3In_Dis ( void  )

disables Rising or Falling Edge on T3In as T2 Incremental Interface Mode Input.

Example

This example disables Rising or Falling Edge on T3In as T2 Incremental Interface Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_Mode_IncEnc_Any_T3In_Dis(void)
disables Rising or Falling Edge on T3In as T2 Incremental Interface Mode Input.
Definition: gpt12e.h:1003

◆ GPT12E_T2_Mode_IncEnc_Any_T3In_En()

INLINE void GPT12E_T2_Mode_IncEnc_Any_T3In_En ( void  )

enables Rising or Falling Edge on T3In as T2 Incremental Interface Mode Input.

Example

This example enables Rising or Falling Edge on T3In as T2 Incremental Interface Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_Mode_IncEnc_Any_T3In_En(void)
enables Rising or Falling Edge on T3In as T2 Incremental Interface Mode Input.
Definition: gpt12e.h:985

◆ GPT12E_T2_Mode_IncEnc_Dir_Change_Clr()

INLINE void GPT12E_T2_Mode_IncEnc_Dir_Change_Clr ( void  )

clears Timer T2 Incremental Interface Direction Change.

Example

This example clears Direction Change of Timer T2 Incremental Interface if it's detected.

void Example_Function(void)
{
{
}
}
INLINE uint8 GPT12E_T2_Mode_IncEnc_Dir_Change_Sts(void)
reads Timer T2 Incremental Interface Direction Change.
Definition: gpt12e.h:1285
INLINE void GPT12E_T2_Mode_IncEnc_Dir_Change_Clr(void)
clears Timer T2 Incremental Interface Direction Change.
Definition: gpt12e.h:1306

◆ GPT12E_T2_Mode_IncEnc_Dir_Change_Sts()

INLINE uint8 GPT12E_T2_Mode_IncEnc_Dir_Change_Sts ( void  )

reads Timer T2 Incremental Interface Direction Change.

Returns
Direction Change

Example

This example clears Direction Change of Timer T2 Incremental Interface if it's detected.

◆ GPT12E_T2_Mode_IncEnc_DownCount_RotDir_Sel()

INLINE void GPT12E_T2_Mode_IncEnc_DownCount_RotDir_Sel ( void  )

selects Timer T2 Incremental Interface Rotation Detection Mode counts down.

Example

This example selects Timer T2 Incremental Interface Rotation Detection Mode counts down.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_Mode_IncEnc_Rot_Sel(void)
selects T2 Incremental Interface -Rotation Detection- Mode.
Definition: gpt12e.h:442
INLINE void GPT12E_T2_Mode_IncEnc_DownCount_RotDir_Sel(void)
selects Timer T2 Incremental Interface Rotation Detection Mode counts down.
Definition: gpt12e.h:1200

◆ GPT12E_T2_Mode_IncEnc_Edge_Detect_Clr()

INLINE void GPT12E_T2_Mode_IncEnc_Edge_Detect_Clr ( void  )

clears Timer T2 Incremental Interface Edge Detection Counting.

Example

This example clears counting of Timer T2 Incremental Interface Edge if it's detected.

void Example_Function(void)
{
{
}
}
INLINE void GPT12E_T2_Mode_IncEnc_Edge_Detect_Clr(void)
clears Timer T2 Incremental Interface Edge Detection Counting.
Definition: gpt12e.h:1262
INLINE uint8 GPT12E_T2_Mode_IncEnc_Edge_Detect_Sts(void)
reads Timer T2 Incremental Interface Edge Detection Counting.
Definition: gpt12e.h:1241

◆ GPT12E_T2_Mode_IncEnc_Edge_Detect_Sts()

INLINE uint8 GPT12E_T2_Mode_IncEnc_Edge_Detect_Sts ( void  )

reads Timer T2 Incremental Interface Edge Detection Counting.

Returns
Count Edge Detection

Example

This example clears counting of Timer T2 Incremental Interface Edge if it's detected.

◆ GPT12E_T2_Mode_IncEnc_Edge_Sel()

INLINE void GPT12E_T2_Mode_IncEnc_Edge_Sel ( void  )

selects T2 Incremental Interface -Edge Detection- Mode.

Example

This example selects T2 Incremental Interface -Edge Detection- Mode.

void Example_Function(void)
{
}

◆ GPT12E_T2_Mode_IncEnc_Input_Sel()

INLINE void GPT12E_T2_Mode_IncEnc_Input_Sel ( void  )

selects T2 Incremental Interface Mode Input.

Example

This example selects T2 Incremental Interface Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_Mode_IncEnc_Input_Sel(void)
selects T2 Incremental Interface Mode Input.
Definition: gpt12e.h:967

◆ GPT12E_T2_Mode_IncEnc_Rot_Sel()

INLINE void GPT12E_T2_Mode_IncEnc_Rot_Sel ( void  )

selects T2 Incremental Interface -Rotation Detection- Mode.

Example

This example selects T2 Incremental Interface -Rotation Detection- Mode.

void Example_Function(void)
{
}

◆ GPT12E_T2_Mode_IncEnc_UpCount_RotDir_Sel()

INLINE void GPT12E_T2_Mode_IncEnc_UpCount_RotDir_Sel ( void  )

selects Timer T2 Incremental Interface Rotation Detection Mode counts up.

Example

This example selects Timer T2 Incremental Interface Rotation Detection Mode counts up.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_Mode_IncEnc_UpCount_RotDir_Sel(void)
selects Timer T2 Incremental Interface Rotation Detection Mode counts up.
Definition: gpt12e.h:1218

◆ GPT12E_T2_Mode_Reload_Input_Falling_T2In_Dis()

INLINE void GPT12E_T2_Mode_Reload_Input_Falling_T2In_Dis ( void  )

disables Falling Edge on T2In as T2 Reload Mode Input.

Example

This example disables Falling Edge on T2In as T2 Reload Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_Mode_Reload_Sel(void)
selects T2 Reload Mode.
Definition: gpt12e.h:408
INLINE void GPT12E_T2_Mode_Reload_Input_Falling_T2In_Dis(void)
disables Falling Edge on T2In as T2 Reload Mode Input.
Definition: gpt12e.h:859

◆ GPT12E_T2_Mode_Reload_Input_Falling_T2In_En()

INLINE void GPT12E_T2_Mode_Reload_Input_Falling_T2In_En ( void  )

enables Falling Edge on T2In as T2 Reload Mode Input.

Example

This example enables Falling Edge on T2In as T2 Reload Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_Mode_Reload_Input_Falling_T2In_En(void)
enables Falling Edge on T2In as T2 Reload Mode Input.
Definition: gpt12e.h:841

◆ GPT12E_T2_Mode_Reload_Input_Falling_T3Out_Dis()

INLINE void GPT12E_T2_Mode_Reload_Input_Falling_T3Out_Dis ( void  )

disables Falling Edge on T3OTL as T2 Reload Mode Input.

Example

This example disables Falling Edge on T3OTL as T2 Reload Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_Mode_Reload_Input_Falling_T3Out_Dis(void)
disables Falling Edge on T3OTL as T2 Reload Mode Input.
Definition: gpt12e.h:949

◆ GPT12E_T2_Mode_Reload_Input_Falling_T3Out_En()

INLINE void GPT12E_T2_Mode_Reload_Input_Falling_T3Out_En ( void  )

enables Falling Edge on T3OTL as T2 Reload Mode Input.

Example

This example enables Falling Edge on T3OTL as T2 Reload Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_Mode_Reload_Input_Falling_T3Out_En(void)
enables Falling Edge on T3OTL as T2 Reload Mode Input.
Definition: gpt12e.h:931

◆ GPT12E_T2_Mode_Reload_Input_Rising_T2In_Dis()

INLINE void GPT12E_T2_Mode_Reload_Input_Rising_T2In_Dis ( void  )

disables Rising Edge on T2In as T2 Reload Mode Input.

Example

This example disables Rising Edge on T2In as T2 Reload Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_Mode_Reload_Input_Rising_T2In_Dis(void)
disables Rising Edge on T2In as T2 Reload Mode Input.
Definition: gpt12e.h:823

◆ GPT12E_T2_Mode_Reload_Input_Rising_T2In_En()

INLINE void GPT12E_T2_Mode_Reload_Input_Rising_T2In_En ( void  )

enables Rising Edge on T2In as T2 Reload Mode Input.

Example

This example enables Rising Edge on T2In as T2 Reload Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_Mode_Reload_Input_Rising_T2In_En(void)
enables Rising Edge on T2In as T2 Reload Mode Input.
Definition: gpt12e.h:805

◆ GPT12E_T2_Mode_Reload_Input_Rising_T3Out_Dis()

INLINE void GPT12E_T2_Mode_Reload_Input_Rising_T3Out_Dis ( void  )

disables Rising Edge on T3OTL as T2 Reload Mode Input.

Example

This example disables Rising Edge on T3OTL as T2 Reload Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_Mode_Reload_Input_Rising_T3Out_Dis(void)
disables Rising Edge on T3OTL as T2 Reload Mode Input.
Definition: gpt12e.h:913

◆ GPT12E_T2_Mode_Reload_Input_Rising_T3Out_En()

INLINE void GPT12E_T2_Mode_Reload_Input_Rising_T3Out_En ( void  )

enables Rising Edge on T3OTL as T2 Reload Mode Input.

Example

This example enables Rising Edge on T3OTL as T2 Reload Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_Mode_Reload_Input_Rising_T3Out_En(void)
enables Rising Edge on T3OTL as T2 Reload Mode Input.
Definition: gpt12e.h:895

◆ GPT12E_T2_Mode_Reload_Input_T2In_Sel()

INLINE void GPT12E_T2_Mode_Reload_Input_T2In_Sel ( void  )

selects T2In as T2 Reload Mode Input.

Example

This example selects T2In as T2 Reload Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_Mode_Reload_Input_T2In_Sel(void)
selects T2In as T2 Reload Mode Input.
Definition: gpt12e.h:787

◆ GPT12E_T2_Mode_Reload_Input_T3Out_Sel()

INLINE void GPT12E_T2_Mode_Reload_Input_T3Out_Sel ( void  )

selects T3OTL as T2 Reload Mode Input.

Example

This example selects T3OTL as T2 Reload Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_Mode_Reload_Input_T3Out_Sel(void)
selects T3OTL as T2 Reload Mode Input.
Definition: gpt12e.h:877

◆ GPT12E_T2_Mode_Reload_Sel()

INLINE void GPT12E_T2_Mode_Reload_Sel ( void  )

selects T2 Reload Mode.

Example

This example selects T2 Reload Mode.

void Example_Function(void)
{
}

◆ GPT12E_T2_Mode_Timer_Clk_Prescaler_Sel()

INLINE void GPT12E_T2_Mode_Timer_Clk_Prescaler_Sel ( uint16  t2i)

selects T2 Timer Mode Parameter.

Parameters
t2iT2 Input Parameter Sel

Example

This example sets T2 Timer Mode Parameter to 0x01.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_Mode_Timer_Sel(void)
selects T2 Timer Mode.
Definition: gpt12e.h:340
INLINE void GPT12E_T2_Mode_Timer_Clk_Prescaler_Sel(uint16 t2i)
selects T2 Timer Mode Parameter.
Definition: gpt12e.h:479

◆ GPT12E_T2_Mode_Timer_Sel()

INLINE void GPT12E_T2_Mode_Timer_Sel ( void  )

selects T2 Timer Mode.

Example

This example selects T2 Timer Mode.

void Example_Function(void)
{
}

◆ GPT12E_T2_Start()

INLINE void GPT12E_T2_Start ( void  )

starts Timer T2.

Example

This example starts Timer T2.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_Start_by_T3_Dis(void)
disables controlling Timer T2 by the run bit T3R of core timer T3.
Definition: gpt12e.h:1111
INLINE void GPT12E_T2_Start(void)
starts Timer T2.
Definition: gpt12e.h:1057

◆ GPT12E_T2_Start_by_T3_Dis()

INLINE void GPT12E_T2_Start_by_T3_Dis ( void  )

disables controlling Timer T2 by the run bit T3R of core timer T3.

Example

This example starts Timer T2.

void Example_Function(void)
{
}

◆ GPT12E_T2_Start_by_T3_En()

INLINE void GPT12E_T2_Start_by_T3_En ( void  )

enables controlling Timer T2 by the run bit T3R of core timer T3.

Example

This example starts Timer T2 by setting T3R.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_Start_by_T3_En(void)
enables controlling Timer T2 by the run bit T3R of core timer T3.
Definition: gpt12e.h:1093
INLINE void GPT12E_T3_Start(void)
starts Timer T3.
Definition: gpt12e.h:1693

◆ GPT12E_T2_Stop()

INLINE void GPT12E_T2_Stop ( void  )

stops Timer T2.

Example

This example stops Timer T2.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_Stop(void)
stops Timer T2.
Definition: gpt12e.h:1075

◆ GPT12E_T2_T2EUD_Sel()

INLINE void GPT12E_T2_T2EUD_Sel ( uint16  ist2eud)

selects Input for T2EUD.

Parameters
ist2eudInput Select for T2EUD

Example

This example enables controlling Count direction by the external input T2EUDB.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_T2EUD_Sel(uint16 ist2eud)
selects Input for T2EUD.
Definition: gpt12e.h:1387
INLINE void GPT12E_T2_UpDownCount_Ext_En(void)
enables controlling Count direction by external input (T2EUD).
Definition: gpt12e.h:1164

◆ GPT12E_T2_T2In_Sel()

INLINE void GPT12E_T2_T2In_Sel ( uint16  ist2in)

selects Input for T2IN.

Parameters
ist2inInput Select for T2IN

Example

This example selects Rising Edge Counter Mode on T2INB Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_T2In_Sel(uint16 ist2in)
selects Input for T2IN.
Definition: gpt12e.h:1367

◆ GPT12E_T2_UpCount_Sel()

INLINE void GPT12E_T2_UpCount_Sel ( void  )

selects Timer T2 counts up.

Example

This example selects Timer T2 counts up (internally).

void Example_Function(void)
{
}
INLINE void GPT12E_T2_UpCount_Sel(void)
selects Timer T2 counts up.
Definition: gpt12e.h:1147

◆ GPT12E_T2_UpDownCount_Ext_Dis()

INLINE void GPT12E_T2_UpDownCount_Ext_Dis ( void  )

disables controlling Count direction by external input (T2EUD).

Example

This example selects Timer T2 counts up (internally).

void Example_Function(void)
{
}

◆ GPT12E_T2_UpDownCount_Ext_En()

INLINE void GPT12E_T2_UpDownCount_Ext_En ( void  )

enables controlling Count direction by external input (T2EUD).

Example

This example enables controlling Count direction by external input (T2EUD).

void Example_Function(void)
{
}

◆ GPT12E_T2_Value_Get()

INLINE uint16 GPT12E_T2_Value_Get ( void  )

reads Timer T2 Value.

Returns
T2 Value

Example

This example reads Timer T2 Value.

void Example_Function(void)
{
uint16 timer;
}
INLINE uint16 GPT12E_T2_Value_Get(void)
reads Timer T2 Value.
Definition: gpt12e.h:1327

◆ GPT12E_T2_Value_Set()

INLINE void GPT12E_T2_Value_Set ( uint16  t2)

sets Timer T2 Value.

Parameters
t2T2 Value

Example

This example sets Timer T2 Value to 5000.

void Example_Function(void)
{
}
INLINE void GPT12E_T2_Value_Set(uint16 t2)
sets Timer T2 Value.
Definition: gpt12e.h:1346

◆ GPT12E_T3_DownCount_Sel()

INLINE void GPT12E_T3_DownCount_Sel ( void  )

selects Timer T3 counts down.

Example

This example selects Timer T3 counts down (internally).

void Example_Function(void)
{
}
INLINE void GPT12E_T3_UpDownCount_Ext_Dis(void)
disables controlling Count direction by external input (T3EUD).
Definition: gpt12e.h:1851
INLINE void GPT12E_T3_DownCount_Sel(void)
selects Timer T3 counts down.
Definition: gpt12e.h:1798

◆ GPT12E_T3_Int_Clr()

INLINE void GPT12E_T3_Int_Clr ( void  )

clears GPT Module 1 Timer 3 interrupt flag.

Example

This example treats the GPT Module 1 Timer 3 interrupt.

void Example_Function(void)
{
if (GPT12E_T3_Int_Sts() == (uint8)1)
{
GPT1_T3_CALLBACK();
}
}
INLINE void GPT12E_T3_Int_Clr(void)
clears GPT Module 1 Timer 3 interrupt flag.
Definition: gpt12e.h:4745
INLINE uint8 GPT12E_T3_Int_Sts(void)
reads GPT Module 1 Timer 3 interrupt Status.
Definition: gpt12e.h:4602
INLINE void GPT12E_T3_Int_En(void)
enables GPT Module 1 Timer 3 interrupt.
Definition: gpt12e.h:4906
INLINE void GPT12E_T3_Int_Dis(void)
disables GPT Module 1 Timer 3 interrupt.
Definition: gpt12e.h:4929

◆ GPT12E_T3_Int_Dis()

INLINE void GPT12E_T3_Int_Dis ( void  )

disables GPT Module 1 Timer 3 interrupt.

Example

This example treats the GPT Module 1 Timer 3 interrupt.

void Example_Function(void)
{
if (GPT12E_T3_Int_Sts() == (uint8)1)
{
GPT1_T3_CALLBACK();
}
}

◆ GPT12E_T3_Int_En()

INLINE void GPT12E_T3_Int_En ( void  )

enables GPT Module 1 Timer 3 interrupt.

Example

This example treats the GPT Module 1 Timer 3 interrupt.

void Example_Function(void)
{
if (GPT12E_T3_Int_Sts() == (uint8)1)
{
GPT1_T3_CALLBACK();
}
}

◆ GPT12E_T3_Int_Sts()

INLINE uint8 GPT12E_T3_Int_Sts ( void  )

reads GPT Module 1 Timer 3 interrupt Status.

Returns
T3 interrupt Status

Example

This example checks the GPT Module 1 Timer 3 interrupt Status and clears it.

void Example_Function(void)
{
if (GPT12E_T3_Int_Sts() == (uint8)1)
{
}
}

◆ GPT12E_T3_Interval_Timer_Setup()

bool GPT12E_T3_Interval_Timer_Setup ( uint32  timer_interval_us)

Initializes the T3 to be reloaded by T2.

Parameters
timer_interval_ustimer interval in microseconds
Return values
TRUEsetup done
FALSEsetup failed

Example

This example initializes the T3 to be reloaded by T2 with a timer interval equals to 5000 us.

void Example_Function(void)
{
bool sts;
return(sts);
}
bool GPT12E_T3_Interval_Timer_Setup(uint32 timer_interval_us)
Initializes the T3 to be reloaded by T2.

◆ GPT12E_T3_Mode_Counter_Input_Falling_T3In_Dis()

INLINE void GPT12E_T3_Mode_Counter_Input_Falling_T3In_Dis ( void  )

disables Falling Edge on T3In as T3 Counter Mode Input.

Example

This example disables Falling Edge on T3In as T3 Counter Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T3_Mode_Counter_Sel(void)
selects T3 Counter Mode.
Definition: gpt12e.h:1424
INLINE void GPT12E_T3_Mode_Counter_Input_Falling_T3In_Dis(void)
disables Falling Edge on T3In as T3 Counter Mode Input.
Definition: gpt12e.h:1604

◆ GPT12E_T3_Mode_Counter_Input_Falling_T3In_En()

INLINE void GPT12E_T3_Mode_Counter_Input_Falling_T3In_En ( void  )

enables Falling Edge on T3In as T3 Counter Mode Input.

Example

This example enables Falling Edge on T3In as T3 Counter Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T3_Mode_Counter_Input_Falling_T3In_En(void)
enables Falling Edge on T3In as T3 Counter Mode Input.
Definition: gpt12e.h:1586

◆ GPT12E_T3_Mode_Counter_Input_Rising_T3In_Dis()

INLINE void GPT12E_T3_Mode_Counter_Input_Rising_T3In_Dis ( void  )

disables Rising Edge on T3In as T3 Counter Mode Input.

Example

This example disables Rising Edge on T3In as T3 Counter Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T3_Mode_Counter_Input_Rising_T3In_Dis(void)
disables Rising Edge on T3In as T3 Counter Mode Input.
Definition: gpt12e.h:1568

◆ GPT12E_T3_Mode_Counter_Input_Rising_T3In_En()

INLINE void GPT12E_T3_Mode_Counter_Input_Rising_T3In_En ( void  )

enables Rising Edge on T3In as T3 Counter Mode Input.

Example

This example enables Rising Edge on T3In as T3 Counter Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T3_Mode_Counter_Input_Rising_T3In_En(void)
enables Rising Edge on T3In as T3 Counter Mode Input.
Definition: gpt12e.h:1550

◆ GPT12E_T3_Mode_Counter_Sel()

INLINE void GPT12E_T3_Mode_Counter_Sel ( void  )

selects T3 Counter Mode.

Example

This example selects T3 Counter Mode.

void Example_Function(void)
{
}

◆ GPT12E_T3_Mode_Gated_Timer_Clk_Prescaler_Sel()

INLINE void GPT12E_T3_Mode_Gated_Timer_Clk_Prescaler_Sel ( uint16  t3i)

selects T3 Gated Timer Mode Parameter.

Parameters
t3iT3 Input Parameter Sel

Example

This example sets selects T3 Gated Timer Mode Parameter to 0x01.

void Example_Function(void)
{
}
INLINE void GPT12E_T3_Mode_Gated_Timer_Clk_Prescaler_Sel(uint16 t3i)
selects T3 Gated Timer Mode Parameter.
Definition: gpt12e.h:1532
INLINE void GPT12E_T3_Mode_Gated_Timer_High_Sel(void)
selects T3 Gated high Mode.
Definition: gpt12e.h:1458

◆ GPT12E_T3_Mode_Gated_Timer_High_Sel()

INLINE void GPT12E_T3_Mode_Gated_Timer_High_Sel ( void  )

selects T3 Gated high Mode.

Example

This example selects T3 Gated Timer Mode with gate active high.

void Example_Function(void)
{
}

◆ GPT12E_T3_Mode_Gated_Timer_Low_Sel()

INLINE void GPT12E_T3_Mode_Gated_Timer_Low_Sel ( void  )

selects T3 Gated low Mode.

Example

This example selects T3 Gated Timer Mode with gate active low.

void Example_Function(void)
{
}
INLINE void GPT12E_T3_Mode_Gated_Timer_Low_Sel(void)
selects T3 Gated low Mode.
Definition: gpt12e.h:1441

◆ GPT12E_T3_Mode_IncEnc_Any_T3EUD_Dis()

INLINE void GPT12E_T3_Mode_IncEnc_Any_T3EUD_Dis ( void  )

disables Falling or Falling Edge on T3EUD as T3 Incremental Interface Mode Input.

Example

This example disables Falling or Falling Edge on T3EUD as T3 Incremental Interface Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T3_Mode_IncEnc_Any_T3EUD_Dis(void)
disables Falling or Falling Edge on T3EUD as T3 Incremental Interface Mode Input.
Definition: gpt12e.h:1676
INLINE void GPT12E_T3_Mode_IncEnc_Edge_Sel(void)
selects T3 Incremental Interface -Edge Detection- Mode.
Definition: gpt12e.h:1492

◆ GPT12E_T3_Mode_IncEnc_Any_T3EUD_En()

INLINE void GPT12E_T3_Mode_IncEnc_Any_T3EUD_En ( void  )

enables Falling or Falling Edge on T3EUD as T3 Incremental Interface Mode Input.

Example

This example enables Falling or Falling Edge on T3EUD as T3 Incremental Interface Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T3_Mode_IncEnc_Any_T3EUD_En(void)
enables Falling or Falling Edge on T3EUD as T3 Incremental Interface Mode Input.
Definition: gpt12e.h:1658

◆ GPT12E_T3_Mode_IncEnc_Any_T3In_Dis()

INLINE void GPT12E_T3_Mode_IncEnc_Any_T3In_Dis ( void  )

disables Rising or Falling Edge on T3In as T3 Incremental Interface Mode Input.

Example

This example disables Rising or Falling Edge on T3In as T3 Incremental Interface Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T3_Mode_IncEnc_Any_T3In_Dis(void)
disables Rising or Falling Edge on T3In as T3 Incremental Interface Mode Input.
Definition: gpt12e.h:1640

◆ GPT12E_T3_Mode_IncEnc_Any_T3In_En()

INLINE void GPT12E_T3_Mode_IncEnc_Any_T3In_En ( void  )

enables Rising or Falling Edge on T3In as T3 Incremental Interface Mode Input.

Example

This example enables Rising or Falling Edge on T3In as T3 Incremental Interface Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T3_Mode_IncEnc_Any_T3In_En(void)
enables Rising or Falling Edge on T3In as T3 Incremental Interface Mode Input.
Definition: gpt12e.h:1622

◆ GPT12E_T3_Mode_IncEnc_Dir_Change_Clr()

INLINE void GPT12E_T3_Mode_IncEnc_Dir_Change_Clr ( void  )

clears Timer T3 Incremental Interface Direction Change.

Example

This example clears Direction Change of Timer T3 Incremental Interface if it's detected.

void Example_Function(void)
{
{
}
}
INLINE void GPT12E_T3_Mode_IncEnc_Dir_Change_Clr(void)
clears Timer T3 Incremental Interface Direction Change.
Definition: gpt12e.h:1975
INLINE uint8 GPT12E_T3_Mode_IncEnc_Dir_Change_Sts(void)
reads Timer T3 Incremental Interface Direction Change.
Definition: gpt12e.h:1954

◆ GPT12E_T3_Mode_IncEnc_Dir_Change_Sts()

INLINE uint8 GPT12E_T3_Mode_IncEnc_Dir_Change_Sts ( void  )

reads Timer T3 Incremental Interface Direction Change.

Returns
Direction Change

Example

This example clears Direction Change of Timer T3 Incremental Interface if it's detected.

◆ GPT12E_T3_Mode_IncEnc_DownCount_RotDir_Sel()

INLINE void GPT12E_T3_Mode_IncEnc_DownCount_RotDir_Sel ( void  )

selects Timer T3 Incremental Interface Rotation Detection Mode counts down.

Example

This example selects Timer T3 Incremental Interface Rotation Detection Mode counts down.

void Example_Function(void)
{
}
INLINE void GPT12E_T3_Mode_IncEnc_DownCount_RotDir_Sel(void)
selects Timer T3 Incremental Interface Rotation Detection Mode counts down.
Definition: gpt12e.h:1869
INLINE void GPT12E_T3_Mode_IncEnc_Rot_Sel(void)
selects T3 Incremental Interface -Rotation Detection- Mode.
Definition: gpt12e.h:1475

◆ GPT12E_T3_Mode_IncEnc_Edge_Detect_Clr()

INLINE void GPT12E_T3_Mode_IncEnc_Edge_Detect_Clr ( void  )

clears Timer T3 Incremental Interface Edge Detection Counting.

Example

This example clears counting of Timer T3 Incremental Interface Edge if it's detected.

void Example_Function(void)
{
{
}
}
INLINE uint8 GPT12E_T3_Mode_IncEnc_Edge_Detect_Sts(void)
reads Timer T3 Incremental Interface Edge Detection Counting.
Definition: gpt12e.h:1910
INLINE void GPT12E_T3_Mode_IncEnc_Edge_Detect_Clr(void)
clears Timer T3 Incremental Interface Edge Detection Counting.
Definition: gpt12e.h:1931

◆ GPT12E_T3_Mode_IncEnc_Edge_Detect_Sts()

INLINE uint8 GPT12E_T3_Mode_IncEnc_Edge_Detect_Sts ( void  )

reads Timer T3 Incremental Interface Edge Detection Counting.

Returns
Count Edge Detection

Example

This example clears counting of Timer T3 Incremental Interface Edge if it's detected.

◆ GPT12E_T3_Mode_IncEnc_Edge_Sel()

INLINE void GPT12E_T3_Mode_IncEnc_Edge_Sel ( void  )

selects T3 Incremental Interface -Edge Detection- Mode.

Example

This example selects T3 Incremental Interface -Edge Detection- Mode.

void Example_Function(void)
{
}

◆ GPT12E_T3_Mode_IncEnc_Rot_Sel()

INLINE void GPT12E_T3_Mode_IncEnc_Rot_Sel ( void  )

selects T3 Incremental Interface -Rotation Detection- Mode.

Example

This example selects T3 Incremental Interface -Rotation Detection- Mode.

void Example_Function(void)
{
}

◆ GPT12E_T3_Mode_IncEnc_UpCount_RotDir_Sel()

INLINE void GPT12E_T3_Mode_IncEnc_UpCount_RotDir_Sel ( void  )

selects Timer T3 Incremental Interface Rotation Detection Mode counts up.

Example

This example selects Timer T3 Incremental Interface Rotation Detection Mode counts up.

void Example_Function(void)
{
}
INLINE void GPT12E_T3_Mode_IncEnc_UpCount_RotDir_Sel(void)
selects Timer T3 Incremental Interface Rotation Detection Mode counts up.
Definition: gpt12e.h:1887

◆ GPT12E_T3_Mode_Timer_Clk_Prescaler_Sel()

INLINE void GPT12E_T3_Mode_Timer_Clk_Prescaler_Sel ( uint16  t3i)

selects T3 Timer Mode Parameter.

Parameters
t3iT3 Input Parameter Sel

Example

This example sets T3 Timer Mode Parameter to 0x01.

void Example_Function(void)
{
}
INLINE void GPT12E_T3_Mode_Timer_Clk_Prescaler_Sel(uint16 t3i)
selects T3 Timer Mode Parameter.
Definition: gpt12e.h:1512
INLINE void GPT12E_T3_Mode_Timer_Sel(void)
selects T3 Timer Mode.
Definition: gpt12e.h:1407

◆ GPT12E_T3_Mode_Timer_Sel()

INLINE void GPT12E_T3_Mode_Timer_Sel ( void  )

selects T3 Timer Mode.

Example

This example selects T3 Timer Mode.

void Example_Function(void)
{
}

◆ GPT12E_T3_Output_Dis()

INLINE void GPT12E_T3_Output_Dis ( void  )

disables Timer T3 Overflow/Underflow Output.

Example

This example disables Timer T3 Overflow/Underflow Output.

void Example_Function(void)
{
}
INLINE void GPT12E_T3_Output_Dis(void)
disables Timer T3 Overflow/Underflow Output.
Definition: gpt12e.h:1744

◆ GPT12E_T3_Output_En()

INLINE void GPT12E_T3_Output_En ( void  )

enables Timer T3 Overflow/Underflow Output.

Example

This example enables Timer T3 Overflow/Underflow Output.

void Example_Function(void)
{
}
INLINE void GPT12E_T3_Output_En(void)
enables Timer T3 Overflow/Underflow Output.
Definition: gpt12e.h:1727

◆ GPT12E_T3_Output_Rst()

INLINE void GPT12E_T3_Output_Rst ( void  )

clears Timer T3 Overflow Toggle Latch.

Example

This example clears Timer T3 Overflow Toggle Latch.

void Example_Function(void)
{
}
INLINE void GPT12E_T3_Output_Rst(void)
clears Timer T3 Overflow Toggle Latch.
Definition: gpt12e.h:1780

◆ GPT12E_T3_Output_Set()

INLINE void GPT12E_T3_Output_Set ( void  )

sets Timer T3 Overflow Toggle Latch.

Example

This example sets Timer T3 Overflow Toggle Latch.

void Example_Function(void)
{
}
INLINE void GPT12E_T3_Output_Set(void)
sets Timer T3 Overflow Toggle Latch.
Definition: gpt12e.h:1762

◆ GPT12E_T3_Start()

INLINE void GPT12E_T3_Start ( void  )

starts Timer T3.

Example

This example starts Timer T3.

void Example_Function(void)
{
}

◆ GPT12E_T3_Stop()

INLINE void GPT12E_T3_Stop ( void  )

stops Timer T3.

Example

This example stops Timer T3.

void Example_Function(void)
{
}
INLINE void GPT12E_T3_Stop(void)
stops Timer T3.
Definition: gpt12e.h:1710

◆ GPT12E_T3_T3EUD_Sel()

INLINE void GPT12E_T3_T3EUD_Sel ( uint16  ist3eud)

selects Input for T3EUD.

Parameters
ist3eudInput Select for T3EUD

Example

This example enables controlling Count direction by the external input T3EUDB.

void Example_Function(void)
{
}
INLINE void GPT12E_T3_T3EUD_Sel(uint16 ist3eud)
selects Input for T3EUD.
Definition: gpt12e.h:2056
INLINE void GPT12E_T3_UpDownCount_Ext_En(void)
enables controlling Count direction by external input (T3EUD).
Definition: gpt12e.h:1833

◆ GPT12E_T3_T3In_Sel()

INLINE void GPT12E_T3_T3In_Sel ( uint16  ist3in)

selects Input for T3IN.

Parameters
ist3inInput Select for T3IN

Example

This example selects Rising Edge Counter Mode on T3INB Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T3_T3In_Sel(uint16 ist3in)
selects Input for T3IN.
Definition: gpt12e.h:2036

◆ GPT12E_T3_T4_CCU6_Sel()

INLINE void GPT12E_T3_T4_CCU6_Sel ( uint8  gpt)

selects GPT12 TIN3B/TIN4D Input.

Parameters
gptGPT12 TIN3B/TIN4D Input Sel

Example

This example sets T12 ZM as GPT12 TIN3B/TIN4D Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T3_T4_CCU6_Sel(uint8 gpt)
selects GPT12 TIN3B/TIN4D Input.
Definition: gpt12e.h:320

◆ GPT12E_T3_UpCount_Sel()

INLINE void GPT12E_T3_UpCount_Sel ( void  )

selects Timer T3 counts up.

Example

This example selects Timer T3 counts up (internally).

void Example_Function(void)
{
}
INLINE void GPT12E_T3_UpCount_Sel(void)
selects Timer T3 counts up.
Definition: gpt12e.h:1816

◆ GPT12E_T3_UpDownCount_Ext_Dis()

INLINE void GPT12E_T3_UpDownCount_Ext_Dis ( void  )

disables controlling Count direction by external input (T3EUD).

Example

This example selects Timer T3 counts up (internally).

void Example_Function(void)
{
}

◆ GPT12E_T3_UpDownCount_Ext_En()

INLINE void GPT12E_T3_UpDownCount_Ext_En ( void  )

enables controlling Count direction by external input (T3EUD).

Example

This example enables controlling Count direction by external input (T3EUD).

void Example_Function(void)
{
}

◆ GPT12E_T3_Value_Get()

INLINE uint16 GPT12E_T3_Value_Get ( void  )

reads Timer T3 Value.

Returns
T3 Value

Example

This example reads Timer T3 Value.

void Example_Function(void)
{
uint16 timer;
}
INLINE uint16 GPT12E_T3_Value_Get(void)
reads Timer T3 Value.
Definition: gpt12e.h:1996

◆ GPT12E_T3_Value_Set()

INLINE void GPT12E_T3_Value_Set ( uint16  t3)

sets Timer T3 Value.

Parameters
t3T3 Value

Example

This example sets Timer T3 Value to 5000.

void Example_Function(void)
{
}
INLINE void GPT12E_T3_Value_Set(uint16 t3)
sets Timer T3 Value.
Definition: gpt12e.h:2015

◆ GPT12E_T4_Clr_T2_Dis()

INLINE void GPT12E_T4_Clr_T2_Dis ( void  )

Disables the automatic clearing of timer T2 upon a falling edge of the selected T4EUD input.

Example

This example disables the automatic clearing of timer T2 upon a falling edge of the selected T4EUD input.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Clr_T2_Dis(void)
Disables the automatic clearing of timer T2 upon a falling edge of the selected T4EUD input.
Definition: gpt12e.h:2972

◆ GPT12E_T4_Clr_T2_En()

INLINE void GPT12E_T4_Clr_T2_En ( void  )

Enables the automatic clearing of timer T2 upon a falling edge of the selected T4EUD input.

Example

This example enables the automatic clearing of timer T2 upon a falling edge of the selected T4EUD input.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Clr_T2_En(void)
Enables the automatic clearing of timer T2 upon a falling edge of the selected T4EUD input.
Definition: gpt12e.h:2955
INLINE void GPT12E_T4_UpDownCount_Ext_En(void)
enables controlling Count direction by external input (T4EUD).
Definition: gpt12e.h:2882
INLINE void GPT12E_T4_T4EUD_Sel(uint16 ist4eud)
selects Input for T4EUD.
Definition: gpt12e.h:3177

◆ GPT12E_T4_Clr_T3_Dis()

INLINE void GPT12E_T4_Clr_T3_Dis ( void  )

Disables the automatic clearing of timer T3 upon a falling edge of the selected T4EUD input.

Example

This example disables the automatic clearing of timer T3 upon a falling edge of the selected T4EUD input.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Clr_T3_Dis(void)
Disables the automatic clearing of timer T3 upon a falling edge of the selected T4EUD input.
Definition: gpt12e.h:3008

◆ GPT12E_T4_Clr_T3_En()

INLINE void GPT12E_T4_Clr_T3_En ( void  )

Enables the automatic clearing of timer T3 upon a falling edge of the selected T4EUD input.

Example

This example enables the automatic clearing of timer T3 upon a falling edge of the selected T4EUD input.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Clr_T3_En(void)
Enables the automatic clearing of timer T3 upon a falling edge of the selected T4EUD input.
Definition: gpt12e.h:2991

◆ GPT12E_T4_DownCount_Sel()

INLINE void GPT12E_T4_DownCount_Sel ( void  )

selects Timer T4 counts down.

Example

This example selects Timer T4 counts down (internally).

void Example_Function(void)
{
}
INLINE void GPT12E_T4_DownCount_Sel(void)
selects Timer T4 counts down.
Definition: gpt12e.h:2847
INLINE void GPT12E_T4_UpDownCount_Ext_Dis(void)
disables controlling Count direction by external input (T4EUD).
Definition: gpt12e.h:2900

◆ GPT12E_T4_Int_Clr()

INLINE void GPT12E_T4_Int_Clr ( void  )

clears GPT Module 1 Timer 4 interrupt flag.

Example

This example treats the GPT Module 1 Timer 4 interrupt.

void Example_Function(void)
{
if (GPT12E_T4_Int_Sts() == (uint8)1)
{
GPT1_T4_CALLBACK();
}
}
INLINE void GPT12E_T4_Int_Clr(void)
clears GPT Module 1 Timer 4 interrupt flag.
Definition: gpt12e.h:4768
INLINE void GPT12E_T4_Int_En(void)
enables GPT Module 1 Timer 4 interrupt.
Definition: gpt12e.h:4952
INLINE void GPT12E_T4_Int_Dis(void)
enables GPT Module 1 Timer 4 interrupt.
Definition: gpt12e.h:4975
INLINE uint8 GPT12E_T4_Int_Sts(void)
reads GPT Module 1 Timer 4 interrupt Status.
Definition: gpt12e.h:4626

◆ GPT12E_T4_Int_Dis()

INLINE void GPT12E_T4_Int_Dis ( void  )

enables GPT Module 1 Timer 4 interrupt.

Example

This example treats the GPT Module 1 Timer 4 interrupt.

void Example_Function(void)
{
if (GPT12E_T4_Int_Sts() == (uint8)1)
{
GPT1_T4_CALLBACK();
}
}

◆ GPT12E_T4_Int_En()

INLINE void GPT12E_T4_Int_En ( void  )

enables GPT Module 1 Timer 4 interrupt.

Example

This example treats the GPT Module 1 Timer 4 interrupt.

void Example_Function(void)
{
if (GPT12E_T4_Int_Sts() == (uint8)1)
{
GPT1_T4_CALLBACK();
}
}

◆ GPT12E_T4_Int_Sts()

INLINE uint8 GPT12E_T4_Int_Sts ( void  )

reads GPT Module 1 Timer 4 interrupt Status.

Returns
T4 interrupt Status

Example

This example checks the GPT Module 1 Timer 4 interrupt Status and clears it.

void Example_Function(void)
{
if (GPT12E_T4_Int_Sts() == (uint8)1)
{
}
}

◆ GPT12E_T4_Mode_Capture_Input_Falling_T4In_Dis()

INLINE void GPT12E_T4_Mode_Capture_Input_Falling_T4In_Dis ( void  )

disables Falling Edge on T4In as T4 Capture Mode Input.

Example

This example disables Falling Edge on T4In as T4 Capture Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Mode_Capture_Sel(void)
selects T4 Capture Mode.
Definition: gpt12e.h:2161
INLINE void GPT12E_T4_Mode_Capture_Input_Falling_T4In_Dis(void)
disables Falling Edge on T4In as T4 Capture Mode Input.
Definition: gpt12e.h:2505

◆ GPT12E_T4_Mode_Capture_Input_Falling_T4In_En()

INLINE void GPT12E_T4_Mode_Capture_Input_Falling_T4In_En ( void  )

enables Falling Edge on T4In as T4 Capture Mode Input.

Example

This example enables Falling Edge on T4In as T4 Capture Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Mode_Capture_Input_Falling_T4In_En(void)
enables Falling Edge on T4In as T4 Capture Mode Input.
Definition: gpt12e.h:2487

◆ GPT12E_T4_Mode_Capture_Input_Rising_T4In_Dis()

INLINE void GPT12E_T4_Mode_Capture_Input_Rising_T4In_Dis ( void  )

disables Rising Edge on T4In as T4 Capture Mode Input.

Example

This example disables Rising Edge on T4In as T4 Capture Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Mode_Capture_Input_Rising_T4In_Dis(void)
disables Rising Edge on T4In as T4 Capture Mode Input.
Definition: gpt12e.h:2469

◆ GPT12E_T4_Mode_Capture_Input_Rising_T4In_En()

INLINE void GPT12E_T4_Mode_Capture_Input_Rising_T4In_En ( void  )

enables Rising Edge on T4In as T4 Capture Mode Input.

Example

This example enables Rising Edge on T4In as T4 Capture Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Mode_Capture_Input_Rising_T4In_En(void)
enables Rising Edge on T4In as T4 Capture Mode Input.
Definition: gpt12e.h:2451

◆ GPT12E_T4_Mode_Capture_Input_T4In_Sel()

INLINE void GPT12E_T4_Mode_Capture_Input_T4In_Sel ( void  )

selects T4In as T4 Capture Mode Input.

Example

This example selects T4In as T4 Capture Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Mode_Capture_Input_T4In_Sel(void)
selects T4In as T4 Capture Mode Input.
Definition: gpt12e.h:2433

◆ GPT12E_T4_Mode_Capture_Sel()

INLINE void GPT12E_T4_Mode_Capture_Sel ( void  )

selects T4 Capture Mode.

Example

This example selects T4 Capture Mode.

void Example_Function(void)
{
}

◆ GPT12E_T4_Mode_Counter_Input_Falling_T3Out_Dis()

INLINE void GPT12E_T4_Mode_Counter_Input_Falling_T3Out_Dis ( void  )

disables Falling Edge on T3OTL as T4 Counter Mode Input.

Example

This example disables Falling Edge on T3OTL as T4 Counter Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Mode_Counter_Sel(void)
selects T4 Counter Mode.
Definition: gpt12e.h:2093
INLINE void GPT12E_T4_Mode_Counter_Input_Falling_T3Out_Dis(void)
disables Falling Edge on T3OTL as T4 Counter Mode Input.
Definition: gpt12e.h:2415

◆ GPT12E_T4_Mode_Counter_Input_Falling_T3Out_En()

INLINE void GPT12E_T4_Mode_Counter_Input_Falling_T3Out_En ( void  )

enables Falling Edge on T3OTL as T4 Counter Mode Input.

Example

This example enables Falling Edge on T3OTL as T4 Counter Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Mode_Counter_Input_Falling_T3Out_En(void)
enables Falling Edge on T3OTL as T4 Counter Mode Input.
Definition: gpt12e.h:2397

◆ GPT12E_T4_Mode_Counter_Input_Falling_T4In_Dis()

INLINE void GPT12E_T4_Mode_Counter_Input_Falling_T4In_Dis ( void  )

disables Falling Edge on T4In as T4 Counter Mode Input.

Example

This example disables Falling Edge on T4In as T4 Counter Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Mode_Counter_Input_Falling_T4In_Dis(void)
disables Falling Edge on T4In as T4 Counter Mode Input.
Definition: gpt12e.h:2325

◆ GPT12E_T4_Mode_Counter_Input_Falling_T4In_En()

INLINE void GPT12E_T4_Mode_Counter_Input_Falling_T4In_En ( void  )

enables Falling Edge on T4In as T4 Counter Mode Input.

Example

This example enables Falling Edge on T4In as T4 Counter Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Mode_Counter_Input_Falling_T4In_En(void)
enables Falling Edge on T4In as T4 Counter Mode Input.
Definition: gpt12e.h:2307

◆ GPT12E_T4_Mode_Counter_Input_Rising_T3Out_Dis()

INLINE void GPT12E_T4_Mode_Counter_Input_Rising_T3Out_Dis ( void  )

disables Rising Edge on T3OTL as T4 Counter Mode Input.

Example

This example disables Rising Edge on T3OTL as T4 Counter Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Mode_Counter_Input_Rising_T3Out_Dis(void)
disables Rising Edge on T3OTL as T4 Counter Mode Input.
Definition: gpt12e.h:2379

◆ GPT12E_T4_Mode_Counter_Input_Rising_T3Out_En()

INLINE void GPT12E_T4_Mode_Counter_Input_Rising_T3Out_En ( void  )

enables Rising Edge on T3OTL as T4 Counter Mode Input.

Example

This example enables Rising Edge on T3OTL as T4 Counter Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Mode_Counter_Input_Rising_T3Out_En(void)
enables Rising Edge on T3OTL as T4 Counter Mode Input.
Definition: gpt12e.h:2361

◆ GPT12E_T4_Mode_Counter_Input_Rising_T4In_Dis()

INLINE void GPT12E_T4_Mode_Counter_Input_Rising_T4In_Dis ( void  )

disables Rising Edge on T4In as T4 Counter Mode Input.

Example

This example disables Rising Edge on T4In as T4 Counter Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Mode_Counter_Input_Rising_T4In_Dis(void)
disables Rising Edge on T4In as T4 Counter Mode Input.
Definition: gpt12e.h:2289

◆ GPT12E_T4_Mode_Counter_Input_Rising_T4In_En()

INLINE void GPT12E_T4_Mode_Counter_Input_Rising_T4In_En ( void  )

enables Rising Edge on T4In as T4 Counter Mode Input.

Example

This example enables Rising Edge on T4In as T4 Counter Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Mode_Counter_Input_Rising_T4In_En(void)
enables Rising Edge on T4In as T4 Counter Mode Input.
Definition: gpt12e.h:2271

◆ GPT12E_T4_Mode_Counter_Input_T3Out_Sel()

INLINE void GPT12E_T4_Mode_Counter_Input_T3Out_Sel ( void  )

selects T3OTL as T4 Counter Mode Input.

Example

This example selects T3OTL as T4 Counter Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Mode_Counter_Input_T3Out_Sel(void)
selects T3OTL as T4 Counter Mode Input.
Definition: gpt12e.h:2343

◆ GPT12E_T4_Mode_Counter_Input_T4In_Sel()

INLINE void GPT12E_T4_Mode_Counter_Input_T4In_Sel ( void  )

selects T4In as T4 Counter Mode Input.

Example

This example selects T4In as T4 Counter Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Mode_Counter_Input_T4In_Sel(void)
selects T4In as T4 Counter Mode Input.
Definition: gpt12e.h:2253

◆ GPT12E_T4_Mode_Counter_Sel()

INLINE void GPT12E_T4_Mode_Counter_Sel ( void  )

selects T4 Counter Mode.

Example

This example selects T4 Counter Mode.

void Example_Function(void)
{
}

◆ GPT12E_T4_Mode_Gated_Timer_Clk_Prescaler_Sel()

INLINE void GPT12E_T4_Mode_Gated_Timer_Clk_Prescaler_Sel ( uint16  t4i)

selects T4 Gated Timer Mode Parameter.

Parameters
t4iT4 Input Parameter Sel

Example

This example sets selects T4 Gated Timer Mode Parameter to 0x01.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Mode_Gated_Timer_High_Sel(void)
selects T4 Gated high Mode.
Definition: gpt12e.h:2127
INLINE void GPT12E_T4_Mode_Gated_Timer_Clk_Prescaler_Sel(uint16 t4i)
selects T4 Gated Timer Mode Parameter.
Definition: gpt12e.h:2235

◆ GPT12E_T4_Mode_Gated_Timer_High_Sel()

INLINE void GPT12E_T4_Mode_Gated_Timer_High_Sel ( void  )

selects T4 Gated high Mode.

Example

This example selects T4 Gated Timer Mode with gate active high.

void Example_Function(void)
{
}

◆ GPT12E_T4_Mode_Gated_Timer_Low_Sel()

INLINE void GPT12E_T4_Mode_Gated_Timer_Low_Sel ( void  )

selects T4 Gated low Mode.

Example

This example selects T4 Gated Timer Mode with gate active low.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Mode_Gated_Timer_Low_Sel(void)
selects T4 Gated low Mode.
Definition: gpt12e.h:2110

◆ GPT12E_T4_Mode_IncEnc_Any_T3EUD_Dis()

INLINE void GPT12E_T4_Mode_IncEnc_Any_T3EUD_Dis ( void  )

disables Falling or Falling Edge on T3EUD as T4 Incremental Interface Mode Input.

Example

This example disables Falling or Falling Edge on T3EUD as T4 Incremental Interface Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Mode_IncEnc_Edge_Sel(void)
selects T4 Incremental Interface -Edge Detection- Mode.
Definition: gpt12e.h:2195
INLINE void GPT12E_T4_Mode_IncEnc_Any_T3EUD_Dis(void)
disables Falling or Falling Edge on T3EUD as T4 Incremental Interface Mode Input.
Definition: gpt12e.h:2757

◆ GPT12E_T4_Mode_IncEnc_Any_T3EUD_En()

INLINE void GPT12E_T4_Mode_IncEnc_Any_T3EUD_En ( void  )

enables Falling or Falling Edge on T3EUD as T4 Incremental Interface Mode Input.

Example

This example enables Falling or Falling Edge on T3EUD as T4 Incremental Interface Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Mode_IncEnc_Any_T3EUD_En(void)
enables Falling or Falling Edge on T3EUD as T4 Incremental Interface Mode Input.
Definition: gpt12e.h:2739

◆ GPT12E_T4_Mode_IncEnc_Any_T3In_Dis()

INLINE void GPT12E_T4_Mode_IncEnc_Any_T3In_Dis ( void  )

disables Rising or Falling Edge on T3In as T4 Incremental Interface Mode Input.

Example

This example disables Rising or Falling Edge on T3In as T4 Incremental Interface Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Mode_IncEnc_Any_T3In_Dis(void)
disables Rising or Falling Edge on T3In as T4 Incremental Interface Mode Input.
Definition: gpt12e.h:2721

◆ GPT12E_T4_Mode_IncEnc_Any_T3In_En()

INLINE void GPT12E_T4_Mode_IncEnc_Any_T3In_En ( void  )

enables Rising or Falling Edge on T3In as T4 Incremental Interface Mode Input.

Example

This example enables Rising or Falling Edge on T3In as T4 Incremental Interface Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Mode_IncEnc_Any_T3In_En(void)
enables Rising or Falling Edge on T3In as T4 Incremental Interface Mode Input.
Definition: gpt12e.h:2703

◆ GPT12E_T4_Mode_IncEnc_Dir_Change_Clr()

INLINE void GPT12E_T4_Mode_IncEnc_Dir_Change_Clr ( void  )

clears Timer T4 Incremental Interface Direction Change.

Example

This example clears Direction Change of Timer T4 Incremental Interface if it's detected.

void Example_Function(void)
{
{
}
}
INLINE void GPT12E_T4_Mode_IncEnc_Dir_Change_Clr(void)
clears Timer T4 Incremental Interface Direction Change.
Definition: gpt12e.h:3096
INLINE uint8 GPT12E_T4_Mode_IncEnc_Dir_Change_Sts(void)
reads Timer T4 Incremental Interface Direction Change.
Definition: gpt12e.h:3075

◆ GPT12E_T4_Mode_IncEnc_Dir_Change_Sts()

INLINE uint8 GPT12E_T4_Mode_IncEnc_Dir_Change_Sts ( void  )

reads Timer T4 Incremental Interface Direction Change.

Returns
Direction Change

Example

This example clears Direction Change of Timer T4 Incremental Interface if it's detected.

◆ GPT12E_T4_Mode_IncEnc_DownCount_RotDir_Sel()

INLINE void GPT12E_T4_Mode_IncEnc_DownCount_RotDir_Sel ( void  )

selects Timer T4 Incremental Interface Rotation Detection Mode counts down.

Example

This example selects Timer T4 Incremental Interface Rotation Detection Mode counts down.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Mode_IncEnc_DownCount_RotDir_Sel(void)
selects Timer T4 Incremental Interface Rotation Detection Mode counts down.
Definition: gpt12e.h:2918
INLINE void GPT12E_T4_Mode_IncEnc_Rot_Sel(void)
selects T4 Incremental Interface -Rotation Detection- Mode.
Definition: gpt12e.h:2178

◆ GPT12E_T4_Mode_IncEnc_Edge_Detect_Clr()

INLINE void GPT12E_T4_Mode_IncEnc_Edge_Detect_Clr ( void  )

clears Timer T4 Incremental Interface Edge Detection Counting.

Example

This example clears counting of Timer T4 Incremental Interface Edge if it's detected.

void Example_Function(void)
{
{
}
}
INLINE void GPT12E_T4_Mode_IncEnc_Edge_Detect_Clr(void)
clears Timer T4 Incremental Interface Edge Detection Counting.
Definition: gpt12e.h:3052
INLINE uint8 GPT12E_T4_Mode_IncEnc_Edge_Detect_Sts(void)
reads Timer T4 Incremental Interface Edge Detection Counting.
Definition: gpt12e.h:3031

◆ GPT12E_T4_Mode_IncEnc_Edge_Detect_Sts()

INLINE uint8 GPT12E_T4_Mode_IncEnc_Edge_Detect_Sts ( void  )

reads Timer T4 Incremental Interface Edge Detection Counting.

Returns
Count Edge Detection

Example

This example clears counting of Timer T4 Incremental Interface Edge if it's detected.

◆ GPT12E_T4_Mode_IncEnc_Edge_Sel()

INLINE void GPT12E_T4_Mode_IncEnc_Edge_Sel ( void  )

selects T4 Incremental Interface -Edge Detection- Mode.

Example

This example selects T4 Incremental Interface -Edge Detection- Mode.

void Example_Function(void)
{
}

◆ GPT12E_T4_Mode_IncEnc_Rot_Sel()

INLINE void GPT12E_T4_Mode_IncEnc_Rot_Sel ( void  )

selects T4 Incremental Interface -Rotation Detection- Mode.

Example

This example selects T4 Incremental Interface -Rotation Detection- Mode.

void Example_Function(void)
{
}

◆ GPT12E_T4_Mode_IncEnc_UpCount_RotDir_Sel()

INLINE void GPT12E_T4_Mode_IncEnc_UpCount_RotDir_Sel ( void  )

selects Timer T4 Incremental Interface Rotation Detection Mode counts up.

Example

This example selects Timer T4 Incremental Interface Rotation Detection Mode counts up.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Mode_IncEnc_UpCount_RotDir_Sel(void)
selects Timer T4 Incremental Interface Rotation Detection Mode counts up.
Definition: gpt12e.h:2936

◆ GPT12E_T4_Mode_Reload_Input_Falling_T3Out_Dis()

INLINE void GPT12E_T4_Mode_Reload_Input_Falling_T3Out_Dis ( void  )

disables Falling Edge on T3OTL as T4 Reload Mode Input.

Example

This example disables Falling Edge on T3OTL as T4 Reload Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Mode_Reload_Sel(void)
selects T4 Reload Mode.
Definition: gpt12e.h:2144
INLINE void GPT12E_T4_Mode_Reload_Input_Falling_T3Out_Dis(void)
disables Falling Edge on T3OTL as T4 Reload Mode Input.
Definition: gpt12e.h:2685

◆ GPT12E_T4_Mode_Reload_Input_Falling_T3Out_En()

INLINE void GPT12E_T4_Mode_Reload_Input_Falling_T3Out_En ( void  )

enables Falling Edge on T3OTL as T4 Reload Mode Input.

Example

This example enables Falling Edge on T3OTL as T4 Reload Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Mode_Reload_Input_Falling_T3Out_En(void)
enables Falling Edge on T3OTL as T4 Reload Mode Input.
Definition: gpt12e.h:2667

◆ GPT12E_T4_Mode_Reload_Input_Falling_T4In_Dis()

INLINE void GPT12E_T4_Mode_Reload_Input_Falling_T4In_Dis ( void  )

disables Falling Edge on T4In as T4 Reload Mode Input.

Example

This example disables Falling Edge on T4In as T4 Reload Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Mode_Reload_Input_Falling_T4In_Dis(void)
disables Falling Edge on T4In as T4 Reload Mode Input.
Definition: gpt12e.h:2595

◆ GPT12E_T4_Mode_Reload_Input_Falling_T4In_En()

INLINE void GPT12E_T4_Mode_Reload_Input_Falling_T4In_En ( void  )

enables Falling Edge on T4In as T4 Reload Mode Input.

Example

This example enables Falling Edge on T4In as T4 Reload Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Mode_Reload_Input_Falling_T4In_En(void)
enables Falling Edge on T4In as T4 Reload Mode Input.
Definition: gpt12e.h:2577

◆ GPT12E_T4_Mode_Reload_Input_Rising_T3Out_Dis()

INLINE void GPT12E_T4_Mode_Reload_Input_Rising_T3Out_Dis ( void  )

disables Rising Edge on T3OTL as T4 Reload Mode Input.

Example

This example disables Rising Edge on T3OTL as T4 Reload Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Mode_Reload_Input_Rising_T3Out_Dis(void)
disables Rising Edge on T3OTL as T4 Reload Mode Input.
Definition: gpt12e.h:2649

◆ GPT12E_T4_Mode_Reload_Input_Rising_T3Out_En()

INLINE void GPT12E_T4_Mode_Reload_Input_Rising_T3Out_En ( void  )

enables Rising Edge on T3OTL as T4 Reload Mode Input.

Example

This example enables Rising Edge on T3OTL as T4 Reload Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Mode_Reload_Input_Rising_T3Out_En(void)
enables Rising Edge on T3OTL as T4 Reload Mode Input.
Definition: gpt12e.h:2631

◆ GPT12E_T4_Mode_Reload_Input_Rising_T4In_Dis()

INLINE void GPT12E_T4_Mode_Reload_Input_Rising_T4In_Dis ( void  )

disables Rising Edge on T4In as T4 Reload Mode Input.

Example

This example disables Rising Edge on T4In as T4 Reload Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Mode_Reload_Input_Rising_T4In_Dis(void)
disables Rising Edge on T4In as T4 Reload Mode Input.
Definition: gpt12e.h:2559

◆ GPT12E_T4_Mode_Reload_Input_Rising_T4In_En()

INLINE void GPT12E_T4_Mode_Reload_Input_Rising_T4In_En ( void  )

enables Rising Edge on T4In as T4 Reload Mode Input.

Example

This example enables Rising Edge on T4In as T4 Reload Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Mode_Reload_Input_Rising_T4In_En(void)
enables Rising Edge on T4In as T4 Reload Mode Input.
Definition: gpt12e.h:2541

◆ GPT12E_T4_Mode_Reload_Input_T3Out_Sel()

INLINE void GPT12E_T4_Mode_Reload_Input_T3Out_Sel ( void  )

selects T3OTL as T4 Reload Mode Input.

Example

This example selects T3OTL as T4 Reload Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Mode_Reload_Input_T3Out_Sel(void)
selects T3OTL as T4 Reload Mode Input.
Definition: gpt12e.h:2613

◆ GPT12E_T4_Mode_Reload_Input_T4In_Sel()

INLINE void GPT12E_T4_Mode_Reload_Input_T4In_Sel ( void  )

selects T4In as T4 Reload Mode Input.

Example

This example selects T4n as T4 Reload Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Mode_Reload_Input_T4In_Sel(void)
selects T4In as T4 Reload Mode Input.
Definition: gpt12e.h:2523

◆ GPT12E_T4_Mode_Reload_Sel()

INLINE void GPT12E_T4_Mode_Reload_Sel ( void  )

selects T4 Reload Mode.

Example

This example selects T4 Reload Mode.

void Example_Function(void)
{
}

◆ GPT12E_T4_Mode_Timer_Clk_Prescaler_Sel()

INLINE void GPT12E_T4_Mode_Timer_Clk_Prescaler_Sel ( uint16  t4i)

selects T4 Timer Mode Parameter.

Parameters
t4iT4 Input Parameter Sel

Example

This example sets T4 Timer Mode Parameter to 0x01.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Mode_Timer_Sel(void)
selects T4 Timer Mode.
Definition: gpt12e.h:2076
INLINE void GPT12E_T4_Mode_Timer_Clk_Prescaler_Sel(uint16 t4i)
selects T4 Timer Mode Parameter.
Definition: gpt12e.h:2215

◆ GPT12E_T4_Mode_Timer_Sel()

INLINE void GPT12E_T4_Mode_Timer_Sel ( void  )

selects T4 Timer Mode.

Example

This example selects T4 Timer Mode.

void Example_Function(void)
{
}

◆ GPT12E_T4_Start()

INLINE void GPT12E_T4_Start ( void  )

starts Timer T4.

Example

This example starts Timer T4.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Start(void)
starts Timer T4.
Definition: gpt12e.h:2775
INLINE void GPT12E_T4_Start_by_T3_Dis(void)
disables controlling Timer T4 by the run bit T3R of core timer T3.
Definition: gpt12e.h:2829

◆ GPT12E_T4_Start_by_T3_Dis()

INLINE void GPT12E_T4_Start_by_T3_Dis ( void  )

disables controlling Timer T4 by the run bit T3R of core timer T3.

Example

This example starts Timer T4.

void Example_Function(void)
{
}

◆ GPT12E_T4_Start_by_T3_En()

INLINE void GPT12E_T4_Start_by_T3_En ( void  )

enables controlling Timer T4 by the run bit T3R of core timer T3.

Example

This example starts Timer T4 by setting T3R.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Start_by_T3_En(void)
enables controlling Timer T4 by the run bit T3R of core timer T3.
Definition: gpt12e.h:2811

◆ GPT12E_T4_Stop()

INLINE void GPT12E_T4_Stop ( void  )

stops Timer T4.

Example

This example stops Timer T4.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Stop(void)
stops Timer T4.
Definition: gpt12e.h:2793

◆ GPT12E_T4_T4EUD_Sel()

INLINE void GPT12E_T4_T4EUD_Sel ( uint16  ist4eud)

selects Input for T4EUD.

Parameters
ist4eudInput Select for T4EUD.

Example

This example enables controlling Count direction by the external input T4EUDB.

void Example_Function(void)
{
}

◆ GPT12E_T4_T4In_Sel()

INLINE void GPT12E_T4_T4In_Sel ( uint16  ist4in)

selects Input for T4IN.

Parameters
ist4inInput Select for T4IN

Example

This example selects Rising Edge Counter Mode on T4INB Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_T4In_Sel(uint16 ist4in)
selects Input for T4IN.
Definition: gpt12e.h:3157

◆ GPT12E_T4_UpCount_Sel()

INLINE void GPT12E_T4_UpCount_Sel ( void  )

selects Timer T4 counts up.

Example

This example selects Timer T4 counts up (internally).

void Example_Function(void)
{
}
INLINE void GPT12E_T4_UpCount_Sel(void)
selects Timer T4 counts up.
Definition: gpt12e.h:2865

◆ GPT12E_T4_UpDownCount_Ext_Dis()

INLINE void GPT12E_T4_UpDownCount_Ext_Dis ( void  )

disables controlling Count direction by external input (T4EUD).

Example

This example selects Timer T4 counts up (internally).

void Example_Function(void)
{
}

◆ GPT12E_T4_UpDownCount_Ext_En()

INLINE void GPT12E_T4_UpDownCount_Ext_En ( void  )

enables controlling Count direction by external input (T4EUD).

Example

This example enables controlling Count direction by external input (T4EUD).

void Example_Function(void)
{
}

◆ GPT12E_T4_Value_Get()

INLINE uint16 GPT12E_T4_Value_Get ( void  )

reads Timer T4 Value.

Returns
T4 Value

Example

This example reads Timer T4 Value.

void Example_Function(void)
{
uint16 timer;
}
INLINE uint16 GPT12E_T4_Value_Get(void)
reads Timer T4 Value.
Definition: gpt12e.h:3117

◆ GPT12E_T4_Value_Set()

INLINE void GPT12E_T4_Value_Set ( uint16  t4)

sets Timer T4 Value.

Parameters
t4T4 Value

Example

This example sets Timer T4 Value to 5000.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_Value_Set(uint16 t4)
sets Timer T4 Value.
Definition: gpt12e.h:3136

◆ GPT12E_T5_Capture_Dis()

INLINE void GPT12E_T5_Capture_Dis ( void  )

disables T5 Capture Mode.

Example

This example disables T5 Capture Mode.

void Example_Function(void)
{
}
INLINE void GPT12E_T5_Capture_Dis(void)
disables T5 Capture Mode.
Definition: gpt12e.h:3527

◆ GPT12E_T5_Capture_En()

INLINE void GPT12E_T5_Capture_En ( void  )

enables T5 Capture Mode.

Example

This example enables T5 Capture Mode.

void Example_Function(void)
{
}

◆ GPT12E_T5_Capture_Trig_Any_T3EUD_Dis()

INLINE void GPT12E_T5_Capture_Trig_Any_T3EUD_Dis ( void  )

disables Any Edge on T3EUD as T5 Capture Mode Input.

Example

This example disables Any Edge on T3EUD as T5 Capture Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T5_Capture_Trig_T3In_T3EUD_Sel(void)
selects T3In and/or T3EUD as T5 Capture Mode Input.
Definition: gpt12e.h:3639
INLINE void GPT12E_T5_Capture_Trig_Any_T3EUD_Dis(void)
disables Any Edge on T3EUD as T5 Capture Mode Input.
Definition: gpt12e.h:3715

◆ GPT12E_T5_Capture_Trig_Any_T3EUD_En()

INLINE void GPT12E_T5_Capture_Trig_Any_T3EUD_En ( void  )

enables Any Edge on T3EUD as T5 Capture Mode Input.

Example

This example enables Any Edge on T3EUD as T5 Capture Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T5_Capture_Trig_Any_T3EUD_En(void)
enables Any Edge on T3EUD as T5 Capture Mode Input.
Definition: gpt12e.h:3696

◆ GPT12E_T5_Capture_Trig_Any_T3In_Dis()

INLINE void GPT12E_T5_Capture_Trig_Any_T3In_Dis ( void  )

disables Any Edge on T3In as T5 Capture Mode Input.

Example

This example disables Any Edge on T3In as T5 Capture Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T5_Capture_Trig_Any_T3In_Dis(void)
disables Any Edge on T3In as T5 Capture Mode Input.
Definition: gpt12e.h:3677

◆ GPT12E_T5_Capture_Trig_Any_T3In_En()

INLINE void GPT12E_T5_Capture_Trig_Any_T3In_En ( void  )

enables Any Edge on T3In as T5 Capture Mode Input.

Example

This example enables Any Edge on T3In as T5 Capture Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T5_Capture_Trig_Any_T3In_En(void)
enables Any Edge on T3In as T5 Capture Mode Input.
Definition: gpt12e.h:3658

◆ GPT12E_T5_Capture_Trig_CapIn_Sel()

INLINE void GPT12E_T5_Capture_Trig_CapIn_Sel ( void  )

selects CapIn as T5 Capture Mode Input.

Example

This example selects CapIn as T5 Capture Mode Input.

void Example_Function(void)
{
}

◆ GPT12E_T5_Capture_Trig_Falling_CapIn_Dis()

INLINE void GPT12E_T5_Capture_Trig_Falling_CapIn_Dis ( void  )

disables Falling Edge on CapIn as T5 Capture Mode Input.

Example

This example disables Falling Edge on CapIn as T5 Capture Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T5_Capture_Trig_Falling_CapIn_Dis(void)
disables Falling Edge on CapIn as T5 Capture Mode Input.
Definition: gpt12e.h:3621

◆ GPT12E_T5_Capture_Trig_Falling_CapIn_En()

INLINE void GPT12E_T5_Capture_Trig_Falling_CapIn_En ( void  )

enables Falling Edge on CapIn as T5 Capture Mode Input.

Example

This example enables Falling Edge on CapIn as T5 Capture Mode Input.

◆ GPT12E_T5_Capture_Trig_Rising_CapIn_Dis()

INLINE void GPT12E_T5_Capture_Trig_Rising_CapIn_Dis ( void  )

disables Rising Edge on CapIn as T5 Capture Mode Input.

Example

This example disables Rising Edge on CapIn as T5 Capture Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T5_Capture_Trig_Rising_CapIn_Dis(void)
disables Rising Edge on CapIn as T5 Capture Mode Input.
Definition: gpt12e.h:3583

◆ GPT12E_T5_Capture_Trig_Rising_CapIn_En()

INLINE void GPT12E_T5_Capture_Trig_Rising_CapIn_En ( void  )

enables Rising Edge on CapIn as T5 Capture Mode Input.

Example

This example enables Rising Edge on CapIn as T5 Capture Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T5_Capture_Trig_Rising_CapIn_En(void)
enables Rising Edge on CapIn as T5 Capture Mode Input.
Definition: gpt12e.h:3564

◆ GPT12E_T5_Capture_Trig_T3In_T3EUD_Sel()

INLINE void GPT12E_T5_Capture_Trig_T3In_T3EUD_Sel ( void  )

selects T3In and/or T3EUD as T5 Capture Mode Input.

Example

This example selects T3In and/or T3EUD as T5 Capture Mode Input.

void Example_Function(void)
{
}

◆ GPT12E_T5_Capture_Value_Get()

INLINE uint16 GPT12E_T5_Capture_Value_Get ( void  )

reads Current T5 Capture Value.

Returns
T5 Capture Value

Example

This example reads Current T5 Capture Value.

void Example_Function(void)
{
uint16 cap;
}
INLINE uint16 GPT12E_T5_Capture_Value_Get(void)
reads Current T5 Capture Value.
Definition: gpt12e.h:3773

◆ GPT12E_T5_Cleared_On_Capture_Dis()

INLINE void GPT12E_T5_Cleared_On_Capture_Dis ( void  )

disables clearing T5 on a Capture Event.

Example

This example disables clearing T5 on a Capture Event.

void Example_Function(void)
{
}
INLINE void GPT12E_T5_Cleared_On_Capture_Dis(void)
disables clearing T5 on a Capture Event.
Definition: gpt12e.h:3751

◆ GPT12E_T5_Cleared_On_Capture_En()

INLINE void GPT12E_T5_Cleared_On_Capture_En ( void  )

enables clearing T5 on a Capture Event.

Example

This example enables clearing T5 on a Capture Event.

void Example_Function(void)
{
}
INLINE void GPT12E_T5_Cleared_On_Capture_En(void)
enables clearing T5 on a Capture Event.
Definition: gpt12e.h:3733

◆ GPT12E_T5_DownCount_Sel()

INLINE void GPT12E_T5_DownCount_Sel ( void  )

selects Timer T5 counts down.

Example

This example selects Timer T5 counts down (internally).

void Example_Function(void)
{
}
INLINE void GPT12E_T5_UpDownCount_Ext_Dis(void)
disables controlling Count direction by external input (T5EUD).
Definition: gpt12e.h:3916
INLINE void GPT12E_T5_DownCount_Sel(void)
selects Timer T5 counts down.
Definition: gpt12e.h:3863

◆ GPT12E_T5_Int_Clr()

INLINE void GPT12E_T5_Int_Clr ( void  )

clears GPT Module 2 Timer 5 interrupt flag.

Example

This example treats the GPT Module 2 Timer 5 interrupt.

void Example_Function(void)
{
if (GPT12E_T5_Int_Sts() == (uint8)1)
{
GPT2_T5_CALLBACK();
}
}
INLINE void GPT12E_T5_Int_Dis(void)
disables GPT Module 2 Timer 5 interrupt.
Definition: gpt12e.h:5021
INLINE uint8 GPT12E_T5_Int_Sts(void)
reads GPT Module 2 Timer 5 interrupt Status.
Definition: gpt12e.h:4650
INLINE void GPT12E_T5_Int_En(void)
enables GPT Module 2 Timer 5 interrupt.
Definition: gpt12e.h:4998
INLINE void GPT12E_T5_Int_Clr(void)
clears GPT Module 2 Timer 5 interrupt flag.
Definition: gpt12e.h:4791

◆ GPT12E_T5_Int_Dis()

INLINE void GPT12E_T5_Int_Dis ( void  )

disables GPT Module 2 Timer 5 interrupt.

Example

This example treats the GPT Module 2 Timer 5 interrupt.

void Example_Function(void)
{
if (GPT12E_T5_Int_Sts() == (uint8)1)
{
GPT2_T5_CALLBACK();
}
}

◆ GPT12E_T5_Int_En()

INLINE void GPT12E_T5_Int_En ( void  )

enables GPT Module 2 Timer 5 interrupt.

Example

This example treats the GPT Module 2 Timer 5 interrupt.

void Example_Function(void)
{
if (GPT12E_T5_Int_Sts() == (uint8)1)
{
GPT2_T5_CALLBACK();
}
}

◆ GPT12E_T5_Int_Sts()

INLINE uint8 GPT12E_T5_Int_Sts ( void  )

reads GPT Module 2 Timer 5 interrupt Status.

Returns
T5 interrupt Status

Example

This example checks the GPT Module 2 Timer 5 interrupt Status and clears it.

void Example_Function(void)
{
if (GPT12E_T5_Int_Sts() == (uint8)1)
{
}
}

◆ GPT12E_T5_Mode_Counter_Input_Any_T5In_Sel()

INLINE void GPT12E_T5_Mode_Counter_Input_Any_T5In_Sel ( void  )

selects Any Edge on T5In as T5 Counter Mode Input.

Example

This example selects Any Edge on T5In as T5 Counter Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T5_Mode_Counter_Sel(void)
selects T5 Counter Mode.
Definition: gpt12e.h:3257
INLINE void GPT12E_T5_Mode_Counter_Input_Any_T5In_Sel(void)
selects Any Edge on T5In as T5 Counter Mode Input.
Definition: gpt12e.h:3403

◆ GPT12E_T5_Mode_Counter_Input_Falling_T5In_Sel()

INLINE void GPT12E_T5_Mode_Counter_Input_Falling_T5In_Sel ( void  )

selects Falling Edge on T5In as T5 Counter Mode Input.

Example

This example selects Falling Edge on T5In as T5 Counter Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T5_Mode_Counter_Input_Falling_T5In_Sel(void)
selects Falling Edge on T5In as T5 Counter Mode Input.
Definition: gpt12e.h:3385

◆ GPT12E_T5_Mode_Counter_Input_Falling_T6Out_Dis()

INLINE void GPT12E_T5_Mode_Counter_Input_Falling_T6Out_Dis ( void  )

disables Falling Edge on T6OTL as T5 Counter Mode Input.

Example

This example disables Falling Edge on T6OTL as T5 Counter Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T5_Mode_Counter_Input_Falling_T6Out_Dis(void)
disables Falling Edge on T6OTL as T5 Counter Mode Input.
Definition: gpt12e.h:3493

◆ GPT12E_T5_Mode_Counter_Input_Falling_T6Out_En()

INLINE void GPT12E_T5_Mode_Counter_Input_Falling_T6Out_En ( void  )

enables Falling Edge on T6OTL as T5 Counter Mode Input.

Example

This example enables Falling Edge on T6OTL as T5 Counter Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T5_Mode_Counter_Input_Falling_T6Out_En(void)
enables Falling Edge on T6OTL as T5 Counter Mode Input.
Definition: gpt12e.h:3475

◆ GPT12E_T5_Mode_Counter_Input_Rising_T5In_Sel()

INLINE void GPT12E_T5_Mode_Counter_Input_Rising_T5In_Sel ( void  )

selects Rising Edge on T5In as T5 Counter Mode Input.

Example

This example selects Rising Edge on T5In as T5 Counter Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T5_Mode_Counter_Input_Rising_T5In_Sel(void)
selects Rising Edge on T5In as T5 Counter Mode Input.
Definition: gpt12e.h:3367

◆ GPT12E_T5_Mode_Counter_Input_Rising_T6Out_Dis()

INLINE void GPT12E_T5_Mode_Counter_Input_Rising_T6Out_Dis ( void  )

disables Rising Edge on T6OTL as T5 Counter Mode Input.

Example

This example disables Rising Edge on T6OTL as T5 Counter Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T5_Mode_Counter_Input_Rising_T6Out_Dis(void)
disables Rising Edge on T6OTL as T5 Counter Mode Input.
Definition: gpt12e.h:3457

◆ GPT12E_T5_Mode_Counter_Input_Rising_T6Out_En()

INLINE void GPT12E_T5_Mode_Counter_Input_Rising_T6Out_En ( void  )

enables Rising Edge on T6OTL as T5 Counter Mode Input.

Example

This example enables Rising Edge on T6OTL as T5 Counter Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T5_Mode_Counter_Input_Rising_T6Out_En(void)
enables Rising Edge on T6OTL as T5 Counter Mode Input.
Definition: gpt12e.h:3439

◆ GPT12E_T5_Mode_Counter_Input_T5In_Sel()

INLINE void GPT12E_T5_Mode_Counter_Input_T5In_Sel ( void  )

selects T5In as T5 Counter Mode Input.

Example

This example selects T5In as T5 Counter Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T5_Mode_Counter_Input_T5In_Sel(void)
selects T5In as T5 Counter Mode Input.
Definition: gpt12e.h:3349

◆ GPT12E_T5_Mode_Counter_Input_T6Out_Sel()

INLINE void GPT12E_T5_Mode_Counter_Input_T6Out_Sel ( void  )

selects T6OTL as T5 Counter Mode Input.

Example

This example selects T6OTL as T5 Counter Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T5_Mode_Counter_Input_T6Out_Sel(void)
selects T6OTL as T5 Counter Mode Input.
Definition: gpt12e.h:3421

◆ GPT12E_T5_Mode_Counter_Sel()

INLINE void GPT12E_T5_Mode_Counter_Sel ( void  )

selects T5 Counter Mode.

Example

This example selects T5 Counter Mode.

void Example_Function(void)
{
}

◆ GPT12E_T5_Mode_Gated_Timer_Clk_Prescaler_Sel()

INLINE void GPT12E_T5_Mode_Gated_Timer_Clk_Prescaler_Sel ( uint16  t5i)

selects T5 Gated Timer Mode Parameter.

Parameters
t5iT5 Input Parameter Sel

Example

This example sets selects T5 Gated Timer Mode Parameter to 0x01.

void Example_Function(void)
{
}
INLINE void GPT12E_T5_Mode_Gated_Timer_High_Sel(void)
selects T5 Gated high Mode.
Definition: gpt12e.h:3291
INLINE void GPT12E_T5_Mode_Gated_Timer_Clk_Prescaler_Sel(uint16 t5i)
selects T5 Gated Timer Mode Parameter.
Definition: gpt12e.h:3331

◆ GPT12E_T5_Mode_Gated_Timer_High_Sel()

INLINE void GPT12E_T5_Mode_Gated_Timer_High_Sel ( void  )

selects T5 Gated high Mode.

Example

This example selects T5 Gated Timer Mode with gate active high.

void Example_Function(void)
{
}

◆ GPT12E_T5_Mode_Gated_Timer_Low_Sel()

INLINE void GPT12E_T5_Mode_Gated_Timer_Low_Sel ( void  )

selects T5 Gated low Mode.

Example

This example selects T5 Gated Timer Mode with gate active low.

void Example_Function(void)
{
}
INLINE void GPT12E_T5_Mode_Gated_Timer_Low_Sel(void)
selects T5 Gated low Mode.
Definition: gpt12e.h:3274

◆ GPT12E_T5_Mode_Timer_Clk_Prescaler_Sel()

INLINE void GPT12E_T5_Mode_Timer_Clk_Prescaler_Sel ( uint16  t5i)

selects T5 Timer Mode Parameter.

Parameters
t5iT5 Input Parameter Sel

Example

This example sets T5 Timer Mode Parameter to 0x01.

void Example_Function(void)
{
}
INLINE void GPT12E_T5_Mode_Timer_Clk_Prescaler_Sel(uint16 t5i)
selects T5 Timer Mode Parameter.
Definition: gpt12e.h:3311
INLINE void GPT12E_T5_Mode_Timer_Sel(void)
selects T5 Timer Mode.
Definition: gpt12e.h:3240

◆ GPT12E_T5_Mode_Timer_Sel()

INLINE void GPT12E_T5_Mode_Timer_Sel ( void  )

selects T5 Timer Mode.

Example

This example selects T5 Timer Mode.

void Example_Function(void)
{
}

◆ GPT12E_T5_Start()

INLINE void GPT12E_T5_Start ( void  )

starts Timer T5.

Example

This example starts Timer T5.

void Example_Function(void)
{
}
INLINE void GPT12E_T5_Start_by_T6_Dis(void)
disables controlling Timer T5 by the run bit T6R of core timer T6.
Definition: gpt12e.h:3827
INLINE void GPT12E_T5_Start(void)
starts Timer T5.
Definition: gpt12e.h:3791

◆ GPT12E_T5_Start_by_T6_Dis()

INLINE void GPT12E_T5_Start_by_T6_Dis ( void  )

disables controlling Timer T5 by the run bit T6R of core timer T6.

Example

This example starts Timer T5.

void Example_Function(void)
{
}

◆ GPT12E_T5_Start_by_T6_En()

INLINE void GPT12E_T5_Start_by_T6_En ( void  )

enables controlling Timer T5 by the run bit T6R of core timer T6.

Example

This example starts Timer T5 by setting T6R.

void Example_Function(void)
{
}
INLINE void GPT12E_T6_Start(void)
starts Timer T6.
Definition: gpt12e.h:4287
INLINE void GPT12E_T5_Start_by_T6_En(void)
enables controlling Timer T5 by the run bit T6R of core timer T6.
Definition: gpt12e.h:3845

◆ GPT12E_T5_Stop()

INLINE void GPT12E_T5_Stop ( void  )

stops Timer T5.

Example

This example stops Timer T5.

void Example_Function(void)
{
}
INLINE void GPT12E_T5_Stop(void)
stops Timer T5.
Definition: gpt12e.h:3809

◆ GPT12E_T5_T5EUD_Sel()

INLINE void GPT12E_T5_T5EUD_Sel ( uint16  ist5eud)

selects Input for T5EUD.

Parameters
ist5eudInput Select for T5EUD

Example

This example enables controlling Count direction by the external input T5EUDB.

void Example_Function(void)
{
}
INLINE void GPT12E_T5_T5EUD_Sel(uint16 ist5eud)
selects Input for T5EUD.
Definition: gpt12e.h:3997
INLINE void GPT12E_T5_UpDownCount_Ext_En(void)
enables controlling Count direction by external input (T5EUD).
Definition: gpt12e.h:3898

◆ GPT12E_T5_T5In_Sel()

INLINE void GPT12E_T5_T5In_Sel ( uint16  ist5in)

selects Input for T2IN.

Parameters
ist5inInput Select for T2IN

Example

This example selects Rising Edge Counter Mode on T2INB Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T5_T5In_Sel(uint16 ist5in)
selects Input for T2IN.
Definition: gpt12e.h:3977

◆ GPT12E_T5_UpCount_Sel()

INLINE void GPT12E_T5_UpCount_Sel ( void  )

selects Timer T5 counts up.

Example

This example selects Timer T5 counts up (internally).

void Example_Function(void)
{
}
INLINE void GPT12E_T5_UpCount_Sel(void)
selects Timer T5 counts up.
Definition: gpt12e.h:3881

◆ GPT12E_T5_UpDownCount_Ext_Dis()

INLINE void GPT12E_T5_UpDownCount_Ext_Dis ( void  )

disables controlling Count direction by external input (T5EUD).

Example

This example selects Timer T5 counts up (internally).

void Example_Function(void)
{
}

◆ GPT12E_T5_UpDownCount_Ext_En()

INLINE void GPT12E_T5_UpDownCount_Ext_En ( void  )

enables controlling Count direction by external input (T5EUD).

Example

This example enables controlling Count direction by external input (T5EUD).

void Example_Function(void)
{
}

◆ GPT12E_T5_Value_Get()

INLINE uint16 GPT12E_T5_Value_Get ( void  )

reads Timer T5 Value.

Returns
T5 Value

Example

This example reads Timer T5 Value.

void Example_Function(void)
{
uint16 timer;
}
INLINE uint16 GPT12E_T5_Value_Get(void)
reads Timer T5 Value.
Definition: gpt12e.h:3937

◆ GPT12E_T5_Value_Set()

INLINE void GPT12E_T5_Value_Set ( uint16  t5)

sets Timer T5 Value.

Parameters
t5T5 Value

Example

This example sets Timer T5 Value to 5000.

void Example_Function(void)
{
}
INLINE void GPT12E_T5_Value_Set(uint16 t5)
sets Timer T5 Value.
Definition: gpt12e.h:3956

◆ GPT12E_T6_DownCount_Sel()

INLINE void GPT12E_T6_DownCount_Sel ( void  )

selects Timer T6 counts down.

Example

This example selects Timer T6 counts down (internally).

void Example_Function(void)
{
}
INLINE void GPT12E_T6_UpDownCount_Ext_Dis(void)
disables controlling Count direction by external input (T6EUD).
Definition: gpt12e.h:4445
INLINE void GPT12E_T6_DownCount_Sel(void)
selects Timer T6 counts down.
Definition: gpt12e.h:4392

◆ GPT12E_T6_Int_Clr()

INLINE void GPT12E_T6_Int_Clr ( void  )

clears GPT Module 2 Timer 6 interrupt flag.

Example

This example treats the GPT Module 2 Timer 6 interrupt.

void Example_Function(void)
{
if (GPT12E_T6_Int_Sts() == (uint8)1)
{
GPT2_T6_CALLBACK();
}
}
INLINE uint8 GPT12E_T6_Int_Sts(void)
reads GPT Module 2 Timer 6 interrupt Status.
Definition: gpt12e.h:4674
INLINE void GPT12E_T6_Int_Dis(void)
disables GPT Module 2 Timer 6 interrupt.
Definition: gpt12e.h:5067
INLINE void GPT12E_T6_Int_En(void)
enables GPT Module 2 Timer 6 interrupt.
Definition: gpt12e.h:5044
INLINE void GPT12E_T6_Int_Clr(void)
clears GPT Module 2 Timer 6 interrupt flag.
Definition: gpt12e.h:4814

◆ GPT12E_T6_Int_Dis()

INLINE void GPT12E_T6_Int_Dis ( void  )

disables GPT Module 2 Timer 6 interrupt.

Example

This example treats the GPT Module 2 Timer 6 interrupt.

void Example_Function(void)
{
if (GPT12E_T6_Int_Sts() == (uint8)1)
{
GPT2_T6_CALLBACK();
}
}

◆ GPT12E_T6_Int_En()

INLINE void GPT12E_T6_Int_En ( void  )

enables GPT Module 2 Timer 6 interrupt.

Example

This example treats the GPT Module 2 Timer 6 interrupt.

void Example_Function(void)
{
if (GPT12E_T6_Int_Sts() == (uint8)1)
{
GPT2_T6_CALLBACK();
}
}

◆ GPT12E_T6_Int_Sts()

INLINE uint8 GPT12E_T6_Int_Sts ( void  )

reads GPT Module 2 Timer 6 interrupt Status.

Returns
T6 interrupt Status

Example

This example checks the GPT Module 2 Timer 6 interrupt Status and clears it.

void Example_Function(void)
{
if (GPT12E_T6_Int_Sts() == (uint8)1)
{
}
}

◆ GPT12E_T6_Interval_Timer_Setup()

bool GPT12E_T6_Interval_Timer_Setup ( uint32  timer_interval_us)

Initializes the T6 to be reloaded by CAPREL.

Parameters
timer_interval_ustimer interval in microseconds

Example

This example initializes the T6 to be reloaded by CAPREL with a timer interval equals to 5000 us.

void Example_Function(void)
{
bool sts;
return(sts);
}
bool GPT12E_T6_Interval_Timer_Setup(uint32 timer_interval_us)
Initializes the T6 to be reloaded by CAPREL.

◆ GPT12E_T6_Mode_Counter_Input_Any_T6In_Sel()

INLINE void GPT12E_T6_Mode_Counter_Input_Any_T6In_Sel ( void  )

selects Any Edge on T6In as T6 Counter Mode Input.

Example

This example selects Any Edge on T6In as T6 Counter Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T6_Mode_Counter_Input_Any_T6In_Sel(void)
selects Any Edge on T6In as T6 Counter Mode Input.
Definition: gpt12e.h:4180
INLINE void GPT12E_T6_Mode_Counter_Sel(void)
selects T6 Counter Mode.
Definition: gpt12e.h:4034

◆ GPT12E_T6_Mode_Counter_Input_Falling_T6In_Sel()

INLINE void GPT12E_T6_Mode_Counter_Input_Falling_T6In_Sel ( void  )

selects Falling Edge on T6In as T6 Counter Mode Input.

Example

This example selects Falling Edge on T6In as T6 Counter Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T6_Mode_Counter_Input_Falling_T6In_Sel(void)
selects Falling Edge on T6In as T6 Counter Mode Input.
Definition: gpt12e.h:4162

◆ GPT12E_T6_Mode_Counter_Input_Rising_T6In_Sel()

INLINE void GPT12E_T6_Mode_Counter_Input_Rising_T6In_Sel ( void  )

selects Rising Edge on T6In as T6 Counter Mode Input.

Example

This example selects Rising Edge on T6n as T6 Counter Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T6_Mode_Counter_Input_Rising_T6In_Sel(void)
selects Rising Edge on T6In as T6 Counter Mode Input.
Definition: gpt12e.h:4144

◆ GPT12E_T6_Mode_Counter_Input_T6In_Sel()

INLINE void GPT12E_T6_Mode_Counter_Input_T6In_Sel ( void  )

selects T6In as T6 Counter Mode Input.

Example

This example selects T6In as T6 Counter Mode Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T6_Mode_Counter_Input_T6In_Sel(void)
selects T6In as T6 Counter Mode Input.
Definition: gpt12e.h:4126

◆ GPT12E_T6_Mode_Counter_Sel()

INLINE void GPT12E_T6_Mode_Counter_Sel ( void  )

selects T6 Counter Mode.

Example

This example selects T6 Counter Mode.

void Example_Function(void)
{
}

◆ GPT12E_T6_Mode_Gated_Timer_Clk_Prescaler_Sel()

INLINE void GPT12E_T6_Mode_Gated_Timer_Clk_Prescaler_Sel ( uint16  t6i)

selects T6 Gated Timer Mode Parameter.

Parameters
t6iT6 Input Parameter Sel

Example

This example sets selects T6 Gated Timer Mode Parameter to 0x01.

void Example_Function(void)
{
}
INLINE void GPT12E_T6_Mode_Gated_Timer_High_Sel(void)
selects T6 Gated high Mode.
Definition: gpt12e.h:4068
INLINE void GPT12E_T6_Mode_Gated_Timer_Clk_Prescaler_Sel(uint16 t6i)
selects T6 Gated Timer Mode Parameter.
Definition: gpt12e.h:4108

◆ GPT12E_T6_Mode_Gated_Timer_High_Sel()

INLINE void GPT12E_T6_Mode_Gated_Timer_High_Sel ( void  )

selects T6 Gated high Mode.

Example

This example selects T6 Gated Timer Mode with gate active high.

void Example_Function(void)
{
}

◆ GPT12E_T6_Mode_Gated_Timer_Low_Sel()

INLINE void GPT12E_T6_Mode_Gated_Timer_Low_Sel ( void  )

selects T6 Gated low Mode.

Example

This example selects T6 Gated Timer Mode with gate active low.

void Example_Function(void)
{
}
INLINE void GPT12E_T6_Mode_Gated_Timer_Low_Sel(void)
selects T6 Gated low Mode.
Definition: gpt12e.h:4051

◆ GPT12E_T6_Mode_Timer_Clk_Prescaler_Sel()

INLINE void GPT12E_T6_Mode_Timer_Clk_Prescaler_Sel ( uint16  t6i)

selects T6 Timer Mode Parameter.

Parameters
t6iT6 Input Parameter Sel

Example

This example sets T6 Timer Mode Parameter to 0x01.

void Example_Function(void)
{
}
INLINE void GPT12E_T6_Mode_Timer_Sel(void)
selects T6 Timer Mode.
Definition: gpt12e.h:4017
INLINE void GPT12E_T6_Mode_Timer_Clk_Prescaler_Sel(uint16 t6i)
selects T6 Timer Mode Parameter.
Definition: gpt12e.h:4088

◆ GPT12E_T6_Mode_Timer_Sel()

INLINE void GPT12E_T6_Mode_Timer_Sel ( void  )

selects T6 Timer Mode.

Example

This example selects T6 Timer Mode.

void Example_Function(void)
{
}

◆ GPT12E_T6_On_Capture_Cleared_Dis()

INLINE void GPT12E_T6_On_Capture_Cleared_Dis ( void  )

disables clearing T6 on a Capture Event.

Example

This example disables clearing T6 on a Capture Event.

void Example_Function(void)
{
}
INLINE void GPT12E_T6_Reload_En(void)
enables T6 Reload Mode.
Definition: gpt12e.h:4197
INLINE void GPT12E_T6_On_Capture_Cleared_Dis(void)
disables clearing T6 on a Capture Event.
Definition: gpt12e.h:4270

◆ GPT12E_T6_On_Capture_Cleared_En()

INLINE void GPT12E_T6_On_Capture_Cleared_En ( void  )

enables clearing T6 on a Capture Event.

Example

This example enables clearing T6 on a Capture Event.

void Example_Function(void)
{
}
INLINE void GPT12E_T6_On_Capture_Cleared_En(void)
enables clearing T6 on a Capture Event.
Definition: gpt12e.h:4252

◆ GPT12E_T6_Output_Dis()

INLINE void GPT12E_T6_Output_Dis ( void  )

disables Timer T6 Overflow/Underflow Output.

Example

This example disables Timer T6 Overflow/Underflow Output.

void Example_Function(void)
{
}
INLINE void GPT12E_T6_Output_Dis(void)
disables Timer T6 Overflow/Underflow Output.
Definition: gpt12e.h:4338

◆ GPT12E_T6_Output_En()

INLINE void GPT12E_T6_Output_En ( void  )

enables Timer T6 Overflow/Underflow Output.

Example

This example enables Timer T6 Overflow/Underflow Output.

void Example_Function(void)
{
}
INLINE void GPT12E_T6_Output_En(void)
enables Timer T6 Overflow/Underflow Output.
Definition: gpt12e.h:4321

◆ GPT12E_T6_Output_Rst()

INLINE void GPT12E_T6_Output_Rst ( void  )

clears Timer T6 Overflow Toggle Latch.

Example

This example clears Timer T6 Overflow Toggle Latch.

void Example_Function(void)
{
}
INLINE void GPT12E_T6_Output_Rst(void)
clears Timer T6 Overflow Toggle Latch.
Definition: gpt12e.h:4374

◆ GPT12E_T6_Output_Set()

INLINE void GPT12E_T6_Output_Set ( void  )

sets Timer T6 Overflow Toggle Latch.

Example

This example sets Timer T6 Overflow Toggle Latch.

void Example_Function(void)
{
}
INLINE void GPT12E_T6_Output_Set(void)
sets Timer T6 Overflow Toggle Latch.
Definition: gpt12e.h:4356

◆ GPT12E_T6_Reload_Dis()

INLINE void GPT12E_T6_Reload_Dis ( void  )

disables T6 Reload Mode.

Example

This example disables T6 Reload Mode.

void Example_Function(void)
{
}
INLINE void GPT12E_T6_Reload_Dis(void)
disables T6 Reload Mode.
Definition: gpt12e.h:4214

◆ GPT12E_T6_Reload_En()

INLINE void GPT12E_T6_Reload_En ( void  )

enables T6 Reload Mode.

Example

This example enables T6 Reload Mode.

void Example_Function(void)
{
}

◆ GPT12E_T6_Reload_Value_Set()

INLINE void GPT12E_T6_Reload_Value_Set ( uint16  rl)

sets Current T6 Reload Value.

Parameters
rlT6 Reload Value

Example

This example sets Current T6 Reload Value to 5000.

void Example_Function(void)
{
}
INLINE void GPT12E_T6_Reload_Value_Set(uint16 rl)
sets Current T6 Reload Value.
Definition: gpt12e.h:4234

◆ GPT12E_T6_Start()

INLINE void GPT12E_T6_Start ( void  )

starts Timer T6.

Example

This example starts Timer T6.

void Example_Function(void)
{
}

◆ GPT12E_T6_Stop()

INLINE void GPT12E_T6_Stop ( void  )

stops Timer T6.

Example

This example stops Timer T6.

void Example_Function(void)
{
}
INLINE void GPT12E_T6_Stop(void)
stops Timer T6.
Definition: gpt12e.h:4304

◆ GPT12E_T6_T6EUD_Sel()

INLINE void GPT12E_T6_T6EUD_Sel ( uint16  ist6eud)

selects Input for T6EUD.

Parameters
ist6eudInput Select for T6EUD

Example

This example enables controlling Count direction by the external input T6EUDB.

void Example_Function(void)
{
}
INLINE void GPT12E_T6_T6EUD_Sel(uint16 ist6eud)
selects Input for T6EUD.
Definition: gpt12e.h:4526
INLINE void GPT12E_T6_UpDownCount_Ext_En(void)
enables controlling Count direction by external input (T6EUD).
Definition: gpt12e.h:4427

◆ GPT12E_T6_T6In_Sel()

INLINE void GPT12E_T6_T6In_Sel ( uint16  ist6in)

selects Input for T6IN.

Parameters
ist6inInput Select for T6IN

Example

This example selects Rising Edge Counter Mode on T6INB Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T6_T6In_Sel(uint16 ist6in)
selects Input for T6IN.
Definition: gpt12e.h:4506

◆ GPT12E_T6_UpCount_Sel()

INLINE void GPT12E_T6_UpCount_Sel ( void  )

selects Timer T6 counts up.

Example

This example selects Timer T6 counts up (internally).

void Example_Function(void)
{
}
INLINE void GPT12E_T6_UpCount_Sel(void)
selects Timer T6 counts up.
Definition: gpt12e.h:4410

◆ GPT12E_T6_UpDownCount_Ext_Dis()

INLINE void GPT12E_T6_UpDownCount_Ext_Dis ( void  )

disables controlling Count direction by external input (T6EUD).

Example

This example selects Timer T6 counts up (internally).

void Example_Function(void)
{
}

◆ GPT12E_T6_UpDownCount_Ext_En()

INLINE void GPT12E_T6_UpDownCount_Ext_En ( void  )

enables controlling Count direction by external input (T6EUD).

Example

This example enables controlling Count direction by external input (T6EUD).

void Example_Function(void)
{
}

◆ GPT12E_T6_Value_Get()

INLINE uint16 GPT12E_T6_Value_Get ( void  )

reads Timer T6 Value.

Returns
T6 Value

Example

This example reads Timer T6 Value.

void Example_Function(void)
{
uint16 timer;
}
INLINE uint16 GPT12E_T6_Value_Get(void)
reads Timer T6 Value.
Definition: gpt12e.h:4466

◆ GPT12E_T6_Value_Set()

INLINE void GPT12E_T6_Value_Set ( uint16  t6)

sets Timer T6 Value.

Parameters
t6T6 Value

Example

This example sets Timer T6 Value to 5000.

void Example_Function(void)
{
}
INLINE void GPT12E_T6_Value_Set(uint16 t6)
sets Timer T6 Value.
Definition: gpt12e.h:4485