blob: 21988090343ff5c6f32e6cecc29608b015b7cfa6 [file] [log] [blame]
/* Copyright 2013 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.
/* External power detection API for Chrome EC */
#include "common.h"
* Return non-zero if external power is present.
int extpower_is_present(void);
* Interrupt handler for external power GPIOs.
* @param signal Signal which triggered the interrupt.
void extpower_interrupt(enum gpio_signal signal);
#endif /* __CROS_EC_EXTPOWER_H */