nrf5/hal/timer: Adding start/stop template functions to hal_timer.h/.c

This commit is contained in:
Glenn Ruben Bakke 2017-05-08 22:10:02 +02:00
parent 64f91e01ac
commit 130a00fdeb
2 changed files with 10 additions and 0 deletions

View File

@ -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) {
}

View File

@ -64,4 +64,8 @@ typedef struct {
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__