From 2ffb0ab65b96a04a36a30e825ceaa0fd99a7be03 Mon Sep 17 00:00:00 2001 From: Przemyslaw Stekiel Date: Mon, 26 Aug 2019 11:26:25 +0200 Subject: [PATCH] Add pwmout_init_direct function to HAL API --- hal/pwmout_api.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hal/pwmout_api.h b/hal/pwmout_api.h index bfd6250cbb..0d37233048 100644 --- a/hal/pwmout_api.h +++ b/hal/pwmout_api.h @@ -68,6 +68,13 @@ typedef struct pwmout_s pwmout_t; * */ +/** Initialize the pwm out peripheral and configure the pin + * + * @param obj The pwmout object to initialize + * @param pinmap pointer to strucure which holds static pinmap + */ +void pwmout_init_direct(pwmout_t* obj, const PinMap *pinmap); + /** Initialize the pwm out peripheral and configure the pin * * @param obj The pwmout object to initialize