blob: 76aa225cc1c073fde07efa586ad7a39ba204fb57 [file] [log] [blame]
/* Copyright 2017 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*
* Sync event driver.
* Useful for recording the exact time a gpio interrupt happened in the
* context of sensors. Originally created for a camera vsync signal.
*/
#ifndef __CROS_EC_VSYNC_H
#define __CROS_EC_VSYNC_H
extern const struct accelgyro_drv sync_drv;
void sync_interrupt(enum gpio_signal signal);
#endif /* __CROS_EC_VSYNC_H */