updates Ehrenberg register description
This commit is contained in:
@@ -1,14 +1,12 @@
|
||||
#ifndef _BSP_GPIO_H
|
||||
#define _BSP_GPIO_H
|
||||
#ifndef _DEVICES_GPIO_H
|
||||
#define _DEVICES_GPIO_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include "gen/GpioModule.h"
|
||||
|
||||
#define gpio_t gpiomodule_t
|
||||
#include "gen/gpio.h"
|
||||
|
||||
inline void gpio_init(gpio_t* reg) {
|
||||
set_gpio_write(reg, 0);
|
||||
set_gpio_writeEnable(reg, 0);
|
||||
}
|
||||
|
||||
#endif /* _BSP_GPIO_H */
|
||||
#endif /* _DEVICES_GPIO_H */
|
||||
|
Reference in New Issue
Block a user