blob: 882475e842a9dcd1412e2bc906cbb424f33d20ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/* Copyright 2016 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_RDD_H
#define __CROS_RDD_H
/**
* Initialize RDD module
*/
void init_rdd_state(void);
/**
* Print debug accessory detect state
*/
void print_rdd_state(void);
/**
* Get instantaneous cable detect state
*
* @return 1 if debug accessory is detected, 0 if not detected.
*/
uint8_t rdd_is_detected(void);
#endif /* __CROS_RDD_H */
|