summaryrefslogtreecommitdiff
path: root/stmhal/timer.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-01-29 22:31:56 +0000
committerDamien George <damien.p.george@gmail.com>2016-01-29 22:31:56 +0000
commitea89b80ff4f842b010f9f8ec3280675f81bc6bc5 (patch)
treee3879bcf6d78ee5efeb8cfea32ccad80cf5763e6 /stmhal/timer.h
parentd3631339176b768ce1ffdc535223385245ff906b (diff)
stmhal: Make TIM3 available for use by the user.
TIM3 is no longer used by USB CDC for triggering outgoing data, so we can now make it available to the user. PWM fading on LED(4) is now gone, but will be reinstated in a new way.
Diffstat (limited to 'stmhal/timer.h')
-rw-r--r--stmhal/timer.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/stmhal/timer.h b/stmhal/timer.h
index 8988197c0..89b3c79f4 100644
--- a/stmhal/timer.h
+++ b/stmhal/timer.h
@@ -24,18 +24,11 @@
* THE SOFTWARE.
*/
-// Periodically, the state of the buffer "UserTxBuffer" is checked.
-// The period depends on USBD_CDC_POLLING_INTERVAL
-// The value is in ms. The max is 65 and the min is 1.
-#define USBD_CDC_POLLING_INTERVAL (10)
-
-extern TIM_HandleTypeDef TIM3_Handle;
extern TIM_HandleTypeDef TIM5_Handle;
extern const mp_obj_type_t pyb_timer_type;
void timer_init0(void);
-void timer_tim3_init(void);
void timer_tim5_init(void);
TIM_HandleTypeDef *timer_tim6_init(uint freq);