coreboot-libre-fam15h-rdimm/3rdparty/chromeec/chip/g/rdd.h

27 lines
526 B
C

/* Copyright 2016 The Chromium OS Authors. All rights reserved.
* 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 */