#ifndef PULSE_GEN_H__ #define PULSE_GEN_H__ #include #include #include "sdk_errors.h" /** * @brief Initializes the PWM peripheral and app_timer for pulse generation. * * @return NRF_SUCCESS on successful initialization, otherwise an error code. */ ret_code_t pulse_gen_init(void); /** * @brief Starts the repeating pulse generation. * Generates a burst of pulses, waits a few ms, and repeats. */ void pulse_gen_start(void); /** * @brief Stops the repeating pulse generation. */ void pulse_gen_stop(void); #endif // PULSE_GEN_H__