forked from Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
395 B
19 lines
395 B
/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|
/* |
|
* pps-gpio.h -- PPS client for GPIOs |
|
* |
|
* Copyright (C) 2011 James Nuss <[email protected]> |
|
*/ |
|
|
|
#ifndef _PPS_GPIO_H |
|
#define _PPS_GPIO_H |
|
|
|
struct pps_gpio_platform_data { |
|
struct gpio_desc *gpio_pin; |
|
struct gpio_desc *echo_pin; |
|
bool assert_falling_edge; |
|
bool capture_clear; |
|
unsigned int echo_active_ms; |
|
}; |
|
|
|
#endif /* _PPS_GPIO_H */
|
|
|