/* 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 */