summaryrefslogtreecommitdiff
path: root/drivers/power/stmp37xx/ddi_bc_sm.h
blob: 0e5fd8a1f14490baf50794c61e5bfe2dce6edaf0 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/*
 * Copyright 2008-2009 Freescale Semiconductor, Inc. All Rights Reserved.
 */

/*
 * The code contained herein is licensed under the GNU General Public
 * License. You may obtain a copy of the GNU General Public License
 * Version 2 or later at the following locations:
 *
 * http://www.opensource.org/licenses/gpl-license.html
 * http://www.gnu.org/copyleft/gpl.html
 */

////////////////////////////////////////////////////////////////////////////////
//! \addtogroup ddi_bc
//! @{
//
// Copyright (c) 2004-2005 SigmaTel, Inc.
//
//! \file ddi_bc_sm.h
//! \brief Header file for the Battery Charger state machine.
//! \date 06/2005
//!
//! This file contains declarations for the Battery Charger state machine.
////////////////////////////////////////////////////////////////////////////////

#ifndef _DDI_BC_SM_H
#define _DDI_BC_SM_H

////////////////////////////////////////////////////////////////////////////////
// Externs
////////////////////////////////////////////////////////////////////////////////

//! The current state.

extern ddi_bc_State_t g_ddi_bc_State;

//! The state function table.

extern ddi_bc_Status_t(*const (stateFunctionTable[])) (void);

////////////////////////////////////////////////////////////////////////////////
// End of file
////////////////////////////////////////////////////////////////////////////////
#endif				// _DDI_BC_H
//! @}