rusefi-1/firmware/hw_layer/gpio_helper.h

20 lines
470 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
2015-12-31 13:02:30 -08:00
* @author Andrey Belomutskiy, (c) 2012-2016
2015-07-10 06:01:56 -07:00
*/
#ifndef GPIO_HELPER_H_
#define GPIO_HELPER_H_
#include "efiGpio.h"
#define INITIAL_PIN_STATE -1
2016-02-04 09:01:41 -08:00
void initOutputPin(const char *msg, OutputPin *outputPin, ioportid_t port, uint32_t pinNumber);
void initOutputPinExt(const char *msg, OutputPin *outputPin, ioportid_t port, uint32_t pinNumber, iomode_t mode);
2015-07-10 06:01:56 -07:00
#endif /* GPIO_HELPER_H_ */