fome-fw/firmware/hw_layer/gpio_helper.h

20 lines
476 B
C
Raw Normal View History

2015-07-10 06:01:56 -07:00
/*
* @file gpio_helper.h
* @brief General I/O helper
*
* @date Aug 25, 2013
* @author Andrey Belomutskiy, (c) 2012-2015
*/
#ifndef GPIO_HELPER_H_
#define GPIO_HELPER_H_
#include "efiGpio.h"
#define INITIAL_PIN_STATE -1
void initOutputPin(const char *msg, OutputPin *outputPin, GPIO_TypeDef *port, uint32_t pinNumber);
void initOutputPinExt(const char *msg, OutputPin *outputPin, GPIO_TypeDef *port, uint32_t pinNumber, iomode_t mode);
#endif /* GPIO_HELPER_H_ */