summaryrefslogtreecommitdiff
path: root/board/servo_v4p1/ccd_measure_sbu.h
blob: 8635f892a4b8723248a14f57a90e25527017237c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* Copyright 2020 The ChromiumOS Authors
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef __CROS_EC_CCD_MEASURE_SBU_H
#define __CROS_EC_CCD_MEASURE_SBU_H

/**
 * Enables or disables CCD for use with SuzyQ cable
 *
 * @param en    0 - Disable CCD
 *              1 - Enable CCD
 */
void ccd_enable(int enable);

/**
 * Triggers the detection of a SuzyQ cable every 100mS
 */
void start_ccd_meas_sbu_cycle(void);

#endif /* __CROS_EC_CCD_MEASURE_SBU_H */