mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-28 10:45:22 +00:00
This module controls the inductive charging transmitter. For now, the policy is to charge whenever possible. BUG=chrome-os-partner:31392 TEST=Unit test passed BRANCH=None Change-Id: Ie48a38ad92fe2bc3329c4962e96572f2bc40b4e6 Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/212715
21 lines
468 B
C
21 lines
468 B
C
/* Copyright 2014 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.
|
|
*/
|
|
|
|
/* Inductive charging control */
|
|
|
|
#include "gpio.h"
|
|
|
|
#ifndef __INDUCTIVE_CHARGING_H
|
|
#define __INDUCTIVE_CHARGING_H
|
|
|
|
/*
|
|
* Interrupt handler for inductive charging signal.
|
|
*
|
|
* @param signal Signal which triggered the interrupt.
|
|
*/
|
|
void inductive_charging_interrupt(enum gpio_signal);
|
|
|
|
#endif
|