diff options
Diffstat (limited to 'stmhal/timer.h')
-rw-r--r-- | stmhal/timer.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/stmhal/timer.h b/stmhal/timer.h index 06e19bcc8b..de8e7374a4 100644 --- a/stmhal/timer.h +++ b/stmhal/timer.h @@ -7,6 +7,11 @@ extern TIM_HandleTypeDef TIM3_Handle; extern TIM_HandleTypeDef TIM5_Handle; extern TIM_HandleTypeDef TIM6_Handle; +extern const mp_obj_type_t pyb_timer_type; + +void timer_init0(void); void timer_tim3_init(void); void timer_tim5_init(void); void timer_tim6_init(uint freq); + +void timer_irq_handler(uint tim_id); |