mirror of https://github.com/ARMmbed/mbed-os.git
Explicitly add gpio write/read prototypes to the HAL header
parent
95e66aa4c6
commit
585b369ab8
|
@ -29,9 +29,13 @@ extern "C" {
|
|||
uint32_t gpio_set(PinName pin);
|
||||
|
||||
/* GPIO object */
|
||||
void gpio_init(gpio_t *obj, PinName pin, PinDirection direction);
|
||||
void gpio_mode(gpio_t *obj, PinMode mode);
|
||||
void gpio_dir (gpio_t *obj, PinDirection direction);
|
||||
void gpio_init (gpio_t *obj, PinName pin, PinDirection direction);
|
||||
|
||||
void gpio_mode (gpio_t *obj, PinMode mode);
|
||||
void gpio_dir (gpio_t *obj, PinDirection direction);
|
||||
|
||||
void gpio_write(gpio_t *obj, int value);
|
||||
int gpio_read (gpio_t *obj);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue