1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/drivers/include/ltc4150_arch.h
Ludwig Ortmann 2439bd839c doc: fix more license headers
Remove some cruft, set correct lgpl versions, update to lgpl where
this had been overlooked in the past, fix odd comment style...
2014-08-27 19:20:49 +02:00

46 lines
1.1 KiB
C

/*
* Copyright 2008-2009, Freie Universitaet Berlin (FUB). All rights reserved.
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
#ifndef __LTC4150_ARCH_H
#define __LTC4150_ARCH_H
/**
* @defgroup ltc4150 LTC4150
* @ingroup drivers
* @brief Driver for the Linear Technology LTC4150 Coulomb Counter
* @{
*
* @file ltc4150_arch.h
* @brief LTC4150 Coulomb Counter
*
* @author Heiko Will
*/
#define _GFH (double)32.631375
#define _R_SENSE (double)0.330
#define SUPPLY_VOLTAGE (5)
/** board specific ltc4150 interrupt disable */
void ltc4150_disable_int(void);
/** board specific ltc4150 interrupt enable */
void ltc4150_enable_int(void);
/** board specific synchronization of ltc4150 */
void ltc4150_sync_blocking(void);
/** board specific ltc4150 initialization */
void ltc4150_arch_init(void);
/**
* ltc4150 interrupt handler,
* shall be called on ltc4150 interrupt,
* implemented in driver
*/
void ltc4150_interrupt(void);
/** * @} */
#endif /* __LTC4150_ARCH_H */