From 5e322ea0783cf3698f1c06d6534db7ba18c2e661 Mon Sep 17 00:00:00 2001 From: Glenn Ruben Bakke Date: Sat, 31 Dec 2016 17:06:07 +0100 Subject: [PATCH] nrf5/hal: Exposing two new PWM hal functions start() and stop(). --- nrf5/hal/hal_pwm.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nrf5/hal/hal_pwm.h b/nrf5/hal/hal_pwm.h index eb69731149..6837ad4a54 100644 --- a/nrf5/hal/hal_pwm.h +++ b/nrf5/hal/hal_pwm.h @@ -90,4 +90,8 @@ void hal_pwm_period_set(NRF_PWM_Type * p_instance, uint16_t period); void hal_pwm_duty_set(NRF_PWM_Type * p_instance, uint8_t duty); +void hal_pwm_start(NRF_PWM_Type * p_instance); + +void hal_pwm_stop(NRF_PWM_Type * p_instance); + #endif // HAL_PWM_H__