mirror of https://github.com/ARMmbed/mbed-os.git
Add analogin_init_direct() function to HAL API
parent
db5c5b5fb0
commit
a67e6f0a90
|
|
@ -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
|
/** Initialize the analogin peripheral
|
||||||
*
|
*
|
||||||
* Configures the pin used by analogin.
|
* Configures the pin used by analogin.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue