replaces ehrenberg with new implementations
This commit is contained in:
12
include/minres/devices/gpio.h
Normal file
12
include/minres/devices/gpio.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#ifndef _DEVICES_GPIO_H
|
||||
#define _DEVICES_GPIO_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include "gen/gpio.h"
|
||||
|
||||
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