Add analogin_init_direct() function to HAL API

pull/11892/head
Przemyslaw Stekiel 2019-08-26 13:17:04 +02:00
parent db5c5b5fb0
commit a67e6f0a90
1 changed files with 8 additions and 0 deletions

View File

@ -61,6 +61,14 @@ typedef struct analogin_s analogin_t;
*
*/
/** Initialize the analogin peripheral
*
* Configures the pin used by analogin.
* @param obj The analogin object to initialize
* @param pinmap pointer to strucure which holds static pinmap
*/
void analogin_init_direct(analogin_t* obj, const PinMap *pinmap);
/** Initialize the analogin peripheral
*
* Configures the pin used by analogin.