commit d1edce71135cc6d98c0a4b5729774542b676e769 Author: sophgo-forum-service <forum_service@sophgo.com> Date: Fri Mar 15 16:07:33 2024 +0800 [fix] recommend using ssh method to clone repo. [fix] fix sensor driver repo branch name.
20 lines
395 B
C
20 lines
395 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* pps-gpio.h -- PPS client for GPIOs
|
|
*
|
|
* Copyright (C) 2011 James Nuss <jamesnuss@nanometrics.ca>
|
|
*/
|
|
|
|
#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 */
|