mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-27 15:31:17 +01:00
drivers/gpio: improved doc for gpio_init()
This commit is contained in:
parent
9ce9dd601c
commit
3ec75635ba
@ -138,6 +138,10 @@ typedef struct {
|
||||
/**
|
||||
* @brief Initialize the given pin as general purpose input or output
|
||||
*
|
||||
* When configured as output, the pin state after initialization is undefined.
|
||||
* The output pin's state **should** be untouched during the initialization.
|
||||
* This behavior can however **not be guaranteed** by every platform.
|
||||
*
|
||||
* @param[in] pin pin to initialize
|
||||
* @param[in] mode mode of the pin, see @c gpio_mode_t
|
||||
*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user