You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cores/arduino/HardwareTimer.h
-3Lines changed: 0 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -112,15 +112,13 @@ class HardwareTimer {
112
112
voidsetPWM(uint32_t channel, PinName pin, uint32_t frequency, uint32_t dutycycle, void (*PeriodCallback)(HardwareTimer *) = NULL, void (*CompareCallback)(HardwareTimer *) = NULL); // Set all in one command freq in HZ, Duty in percentage. Including both interrup.
uint32_tgetCaptureCompare(uint32_t channel, TimerCompareFormat_t format = TICK_COMPARE_FORMAT); // return Capture/Compare register value of specified channel depending on format provided
123
-
124
122
voidsetCaptureCompare(uint32_t channel, uint32_t compare, TimerCompareFormat_t format = TICK_COMPARE_FORMAT); // set Compare register value of specified channel depending on format provided
125
123
126
124
voidsetInterruptPriority(uint32_t preemptPriority, uint32_t subPriority); // set interrupt priority
@@ -139,7 +137,6 @@ class HardwareTimer {
139
137
// Refresh() is usefull while timer is running after some registers update
140
138
voidrefresh(void); // Generate update event to force all registers (Autoreload, prescaler, compare) to be taken into account
141
139
142
-
143
140
uint32_tgetTimerClkFreq(); // return timer clock frequency in Hz.
144
141
145
142
staticvoidcaptureCompareCallback(TIM_HandleTypeDef *htim); // Generic Caputre and Compare callback which will call user callback
0 commit comments