Infineon MOTIX™ MCU TLE985x Device Family SDK
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.4
Date
21. Jan 2022
Note
This file violates [MISRA 2012 Rule 5.1, required], [MISRA 2012 Rule 5.2, required], [MISRA 2012 Rule 5.4, required], [MISRA 2012 Rule 5.5, required], [MISRA 2012 Rule 11.1, required], [MISRA 2012 Rule 11.4, advisory], [MISRA 2012 Rule 11.6, required], [MISRA 2012 Rule 8.7, advisory]

Include Graph

Include dependency graph for gpt12e.h:

Enumerations

enum  TGPT1_Clk_Prescaler { GPT1_fSYS_Div_4 = 1u , GPT1_fSYS_Div_8 = 0u , GPT1_fSYS_Div_16 = 3u , GPT1_fSYS_Div_32 = 2u }
 This enum lists the GPT1 Timer Prescaler. More...
 
enum  TGPT12E_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
}
 This enum lists the GPT12E CCU6 Selection. More...
 
enum  TGPT12E_T2IN { GPT12E_T2INA_P12 = 0u , GPT12E_T2INB_P14 = 1u }
 This enum lists the GPT12E T2INx Inputs. More...
 
enum  TGPT12E_T2EUD { GPT12E_T2EUDA_P02 = 0u , GPT12E_T2EUDB_P23 = 1u }
 This enum lists the GPT12E T2EUDx Inputs. More...
 
enum  TGPT12E_T3IN { GPT12E_T3INA_CCU6_CH0 = 0u , GPT12E_T3INB_CCU6_SEL = 1u , GPT12E_T3INC_P10 = 2u , GPT12E_T3IND_P23 = 3u }
 This enum lists the GPT12E T3INx Inputs. More...
 
enum  TGPT12E_T3EUD { GPT12E_T3EUDA_P04 = 0u , GPT12E_T3EUDB_P27 = 1u , GPT12E_T3EUDC_P11 = 2u , GPT12E_T3EUDD_P03 = 3u }
 This enum lists the GPT12E T3EUDx Inputs. More...
 
enum  TGPT12E_T4IN { GPT12E_T4INA_P00 = 0u , GPT12E_T4INB_CCU6_CH0 = 1u , GPT12E_T4INC_P01 = 2u , GPT12E_T4IND_CCU6_SEL = 3u }
 This enum lists the GPT12E T4INx Inputs. More...
 
enum  TGPT12E_T4EUD { GPT12E_T4EUDA_P03 = 0u , GPT12E_T4EUDB_P10 = 1u , GPT12E_T4EUDC_P27 = 2u , GPT12E_T4EUDD_P21 = 3u }
 This enum lists the GPT12E T4EUDx Inputs. More...
 
enum  TGPT2_Clk_Prescaler { GPT2_fSYS_Div_2 = 1u , GPT2_fSYS_Div_4 = 0u , GPT2_fSYS_Div_8 = 3u , GPT2_fSYS_Div_16 = 2u }
 This enum lists the GPT2 Timer Prescaler. More...
 
enum  TGPT12E_T5IN { GPT12E_T5INA_P05 = 0u , GPT12E_T5INB_P11 = 1u }
 This enum lists the GPT12E T5INx Inputs. More...
 
enum  TGPT12E_T5EUD { GPT12E_T5EUDA_P14 = 0u , GPT12E_T5EUDB_P20 = 1u }
 This enum lists the GPT12E T5EUDx Inputs. More...
 
enum  TGPT12E_T6IN { GPT12E_T6INA_CC61 = 0u , GPT12E_T6INB_COUT61 = 1u }
 This enum lists the GPT12E T6INx Inputs. More...
 
enum  TGPT12E_T6EUD { GPT12E_T6EUDA_P11 = 0u , GPT12E_T6EUDB_P22 = 1u }
 This enum lists the GPT12E T6EUDx Inputs. More...
 
enum  TGPT12E_CAPIN { GPT12E_CAPINA_P01 = 0u , GPT12E_CAPINB_P03 = 1u , GPT12E_CAPINC_T3_READ = 2u , GPT12E_CAPIND_T2_T3_T4_READ = 3u }
 This enum lists the GPT12E CAPINx Inputs. More...
 
enum  TGPT12E_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
}
 This enum lists the GPT12E Timer Prescaler. More...
 

Functions

void GPT12E_Init (void)
 Initializes the GPT12E module. 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...
 
INLINE void GPT12E_GPT1_Clk_Prescaler_Sel (TGPT1_Clk_Prescaler bps1)
 Selects GPT1 Clock Prescaler. More...
 
INLINE uint8 GPT12E_GPT1_Clk_Prescaler_Get (void)
 Reads GPT1 Clock Prescaler. More...
 
INLINE void GPT12E_T3_T4_CCU6_Sel (TGPT12E_CCU6_SEL 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 (uint8 t2i)
 Selects T2 Timer Mode Parameter. More...
 
INLINE void GPT12E_T2_Mode_Gated_Timer_Clk_Prescaler_Sel (uint8 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 Rising or Falling Edge on T3EUD as T2 Incremental Interface Mode Input. More...
 
INLINE void GPT12E_T2_Mode_IncEnc_Any_T3EUD_Dis (void)
 Disables Rising 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 (TGPT12E_T2IN ist2in)
 Selects Input for T2IN. More...
 
INLINE void GPT12E_T2_T2EUD_Sel (TGPT12E_T2EUD 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 (uint8 t3i)
 Selects T3 Timer Mode Parameter. More...
 
INLINE void GPT12E_T3_Mode_Gated_Timer_Clk_Prescaler_Sel (uint8 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 (TGPT12E_T3IN ist3in)
 Selects Input for T3IN. More...
 
INLINE void GPT12E_T3_T3EUD_Sel (TGPT12E_T3EUD 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 (uint8 t4i)
 Selects T4 Timer Mode Parameter. More...
 
INLINE void GPT12E_T4_Mode_Gated_Timer_Clk_Prescaler_Sel (uint8 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 (TGPT12E_T4IN ist4in)
 Selects Input for T4IN. More...
 
INLINE void GPT12E_T4_T4EUD_Sel (TGPT12E_T4EUD ist4eud)
 Selects Input for T4EUD. More...
 
INLINE void GPT12E_GPT2_Clk_Prescaler_Sel (TGPT2_Clk_Prescaler bps2)
 Selects GPT2 Block Prescaler. More...
 
INLINE uint8 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 (uint8 t5i)
 Selects T5 Timer Mode Parameter. More...
 
INLINE void GPT12E_T5_Mode_Gated_Timer_Clk_Prescaler_Sel (uint8 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 (TGPT12E_T5IN ist5in)
 Selects Input for T2IN. More...
 
INLINE void GPT12E_T5_T5EUD_Sel (TGPT12E_T5EUD 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 (uint8 t6i)
 Selects T6 Timer Mode Parameter. More...
 
INLINE void GPT12E_T6_Mode_Gated_Timer_Clk_Prescaler_Sel (uint8 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 (TGPT12E_T6IN ist6in)
 Selects Input for T6IN. More...
 
INLINE void GPT12E_T6_T6EUD_Sel (TGPT12E_T6EUD ist6eud)
 Selects Input for T6EUD. More...
 
INLINE void GPT12E_CapRel_CAPIn_Sel (TGPT12E_CAPIN 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...
 

Enumeration Type Documentation

◆ TGPT12E_CAPIN

This enum lists the GPT12E CAPINx Inputs.

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

◆ TGPT12E_CCU6_SEL

This enum lists the GPT12E CCU6 Selection.

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

◆ TGPT12E_Mode_Timer_Prescaler

This enum lists the GPT12E 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

◆ TGPT12E_T2EUD

This enum lists the GPT12E T2EUDx Inputs.

Enumerator
GPT12E_T2EUDA_P02 

The input pin for T2EUDA

GPT12E_T2EUDB_P23 

The input pin for T2EUDB

◆ TGPT12E_T2IN

This enum lists the GPT12E T2INx Inputs.

Enumerator
GPT12E_T2INA_P12 

The input pin for T2INA

GPT12E_T2INB_P14 

The input pin for T2INB

◆ TGPT12E_T3EUD

This enum lists the GPT12E T3EUDx Inputs.

Enumerator
GPT12E_T3EUDA_P04 

The input pin for T3EUDA

GPT12E_T3EUDB_P27 

The input pin for T3EUDB

GPT12E_T3EUDC_P11 

The input pin for T3EUDC

GPT12E_T3EUDD_P03 

The input pin for T3EUDD

◆ TGPT12E_T3IN

This enum lists the GPT12E T3INx Inputs.

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_P23 

The input pin for T3IND

◆ TGPT12E_T4EUD

This enum lists the GPT12E T4EUDx Inputs.

Enumerator
GPT12E_T4EUDA_P03 

The input pin for T4EUDA

GPT12E_T4EUDB_P10 

The input pin for T4EUDB

GPT12E_T4EUDC_P27 

The input pin for T4EUDC

GPT12E_T4EUDD_P21 

The input pin for T4EUDD

◆ TGPT12E_T4IN

This enum lists the GPT12E T4INx Inputs.

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

◆ TGPT12E_T5EUD

This enum lists the GPT12E T5EUDx Inputs.

Enumerator
GPT12E_T5EUDA_P14 

The input pin for T5EUDA

GPT12E_T5EUDB_P20 

The input pin for T5EUDB

◆ TGPT12E_T5IN

This enum lists the GPT12E T5INx Inputs.

Enumerator
GPT12E_T5INA_P05 

The input pin for T5INA

GPT12E_T5INB_P11 

The input pin for T5INB

◆ TGPT12E_T6EUD

This enum lists the GPT12E T6EUDx Inputs.

Enumerator
GPT12E_T6EUDA_P11 

The input pin for T6EUDA

GPT12E_T6EUDB_P22 

The input pin for T6EUDB

◆ TGPT12E_T6IN

This enum lists the GPT12E T6INx Inputs.

Enumerator
GPT12E_T6INA_CC61 

The input pin for T6INA

GPT12E_T6INB_COUT61 

The input pin for T6INB

◆ TGPT1_Clk_Prescaler

This enum lists the GPT1 Timer 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

◆ TGPT2_Clk_Prescaler

This enum lists the GPT2 Timer 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 ( TGPT12E_CAPIN  iscapin)

Selects CAPIN.

Parameters
iscapinInput Select for CAPIN, see TGPT12E_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:5237
@ GPT12E_CAPINB_P03
Definition: gpt12e.h:219
INLINE void GPT12E_CapRel_CAPIn_Sel(TGPT12E_CAPIN iscapin)
Selects CAPIN.
Definition: gpt12e.h:5517
INLINE void GPT12E_T5_Capture_Trig_Falling_CapIn_En(void)
Enables Falling Edge on CapIn as T5 Capture Mode Input.
Definition: gpt12e.h:5262
INLINE void GPT12E_T5_Capture_Trig_CapIn_Sel(void)
Selects CapIn as T5 Capture Mode Input.
Definition: gpt12e.h:5247

◆ 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:5577
INLINE uint8 GPT12E_CapRel_Int_Sts(void)
Reads GPT Module 1 Capture Reload interrupt Status.
Definition: gpt12e.h:5547
INLINE void GPT12E_CapRel_Int_Dis(void)
Disables GPT Module 1 Capture Reload interrupt.
Definition: gpt12e.h:5637
INLINE void GPT12E_CapRel_Int_En(void)
Enables GPT Module 1 Capture Reload interrupt.
Definition: gpt12e.h:5632
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 treats the GPT Module 1 Capture Reload interrupt.

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

◆ GPT12E_GPT1_Clk_Prescaler_Get()

INLINE uint8 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)
{
uint32 pres;
}
INLINE uint8 GPT12E_GPT1_Clk_Prescaler_Get(void)
Reads GPT1 Clock Prescaler.
Definition: gpt12e.h:4367
uint32_t uint32
32 bit unsigned value
Definition: types.h:155

◆ GPT12E_GPT1_Clk_Prescaler_Sel()

INLINE void GPT12E_GPT1_Clk_Prescaler_Sel ( TGPT1_Clk_Prescaler  bps1)

Selects GPT1 Clock Prescaler.

Parameters
bps1GPT1 clock prescaler, see TGPT1_Clk_Prescaler.

Example

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

void Example_Function(void)
{
}
INLINE void GPT12E_GPT1_Clk_Prescaler_Sel(TGPT1_Clk_Prescaler bps1)
Selects GPT1 Clock Prescaler.
Definition: gpt12e.h:4362
@ GPT1_fSYS_Div_4
Definition: gpt12e.h:79

◆ GPT12E_GPT2_Clk_Prescaler_Get()

INLINE uint8 GPT12E_GPT2_Clk_Prescaler_Get ( void  )

Reads GPT2 Block Prescaler.

Returns
GPT2 clock prescaler

Example

This example reads clock for block GPT2.

void Example_Function(void)
{
uint16 pres;
}
INLINE uint8 GPT12E_GPT2_Clk_Prescaler_Get(void)
Reads GPT2 Block Prescaler.
Definition: gpt12e.h:5157
uint16_t uint16
16 bit unsigned value
Definition: types.h:154

◆ GPT12E_GPT2_Clk_Prescaler_Sel()

INLINE void GPT12E_GPT2_Clk_Prescaler_Sel ( TGPT2_Clk_Prescaler  bps2)

Selects GPT2 Block Prescaler.

Parameters
bps2GPT2 Clock Prescaler, see TGPT2_Clk_Prescaler.

Example

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

void Example_Function(void)
{
}
@ GPT2_fSYS_Div_2
Definition: gpt12e.h:171
INLINE void GPT12E_GPT2_Clk_Prescaler_Sel(TGPT2_Clk_Prescaler bps2)
Selects GPT2 Block Prescaler.
Definition: gpt12e.h:5152

◆ GPT12E_Init()

void GPT12E_Init ( void  )

Initializes the GPT12E module.

◆ 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:4597
INLINE void GPT12E_T2_UpDownCount_Ext_Dis(void)
Disables controlling Count direction by external input (T2EUD).
Definition: gpt12e.h:4612

◆ 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:5582
INLINE uint8 GPT12E_T2_Int_Sts(void)
Reads GPT Module 1 Timer 2 interrupt Status.
Definition: gpt12e.h:5522
INLINE void GPT12E_T2_Int_Clr(void)
Clears GPT Module 1 Timer 2 interrupt flag.
Definition: gpt12e.h:5552
INLINE void GPT12E_T2_Int_Dis(void)
Disables GPT Module 1 Timer 2 interrupt.
Definition: gpt12e.h:5587

◆ 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 treats the GPT Module 1 Timer 2 interrupt.

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

◆ 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:4497
INLINE void GPT12E_T2_Mode_Capture_Sel(void)
Selects T2 Capture Mode.
Definition: gpt12e.h:4402

◆ 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:4492

◆ 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:4487

◆ 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:4482

◆ 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:4477

◆ 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:4447
INLINE void GPT12E_T2_Mode_Counter_Sel(void)
Selects T2 Counter Mode.
Definition: gpt12e.h:4382

◆ 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:4442

◆ 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:4472

◆ 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:4467

◆ 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:4437

◆ 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:4432

◆ 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:4462

◆ 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:4457

◆ 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:4427

◆ 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:4452

◆ 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 ( uint8  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_Clk_Prescaler_Sel(uint8 t2i)
Selects T2 Gated Timer Mode Parameter.
Definition: gpt12e.h:4422
INLINE void GPT12E_T2_Mode_Gated_Timer_High_Sel(void)
Selects T2 Gated high Mode.
Definition: gpt12e.h:4392

◆ 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:4387

◆ GPT12E_T2_Mode_IncEnc_Any_T3EUD_Dis()

INLINE void GPT12E_T2_Mode_IncEnc_Any_T3EUD_Dis ( void  )

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

Example

This example disables Rising 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 Rising or Falling Edge on T3EUD as T2 Incremental Interface Mode Input.
Definition: gpt12e.h:4572
INLINE void GPT12E_T2_Mode_IncEnc_Edge_Sel(void)
Selects T2 Incremental Interface -Edge Detection- Mode.
Definition: gpt12e.h:4412

◆ GPT12E_T2_Mode_IncEnc_Any_T3EUD_En()

INLINE void GPT12E_T2_Mode_IncEnc_Any_T3EUD_En ( void  )

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

Example

This example enables Rising 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 Rising or Falling Edge on T3EUD as T2 Incremental Interface Mode Input.
Definition: gpt12e.h:4567

◆ 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:4562

◆ 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:4557

◆ 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:4637
INLINE void GPT12E_T2_Mode_IncEnc_Dir_Change_Clr(void)
Clears Timer T2 Incremental Interface Direction Change.
Definition: gpt12e.h:4642

◆ 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
T2 Incremental Interface 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:4407
INLINE void GPT12E_T2_Mode_IncEnc_DownCount_RotDir_Sel(void)
Selects Timer T2 Incremental Interface Rotation Detection Mode counts down.
Definition: gpt12e.h:4617

◆ 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:4632
INLINE uint8 GPT12E_T2_Mode_IncEnc_Edge_Detect_Sts(void)
Reads Timer T2 Incremental Interface Edge Detection Counting.
Definition: gpt12e.h:4627

◆ 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
T2 Incremental 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:4552

◆ 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:4622

◆ 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:4397
INLINE void GPT12E_T2_Mode_Reload_Input_Falling_T2In_Dis(void)
Disables Falling Edge on T2In as T2 Reload Mode Input.
Definition: gpt12e.h:4522

◆ 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:4517

◆ 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:4547

◆ 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:4542

◆ 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:4512

◆ 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:4507

◆ 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:4537

◆ 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:4532

◆ 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:4502

◆ 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:4527

◆ 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 ( uint8  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:4377
INLINE void GPT12E_T2_Mode_Timer_Clk_Prescaler_Sel(uint8 t2i)
Selects T2 Timer Mode Parameter.
Definition: gpt12e.h:4417

◆ 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:4592
INLINE void GPT12E_T2_Start(void)
Starts Timer T2.
Definition: gpt12e.h:4577

◆ 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:4587
INLINE void GPT12E_T3_Start(void)
Starts Timer T3.
Definition: gpt12e.h:4747

◆ 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:4582

◆ GPT12E_T2_T2EUD_Sel()

INLINE void GPT12E_T2_T2EUD_Sel ( TGPT12E_T2EUD  ist2eud)

Selects Input for T2EUD.

Parameters
ist2eudInput Select for T2EUD, see TGPT12E_T2EUD.

Example

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

void Example_Function(void)
{
}
@ GPT12E_T2EUDB_P23
Definition: gpt12e.h:119
INLINE void GPT12E_T2_T2EUD_Sel(TGPT12E_T2EUD ist2eud)
Selects Input for T2EUD.
Definition: gpt12e.h:4662
INLINE void GPT12E_T2_UpDownCount_Ext_En(void)
Enables controlling Count direction by external input (T2EUD).
Definition: gpt12e.h:4607

◆ GPT12E_T2_T2In_Sel()

INLINE void GPT12E_T2_T2In_Sel ( TGPT12E_T2IN  ist2in)

Selects Input for T2IN.

Parameters
ist2inInput Select for T2IN, see TGPT12E_T2IN.

Example

This example selects Rising Edge Counter Mode on T2INB Input.

void Example_Function(void)
{
}
@ GPT12E_T2INB_P14
Definition: gpt12e.h:110
INLINE void GPT12E_T2_T2In_Sel(TGPT12E_T2IN ist2in)
Selects Input for T2IN.
Definition: gpt12e.h:4657

◆ 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:4602

◆ 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;
timer = GPT12E_T2_Value_Get();
}
INLINE uint16 GPT12E_T2_Value_Get(void)
Reads Timer T2 Value.
Definition: gpt12e.h:4647

◆ 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:4652

◆ 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:4792
INLINE void GPT12E_T3_DownCount_Sel(void)
Selects Timer T3 counts down.
Definition: gpt12e.h:4777

◆ 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:5557
INLINE uint8 GPT12E_T3_Int_Sts(void)
Reads GPT Module 1 Timer 3 interrupt Status.
Definition: gpt12e.h:5527
INLINE void GPT12E_T3_Int_En(void)
Enables GPT Module 1 Timer 3 interrupt.
Definition: gpt12e.h:5592
INLINE void GPT12E_T3_Int_Dis(void)
Disables GPT Module 1 Timer 3 interrupt.
Definition: gpt12e.h:5597

◆ 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 treats the GPT Module 1 Timer 3 interrupt.

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

◆ 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:4672
INLINE void GPT12E_T3_Mode_Counter_Input_Falling_T3In_Dis(void)
Disables Falling Edge on T3In as T3 Counter Mode Input.
Definition: gpt12e.h:4722

◆ 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:4717

◆ 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:4712

◆ 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:4707

◆ 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 ( uint8  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(uint8 t3i)
Selects T3 Gated Timer Mode Parameter.
Definition: gpt12e.h:4702
INLINE void GPT12E_T3_Mode_Gated_Timer_High_Sel(void)
Selects T3 Gated high Mode.
Definition: gpt12e.h:4682

◆ 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:4677

◆ 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:4742
INLINE void GPT12E_T3_Mode_IncEnc_Edge_Sel(void)
Selects T3 Incremental Interface -Edge Detection- Mode.
Definition: gpt12e.h:4692

◆ 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:4737

◆ 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:4732

◆ 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:4727

◆ 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:4822
INLINE uint8 GPT12E_T3_Mode_IncEnc_Dir_Change_Sts(void)
Reads Timer T3 Incremental Interface Direction Change.
Definition: gpt12e.h:4817

◆ 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:4797
INLINE void GPT12E_T3_Mode_IncEnc_Rot_Sel(void)
Selects T3 Incremental Interface -Rotation Detection- Mode.
Definition: gpt12e.h:4687

◆ 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:4807
INLINE void GPT12E_T3_Mode_IncEnc_Edge_Detect_Clr(void)
Clears Timer T3 Incremental Interface Edge Detection Counting.
Definition: gpt12e.h:4812

◆ 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:4802

◆ GPT12E_T3_Mode_Timer_Clk_Prescaler_Sel()

INLINE void GPT12E_T3_Mode_Timer_Clk_Prescaler_Sel ( uint8  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_Sel(void)
Selects T3 Timer Mode.
Definition: gpt12e.h:4667
INLINE void GPT12E_T3_Mode_Timer_Clk_Prescaler_Sel(uint8 t3i)
Selects T3 Timer Mode Parameter.
Definition: gpt12e.h:4697

◆ 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:4762

◆ 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:4757

◆ 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:4772

◆ 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:4767

◆ 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:4752

◆ GPT12E_T3_T3EUD_Sel()

INLINE void GPT12E_T3_T3EUD_Sel ( TGPT12E_T3EUD  ist3eud)

Selects Input for T3EUD.

Parameters
ist3eudInput Select for T3EUD, see TGPT12E_T3EUD.

Example

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

void Example_Function(void)
{
}
@ GPT12E_T3EUDB_P27
Definition: gpt12e.h:139
INLINE void GPT12E_T3_T3EUD_Sel(TGPT12E_T3EUD ist3eud)
Selects Input for T3EUD.
Definition: gpt12e.h:4842
INLINE void GPT12E_T3_UpDownCount_Ext_En(void)
Enables controlling Count direction by external input (T3EUD).
Definition: gpt12e.h:4787

◆ GPT12E_T3_T3In_Sel()

INLINE void GPT12E_T3_T3In_Sel ( TGPT12E_T3IN  ist3in)

Selects Input for T3IN.

Parameters
ist3inInput Select for T3IN, see TGPT12E_T3IN.

Example

This example selects Rising Edge Counter Mode on T3INB Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T3_T3In_Sel(TGPT12E_T3IN ist3in)
Selects Input for T3IN.
Definition: gpt12e.h:4837
@ GPT12E_T3INB_CCU6_SEL
Definition: gpt12e.h:128

◆ GPT12E_T3_T4_CCU6_Sel()

INLINE void GPT12E_T3_T4_CCU6_Sel ( TGPT12E_CCU6_SEL  gpt)

Selects GPT12 TIN3B/TIN4D Input.

Parameters
gptGPT12 TIN3B/TIN4D Input Sel, see TGPT12E_CCU6_SEL.

Example

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

void Example_Function(void)
{
}
INLINE void GPT12E_T3_T4_CCU6_Sel(TGPT12E_CCU6_SEL gpt)
Selects GPT12 TIN3B/TIN4D Input.
Definition: gpt12e.h:4372
@ GPT12E_CCU6_T12_ZM
Definition: gpt12e.h:93

◆ 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:4782

◆ 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;
timer = GPT12E_T3_Value_Get();
}
INLINE uint16 GPT12E_T3_Value_Get(void)
Reads Timer T3 Value.
Definition: gpt12e.h:4827

◆ 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:4832

◆ 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:5097

◆ 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_T4EUD_Sel(TGPT12E_T4EUD ist4eud)
Selects Input for T4EUD.
Definition: gpt12e.h:5147
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:5092
INLINE void GPT12E_T4_UpDownCount_Ext_En(void)
Enables controlling Count direction by external input (T4EUD).
Definition: gpt12e.h:5072

◆ 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:5107

◆ 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:5102

◆ 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:5062
INLINE void GPT12E_T4_UpDownCount_Ext_Dis(void)
Disables controlling Count direction by external input (T4EUD).
Definition: gpt12e.h:5077

◆ 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:5562
INLINE void GPT12E_T4_Int_En(void)
Enables GPT Module 1 Timer 4 interrupt.
Definition: gpt12e.h:5602
INLINE void GPT12E_T4_Int_Dis(void)
Enables GPT Module 1 Timer 4 interrupt.
Definition: gpt12e.h:5607
INLINE uint8 GPT12E_T4_Int_Sts(void)
Reads GPT Module 1 Timer 4 interrupt Status.
Definition: gpt12e.h:5532

◆ 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 treats the GPT Module 1 Timer 4 interrupt.

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

◆ 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:4872
INLINE void GPT12E_T4_Mode_Capture_Input_Falling_T4In_Dis(void)
Disables Falling Edge on T4In as T4 Capture Mode Input.
Definition: gpt12e.h:4967

◆ 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:4962

◆ 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:4957

◆ 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:4952

◆ 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:4947

◆ 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:4852
INLINE void GPT12E_T4_Mode_Counter_Input_Falling_T3Out_Dis(void)
Disables Falling Edge on T3OTL as T4 Counter Mode Input.
Definition: gpt12e.h:4942

◆ 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:4937

◆ 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:4917

◆ 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:4912

◆ 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:4932

◆ 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:4927

◆ 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:4907

◆ 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:4902

◆ 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:4922

◆ 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:4897

◆ 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 ( uint8  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:4862
INLINE void GPT12E_T4_Mode_Gated_Timer_Clk_Prescaler_Sel(uint8 t4i)
Selects T4 Gated Timer Mode Parameter.
Definition: gpt12e.h:4892

◆ 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:4857

◆ 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:4882
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:5037

◆ 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:5032

◆ 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:5027

◆ 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:5022

◆ 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:5127
INLINE uint8 GPT12E_T4_Mode_IncEnc_Dir_Change_Sts(void)
Reads Timer T4 Incremental Interface Direction Change.
Definition: gpt12e.h:5122

◆ 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
T4 Incremental Interface 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:5082
INLINE void GPT12E_T4_Mode_IncEnc_Rot_Sel(void)
Selects T4 Incremental Interface -Rotation Detection- Mode.
Definition: gpt12e.h:4877

◆ 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:5117
INLINE uint8 GPT12E_T4_Mode_IncEnc_Edge_Detect_Sts(void)
Reads Timer T4 Incremental Interface Edge Detection Counting.
Definition: gpt12e.h:5112

◆ 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
T4 Incremental Interface 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:5087

◆ 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:4867
INLINE void GPT12E_T4_Mode_Reload_Input_Falling_T3Out_Dis(void)
Disables Falling Edge on T3OTL as T4 Reload Mode Input.
Definition: gpt12e.h:5017

◆ 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:5012

◆ 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:4992

◆ 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:4987

◆ 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:5007

◆ 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:5002

◆ 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:4982

◆ 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:4977

◆ 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:4997

◆ 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:4972

◆ 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 ( uint8  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:4847
INLINE void GPT12E_T4_Mode_Timer_Clk_Prescaler_Sel(uint8 t4i)
Selects T4 Timer Mode Parameter.
Definition: gpt12e.h:4887

◆ 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:5042
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:5057

◆ 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:5052

◆ 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:5047

◆ GPT12E_T4_T4EUD_Sel()

INLINE void GPT12E_T4_T4EUD_Sel ( TGPT12E_T4EUD  ist4eud)

Selects Input for T4EUD.

Parameters
ist4eudInput Select for T4EUD, see TGPT12E_T4EUD.

Example

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

void Example_Function(void)
{
}
@ GPT12E_T4EUDB_P10
Definition: gpt12e.h:161

◆ GPT12E_T4_T4In_Sel()

INLINE void GPT12E_T4_T4In_Sel ( TGPT12E_T4IN  ist4in)

Selects Input for T4IN.

Parameters
ist4inInput Select for T4IN, see TGPT12E_T4IN.

Example

This example selects Rising Edge Counter Mode on T4INB Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T4_T4In_Sel(TGPT12E_T4IN ist4in)
Selects Input for T4IN.
Definition: gpt12e.h:5142
@ GPT12E_T4INB_CCU6_CH0
Definition: gpt12e.h:150

◆ 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:5067

◆ 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:5132

◆ 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:5137

◆ 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:5242

◆ 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:5272
INLINE void GPT12E_T5_Capture_Trig_Any_T3EUD_Dis(void)
Disables Any Edge on T3EUD as T5 Capture Mode Input.
Definition: gpt12e.h:5292

◆ 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:5287

◆ 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:5282

◆ 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:5277

◆ 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:5267

◆ 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:5257

◆ 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:5252

◆ 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:5307

◆ 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:5302

◆ 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:5297

◆ 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:5347
INLINE void GPT12E_T5_DownCount_Sel(void)
Selects Timer T5 counts down.
Definition: gpt12e.h:5332

◆ 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:5617
INLINE uint8 GPT12E_T5_Int_Sts(void)
Reads GPT Module 2 Timer 5 interrupt Status.
Definition: gpt12e.h:5537
INLINE void GPT12E_T5_Int_En(void)
Enables GPT Module 2 Timer 5 interrupt.
Definition: gpt12e.h:5612
INLINE void GPT12E_T5_Int_Clr(void)
Clears GPT Module 2 Timer 5 interrupt flag.
Definition: gpt12e.h:5567

◆ 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 treats the GPT Module 2 Timer 5 interrupt.

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

◆ 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:5167
INLINE void GPT12E_T5_Mode_Counter_Input_Any_T5In_Sel(void)
Selects Any Edge on T5In as T5 Counter Mode Input.
Definition: gpt12e.h:5207

◆ 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:5202

◆ 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:5232

◆ 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:5227

◆ 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:5197

◆ 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:5222

◆ 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:5217

◆ 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:5192

◆ 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:5212

◆ 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 ( uint8  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:5177
INLINE void GPT12E_T5_Mode_Gated_Timer_Clk_Prescaler_Sel(uint8 t5i)
Selects T5 Gated Timer Mode Parameter.
Definition: gpt12e.h:5187

◆ 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:5172

◆ GPT12E_T5_Mode_Timer_Clk_Prescaler_Sel()

INLINE void GPT12E_T5_Mode_Timer_Clk_Prescaler_Sel ( uint8  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_Sel(void)
Selects T5 Timer Mode.
Definition: gpt12e.h:5162
INLINE void GPT12E_T5_Mode_Timer_Clk_Prescaler_Sel(uint8 t5i)
Selects T5 Timer Mode Parameter.
Definition: gpt12e.h:5182

◆ 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:5322
INLINE void GPT12E_T5_Start(void)
Starts Timer T5.
Definition: gpt12e.h:5312

◆ 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:5447
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:5327

◆ 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:5317

◆ GPT12E_T5_T5EUD_Sel()

INLINE void GPT12E_T5_T5EUD_Sel ( TGPT12E_T5EUD  ist5eud)

Selects Input for T5EUD.

Parameters
ist5eudInput Select for T5EUD, see TGPT12E_T5EUD.

Example

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

void Example_Function(void)
{
}
INLINE void GPT12E_T5_T5EUD_Sel(TGPT12E_T5EUD ist5eud)
Selects Input for T5EUD.
Definition: gpt12e.h:5367
INLINE void GPT12E_T5_UpDownCount_Ext_En(void)
Enables controlling Count direction by external input (T5EUD).
Definition: gpt12e.h:5342
@ GPT12E_T5EUDB_P20
Definition: gpt12e.h:192

◆ GPT12E_T5_T5In_Sel()

INLINE void GPT12E_T5_T5In_Sel ( TGPT12E_T5IN  ist5in)

Selects Input for T2IN.

Parameters
ist5inInput Select for T2IN, see TGPT12E_T5IN.

Example

This example selects Rising Edge Counter Mode on T2INB Input.

void Example_Function(void)
{
}
@ GPT12E_T5INB_P11
Definition: gpt12e.h:183
INLINE void GPT12E_T5_T5In_Sel(TGPT12E_T5IN ist5in)
Selects Input for T2IN.
Definition: gpt12e.h:5362

◆ 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:5337

◆ 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;
timer = GPT12E_T5_Value_Get();
}
INLINE uint16 GPT12E_T5_Value_Get(void)
Reads Timer T5 Value.
Definition: gpt12e.h:5352

◆ 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:5357

◆ 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:5492
INLINE void GPT12E_T6_DownCount_Sel(void)
Selects Timer T6 counts down.
Definition: gpt12e.h:5477

◆ 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:5542
INLINE void GPT12E_T6_Int_Dis(void)
Disables GPT Module 2 Timer 6 interrupt.
Definition: gpt12e.h:5627
INLINE void GPT12E_T6_Int_En(void)
Enables GPT Module 2 Timer 6 interrupt.
Definition: gpt12e.h:5622
INLINE void GPT12E_T6_Int_Clr(void)
Clears GPT Module 2 Timer 6 interrupt flag.
Definition: gpt12e.h:5572

◆ 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 treats the GPT Module 2 Timer 6 interrupt.

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

◆ 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
Return values
TRUEsetup done
FALSEsetup failed

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:5417
INLINE void GPT12E_T6_Mode_Counter_Sel(void)
Selects T6 Counter Mode.
Definition: gpt12e.h:5377

◆ 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:5412

◆ 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:5407

◆ 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:5402

◆ 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 ( uint8  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:5387
INLINE void GPT12E_T6_Mode_Gated_Timer_Clk_Prescaler_Sel(uint8 t6i)
Selects T6 Gated Timer Mode Parameter.
Definition: gpt12e.h:5397

◆ 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:5382

◆ GPT12E_T6_Mode_Timer_Clk_Prescaler_Sel()

INLINE void GPT12E_T6_Mode_Timer_Clk_Prescaler_Sel ( uint8  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:5372
INLINE void GPT12E_T6_Mode_Timer_Clk_Prescaler_Sel(uint8 t6i)
Selects T6 Timer Mode Parameter.
Definition: gpt12e.h:5392

◆ 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:5422
INLINE void GPT12E_T6_On_Capture_Cleared_Dis(void)
Disables clearing T6 on a Capture Event.
Definition: gpt12e.h:5442

◆ 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:5437

◆ 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:5462

◆ 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:5457

◆ 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:5472

◆ 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:5467

◆ 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:5427

◆ 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:5432

◆ 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:5452

◆ GPT12E_T6_T6EUD_Sel()

INLINE void GPT12E_T6_T6EUD_Sel ( TGPT12E_T6EUD  ist6eud)

Selects Input for T6EUD.

Parameters
ist6eudInput Select for T6EUD, see TGPT12E_T6EUD.

Example

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

void Example_Function(void)
{
}
INLINE void GPT12E_T6_UpDownCount_Ext_En(void)
Enables controlling Count direction by external input (T6EUD).
Definition: gpt12e.h:5487
INLINE void GPT12E_T6_T6EUD_Sel(TGPT12E_T6EUD ist6eud)
Selects Input for T6EUD.
Definition: gpt12e.h:5512
@ GPT12E_T6EUDB_P22
Definition: gpt12e.h:210

◆ GPT12E_T6_T6In_Sel()

INLINE void GPT12E_T6_T6In_Sel ( TGPT12E_T6IN  ist6in)

Selects Input for T6IN.

Parameters
ist6inInput Select for T6IN, see TGPT12E_T6IN.

Example

This example selects Rising Edge Counter Mode on T6INB Input.

void Example_Function(void)
{
}
INLINE void GPT12E_T6_T6In_Sel(TGPT12E_T6IN ist6in)
Selects Input for T6IN.
Definition: gpt12e.h:5507
@ GPT12E_T6INB_COUT61
Definition: gpt12e.h:201

◆ 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:5482

◆ 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;
timer = GPT12E_T6_Value_Get();
}
INLINE uint16 GPT12E_T6_Value_Get(void)
Reads Timer T6 Value.
Definition: gpt12e.h:5497

◆ 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:5502