Add pwmout_init_direct function to HAL API

pull/11892/head
Przemyslaw Stekiel 2019-08-26 11:26:25 +02:00
parent 3a38c6bae0
commit 2ffb0ab65b
1 changed files with 7 additions and 0 deletions

View File

@ -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 /** Initialize the pwm out peripheral and configure the pin
* *
* @param obj The pwmout object to initialize * @param obj The pwmout object to initialize