Merge branch 'cmake_flow' into develop
This commit is contained in:
13
include/minres/devices/gpio.h
Normal file
13
include/minres/devices/gpio.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef _DEVICES_GPIO_H
|
||||
#define _DEVICES_GPIO_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "gen/gpio.h"
|
||||
|
||||
static inline void gpio_init(volatile gpio_t *reg) {
|
||||
set_gpio_write(reg, 0);
|
||||
set_gpio_writeEnable(reg, 0);
|
||||
}
|
||||
|
||||
#endif /* _DEVICES_GPIO_H */
|
Reference in New Issue
Block a user