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