Home
last modified time | relevance | path

Searched refs:TIMER_T (Results 1 – 18 of 18) sorted by relevance

/hal_nuvoton-latest/m48x/StdDriver/inc/
Dtimer.h139 __STATIC_INLINE void TIMER_Start(TIMER_T *timer);
140 __STATIC_INLINE void TIMER_Stop(TIMER_T *timer);
141 __STATIC_INLINE void TIMER_EnableWakeup(TIMER_T *timer);
142 __STATIC_INLINE void TIMER_DisableWakeup(TIMER_T *timer);
143 __STATIC_INLINE void TIMER_StartCapture(TIMER_T *timer);
144 __STATIC_INLINE void TIMER_StopCapture(TIMER_T *timer);
145 __STATIC_INLINE void TIMER_EnableCaptureDebounce(TIMER_T *timer);
146 __STATIC_INLINE void TIMER_DisableCaptureDebounce(TIMER_T *timer);
147 __STATIC_INLINE void TIMER_EnableEventCounterDebounce(TIMER_T *timer);
148 __STATIC_INLINE void TIMER_DisableEventCounterDebounce(TIMER_T *timer);
[all …]
Dtimer_pwm.h714 void TPWM_SetCounterClockSource(TIMER_T *timer, uint32_t u32CntClkSrc);
715 uint32_t TPWM_ConfigOutputFreqAndDuty(TIMER_T *timer, uint32_t u32Frequency, uint32_t u32DutyCycle);
716 void TPWM_EnableDeadTime(TIMER_T *timer, uint32_t u32DTCount);
717 void TPWM_EnableDeadTimeWithPrescale(TIMER_T *timer, uint32_t u32DTCount);
718 void TPWM_DisableDeadTime(TIMER_T *timer);
719 void TPWM_EnableCounter(TIMER_T *timer);
720 void TPWM_DisableCounter(TIMER_T *timer);
721 void TPWM_EnableTriggerADC(TIMER_T *timer, uint32_t u32Condition);
722 void TPWM_DisableTriggerADC(TIMER_T *timer);
723 void TPWM_EnableFaultBrake(TIMER_T *timer, uint32_t u32CH0Level, uint32_t u32CH1Level, uint32_t u32…
[all …]
/hal_nuvoton-latest/m46x/StdDriver/inc/
Dtimer.h172 __STATIC_INLINE void TIMER_Start(TIMER_T *timer);
173 __STATIC_INLINE void TIMER_Stop(TIMER_T *timer);
174 __STATIC_INLINE void TIMER_EnableWakeup(TIMER_T *timer);
175 __STATIC_INLINE void TIMER_DisableWakeup(TIMER_T *timer);
176 __STATIC_INLINE void TIMER_StartCapture(TIMER_T *timer);
177 __STATIC_INLINE void TIMER_StopCapture(TIMER_T *timer);
178 __STATIC_INLINE void TIMER_EnableCaptureDebounce(TIMER_T *timer);
179 __STATIC_INLINE void TIMER_DisableCaptureDebounce(TIMER_T *timer);
180 __STATIC_INLINE void TIMER_EnableEventCounterDebounce(TIMER_T *timer);
181 __STATIC_INLINE void TIMER_DisableEventCounterDebounce(TIMER_T *timer);
[all …]
Dtimer_pwm.h740 void TPWM_SetCounterClockSource(TIMER_T *timer, uint32_t u32CntClkSrc);
741 uint32_t TPWM_ConfigOutputFreqAndDuty(TIMER_T *timer, uint32_t u32Frequency, uint32_t u32DutyCycle);
742 void TPWM_EnableDeadTime(TIMER_T *timer, uint32_t u32DTCount);
743 void TPWM_EnableDeadTimeWithPrescale(TIMER_T *timer, uint32_t u32DTCount);
744 void TPWM_DisableDeadTime(TIMER_T *timer);
745 void TPWM_EnableCounter(TIMER_T *timer);
746 void TPWM_DisableCounter(TIMER_T *timer);
747 void TPWM_EnableTriggerADC(TIMER_T *timer, uint32_t u32Condition);
748 void TPWM_DisableTriggerADC(TIMER_T *timer);
749 void TPWM_EnableFaultBrake(TIMER_T *timer, uint32_t u32CH0Level, uint32_t u32CH1Level, uint32_t u32…
[all …]
/hal_nuvoton-latest/m2l31x/StdDriver/inc/
Dtimer.h170 __STATIC_INLINE void TIMER_Start(TIMER_T *timer);
171 __STATIC_INLINE void TIMER_Stop(TIMER_T *timer);
172 __STATIC_INLINE void TIMER_EnableWakeup(TIMER_T *timer);
173 __STATIC_INLINE void TIMER_DisableWakeup(TIMER_T *timer);
174 __STATIC_INLINE void TIMER_StartCapture(TIMER_T *timer);
175 __STATIC_INLINE void TIMER_StopCapture(TIMER_T *timer);
176 __STATIC_INLINE void TIMER_EnableCaptureDebounce(TIMER_T *timer);
177 __STATIC_INLINE void TIMER_DisableCaptureDebounce(TIMER_T *timer);
178 __STATIC_INLINE void TIMER_EnableEventCounterDebounce(TIMER_T *timer);
179 __STATIC_INLINE void TIMER_DisableEventCounterDebounce(TIMER_T *timer);
[all …]
Dtimer_pwm.h476 uint32_t TPWM_ConfigOutputFreqAndDuty(TIMER_T *timer, uint32_t u32Frequency, uint32_t u32DutyCycle);
477 void TPWM_EnableCounter(TIMER_T *timer);
478 void TPWM_DisableCounter(TIMER_T *timer);
479 void TPWM_EnableTrigger(TIMER_T *timer, uint32_t u32TargetMask, uint32_t u32Condition);
480 void TPWM_DisableTrigger(TIMER_T *timer, uint32_t u32TargetMask);
558 __STATIC_INLINE void TPWM_EnableWakeup(TIMER_T *timer);
559 __STATIC_INLINE void TPWM_DisableWakeup(TIMER_T *timer);
560 __STATIC_INLINE uint32_t TPWM_GetWakeupFlag(TIMER_T *timer);
561 __STATIC_INLINE void TPWM_ClearWakeupFlag(TIMER_T *timer);
575 __STATIC_INLINE void TPWM_EnableWakeup(TIMER_T *timer) in TPWM_EnableWakeup()
[all …]
/hal_nuvoton-latest/m46x/StdDriver/src/
Dtimer_pwm.c39 void TPWM_SetCounterClockSource(TIMER_T *timer, uint32_t u32CntClkSrc) in TPWM_SetCounterClockSource()
56 uint32_t TPWM_ConfigOutputFreqAndDuty(TIMER_T *timer, uint32_t u32Frequency, uint32_t u32DutyCycle) in TPWM_ConfigOutputFreqAndDuty()
119 void TPWM_EnableDeadTime(TIMER_T *timer, uint32_t u32DTCount) in TPWM_EnableDeadTime()
135 void TPWM_EnableDeadTimeWithPrescale(TIMER_T *timer, uint32_t u32DTCount) in TPWM_EnableDeadTimeWithPrescale()
150 void TPWM_DisableDeadTime(TIMER_T *timer) in TPWM_DisableDeadTime()
164 void TPWM_EnableCounter(TIMER_T *timer) in TPWM_EnableCounter()
178 void TPWM_DisableCounter(TIMER_T *timer) in TPWM_DisableCounter()
198 void TPWM_EnableTriggerADC(TIMER_T *timer, uint32_t u32Condition) in TPWM_EnableTriggerADC()
212 void TPWM_DisableTriggerADC(TIMER_T *timer) in TPWM_DisableTriggerADC()
252 void TPWM_EnableFaultBrake(TIMER_T *timer, uint32_t u32CH0Level, uint32_t u32CH1Level, uint32_t u32… in TPWM_EnableFaultBrake()
[all …]
Dtimer.c42 uint32_t TIMER_Open(TIMER_T *timer, uint32_t u32Mode, uint32_t u32Freq) in TIMER_Open()
75 void TIMER_Close(TIMER_T *timer) in TIMER_Close()
94 int32_t TIMER_Delay(TIMER_T *timer, uint32_t u32Usec) in TIMER_Delay()
194 void TIMER_EnableCapture(TIMER_T *timer, uint32_t u32CapMode, uint32_t u32Edge) in TIMER_EnableCapture()
209 void TIMER_DisableCapture(TIMER_T *timer) in TIMER_DisableCapture()
228 void TIMER_EnableEventCounter(TIMER_T *timer, uint32_t u32Edge) in TIMER_EnableEventCounter()
243 void TIMER_DisableEventCounter(TIMER_T *timer) in TIMER_DisableEventCounter()
258 uint32_t TIMER_GetModuleClock(TIMER_T *timer) in TIMER_GetModuleClock()
312 void TIMER_EnableFreqCounter(TIMER_T *timer, in TIMER_EnableFreqCounter()
317 TIMER_T *t; /* store the timer base to configure compare value */ in TIMER_EnableFreqCounter()
[all …]
/hal_nuvoton-latest/m48x/StdDriver/src/
Dtimer_pwm.c38 void TPWM_SetCounterClockSource(TIMER_T *timer, uint32_t u32CntClkSrc) in TPWM_SetCounterClockSource()
55 uint32_t TPWM_ConfigOutputFreqAndDuty(TIMER_T *timer, uint32_t u32Frequency, uint32_t u32DutyCycle) in TPWM_ConfigOutputFreqAndDuty()
118 void TPWM_EnableDeadTime(TIMER_T *timer, uint32_t u32DTCount) in TPWM_EnableDeadTime()
134 void TPWM_EnableDeadTimeWithPrescale(TIMER_T *timer, uint32_t u32DTCount) in TPWM_EnableDeadTimeWithPrescale()
149 void TPWM_DisableDeadTime(TIMER_T *timer) in TPWM_DisableDeadTime()
163 void TPWM_EnableCounter(TIMER_T *timer) in TPWM_EnableCounter()
177 void TPWM_DisableCounter(TIMER_T *timer) in TPWM_DisableCounter()
197 void TPWM_EnableTriggerADC(TIMER_T *timer, uint32_t u32Condition) in TPWM_EnableTriggerADC()
211 void TPWM_DisableTriggerADC(TIMER_T *timer) in TPWM_DisableTriggerADC()
251 void TPWM_EnableFaultBrake(TIMER_T *timer, uint32_t u32CH0Level, uint32_t u32CH1Level, uint32_t u32… in TPWM_EnableFaultBrake()
[all …]
Dtimer.c41 uint32_t TIMER_Open(TIMER_T *timer, uint32_t u32Mode, uint32_t u32Freq) in TIMER_Open()
74 void TIMER_Close(TIMER_T *timer) in TIMER_Close()
92 void TIMER_Delay(TIMER_T *timer, uint32_t u32Usec) in TIMER_Delay()
174 void TIMER_EnableCapture(TIMER_T *timer, uint32_t u32CapMode, uint32_t u32Edge) in TIMER_EnableCapture()
189 void TIMER_DisableCapture(TIMER_T *timer) in TIMER_DisableCapture()
208 void TIMER_EnableEventCounter(TIMER_T *timer, uint32_t u32Edge) in TIMER_EnableEventCounter()
223 void TIMER_DisableEventCounter(TIMER_T *timer) in TIMER_DisableEventCounter()
238 uint32_t TIMER_GetModuleClock(TIMER_T *timer) in TIMER_GetModuleClock()
294 void TIMER_EnableFreqCounter(TIMER_T *timer, in TIMER_EnableFreqCounter()
299 TIMER_T *t; /* store the timer base to configure compare value */ in TIMER_EnableFreqCounter()
[all …]
/hal_nuvoton-latest/m2l31x/StdDriver/src/
Dtimer_pwm.c36 uint32_t TPWM_ConfigOutputFreqAndDuty(TIMER_T *timer, uint32_t u32Frequency, uint32_t u32DutyCycle) in TPWM_ConfigOutputFreqAndDuty()
101 void TPWM_EnableCounter(TIMER_T *timer) in TPWM_EnableCounter()
115 void TPWM_DisableCounter(TIMER_T *timer) in TPWM_DisableCounter()
137 void TPWM_EnableTrigger(TIMER_T *timer, uint32_t u32TargetMask, uint32_t u32Condition) in TPWM_EnableTrigger()
157 void TPWM_DisableTrigger(TIMER_T *timer, uint32_t u32TargetMask) in TPWM_DisableTrigger()
172 void TPWM_EnableAcc(TIMER_T *timer, uint32_t u32IntFlagCnt, uint32_t u32IntAccSrc) in TPWM_EnableAcc()
184 void TPWM_DisableAcc(TIMER_T *timer) in TPWM_DisableAcc()
195 void TPWM_EnableAccInt(TIMER_T *timer) in TPWM_EnableAccInt()
206 void TPWM_DisableAccInt(TIMER_T *timer) in TPWM_DisableAccInt()
217 void TPWM_ClearAccInt(TIMER_T *timer) in TPWM_ClearAccInt()
[all …]
Dtimer.c42 uint32_t TIMER_Open(TIMER_T *timer, uint32_t u32Mode, uint32_t u32Freq) in TIMER_Open()
76 void TIMER_Close(TIMER_T *timer) in TIMER_Close()
97 int32_t TIMER_Delay(TIMER_T *timer, uint32_t u32Usec) in TIMER_Delay()
202 void TIMER_EnableCapture(TIMER_T *timer, uint32_t u32CapMode, uint32_t u32Edge) in TIMER_EnableCapture()
218 void TIMER_DisableCapture(TIMER_T *timer) in TIMER_DisableCapture()
238 void TIMER_EnableEventCounter(TIMER_T *timer, uint32_t u32Edge) in TIMER_EnableEventCounter()
254 void TIMER_DisableEventCounter(TIMER_T *timer) in TIMER_DisableEventCounter()
270 uint32_t TIMER_GetModuleClock(TIMER_T *timer) in TIMER_GetModuleClock()
325 void TIMER_EnableFreqCounter(TIMER_T *timer, in TIMER_EnableFreqCounter()
330 TIMER_T *t; /* store the timer base to configure compare value */ in TIMER_EnableFreqCounter()
[all …]
/hal_nuvoton-latest/m48x/Devices/M480/Include/
DM480.h411 #define TIMER0 ((TIMER_T *) TIMER0_BASE)
412 #define TIMER1 ((TIMER_T *) TIMER1_BASE)
413 #define TIMER2 ((TIMER_T *) TIMER2_BASE)
414 #define TIMER3 ((TIMER_T *) TIMER3_BASE)
Dtimer_reg.h752 } TIMER_T; typedef
/hal_nuvoton-latest/m2l31x/Devices/M2L31/Include/
DM2L31.h496 #define TIMER0 ((TIMER_T *) TIMER01_BASE)
497 #define TIMER1 ((TIMER_T *) (TIMER01_BASE + 0x100UL))
498 #define TIMER2 ((TIMER_T *) TIMER23_BASE)
499 #define TIMER3 ((TIMER_T *) (TIMER23_BASE+ 0x100UL))
Dtimer_reg.h563 } TIMER_T; typedef
/hal_nuvoton-latest/m46x/Devices/M460/Include/
Dm460.h493 #define TIMER0 ((TIMER_T *) TIMER0_BASE)
494 #define TIMER1 ((TIMER_T *) TIMER1_BASE)
495 #define TIMER2 ((TIMER_T *) TIMER2_BASE)
496 #define TIMER3 ((TIMER_T *) TIMER3_BASE)
Dtimer_reg.h846 } TIMER_T; typedef