2019-07-29 10:34:19 +00:00
|
|
|
#include <mock_gpio.h>
|
2019-07-18 14:26:03 +00:00
|
|
|
|
|
|
|
DEFINE_FFF_GLOBALS;
|
|
|
|
|
2019-07-25 11:33:01 +00:00
|
|
|
DEFINE_FAKE_VALUE_FUNC(int, gpio_open, const struct gpio_sys *);
|
|
|
|
DEFINE_FAKE_VALUE_FUNC(int, gpio_close, const struct gpio_sys *);
|
2019-07-29 10:34:19 +00:00
|
|
|
DEFINE_FAKE_VALUE_FUNC(int, gpio_direction, struct gpio_sys *, int);
|
2019-07-25 11:33:01 +00:00
|
|
|
DEFINE_FAKE_VALUE_FUNC(int, gpio_read, const struct gpio_sys *);
|
|
|
|
DEFINE_FAKE_VALUE_FUNC(int, gpio_write, const struct gpio_sys *, int);
|