nrf5/hal/timer: Adding start/stop template functions to hal_timer.h/.c
This commit is contained in:
parent
64f91e01ac
commit
130a00fdeb
|
@ -33,6 +33,12 @@ void hal_timer_init(hal_timer_conf_t const * p_timer_conf) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void hal_timer_start(uint8_t id) {
|
||||||
|
}
|
||||||
|
|
||||||
|
void hal_timer_stop(uint8_t id) {
|
||||||
|
}
|
||||||
|
|
||||||
void TIMER0_IRQHandler(void) {
|
void TIMER0_IRQHandler(void) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -64,4 +64,8 @@ typedef struct {
|
||||||
|
|
||||||
void hal_timer_init(hal_timer_conf_t const * p_timer_config);
|
void hal_timer_init(hal_timer_conf_t const * p_timer_config);
|
||||||
|
|
||||||
|
void hal_timer_start(uint8_t id);
|
||||||
|
|
||||||
|
void hal_timer_stop(uint8_t id);
|
||||||
|
|
||||||
#endif // HAL_TIMER_H__
|
#endif // HAL_TIMER_H__
|
||||||
|
|
Loading…
Reference in New Issue