2015-07-10 06:01:56 -07:00
|
|
|
/*
|
|
|
|
* @file gpio_helper.h
|
|
|
|
* @brief General I/O helper
|
|
|
|
*
|
|
|
|
* @date Aug 25, 2013
|
2017-01-03 03:05:22 -08:00
|
|
|
* @author Andrey Belomutskiy, (c) 2012-2017
|
2015-07-10 06:01:56 -07:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef GPIO_HELPER_H_
|
|
|
|
#define GPIO_HELPER_H_
|
|
|
|
|
|
|
|
#include "efiGpio.h"
|
|
|
|
|
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_ */
|