2010-11-18 20:04:38 +01:00
|
|
|
/******************************************************************************
|
2013-08-16 10:20:23 +02:00
|
|
|
* Copyright 2008, Freie Universitaet Berlin (FUB). All rights reserved.
|
|
|
|
*
|
|
|
|
* These sources were developed at the Freie Universitaet Berlin, Computer Systems
|
2010-11-18 20:04:38 +01:00
|
|
|
and Telematics group (http://cst.mi.fu-berlin.de).
|
2013-08-16 10:20:23 +02:00
|
|
|
* ----------------------------------------------------------------------------
|
|
|
|
* This file is part of RIOT.
|
|
|
|
*
|
2014-08-23 15:43:13 +02:00
|
|
|
* 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.
|
2013-08-16 10:20:23 +02:00
|
|
|
*
|
2010-11-18 20:04:38 +01:00
|
|
|
*******************************************************************************/
|
2013-08-16 10:20:23 +02:00
|
|
|
|
2010-11-18 20:04:38 +01:00
|
|
|
/**
|
2013-11-27 17:54:30 +01:00
|
|
|
* @ingroup drivers_cc110x_ng
|
2010-11-18 20:04:38 +01:00
|
|
|
* @{
|
2013-11-27 17:54:30 +01:00
|
|
|
*
|
2010-11-18 20:04:38 +01:00
|
|
|
* @file
|
2013-11-27 17:54:30 +01:00
|
|
|
* @brief TI Chipcon CC1100 SPI driver
|
2010-11-18 20:04:38 +01:00
|
|
|
*
|
2013-11-27 17:54:30 +01:00
|
|
|
* @author Thomas Hillebrandt <hillebra@inf.fu-berlin.de>
|
|
|
|
* @author Heiko Will <hwill@inf.fu-berlin.de>
|
2010-11-18 20:04:38 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef CC1100_SPI_H_
|
|
|
|
#define CC1100_SPI_H_
|
|
|
|
|
2010-12-11 12:09:20 +01:00
|
|
|
int cc110x_get_gdo0(void);
|
|
|
|
int cc110x_get_gdo1(void);
|
|
|
|
int cc110x_get_gdo2(void);
|
2010-11-18 20:04:38 +01:00
|
|
|
|
2010-12-11 12:09:20 +01:00
|
|
|
void cc110x_spi_init(void);
|
|
|
|
void cc110x_spi_cs(void);
|
|
|
|
void cc110x_spi_select(void);
|
|
|
|
void cc110x_spi_unselect(void);
|
2010-11-18 20:04:38 +01:00
|
|
|
|
|
|
|
/** @} */
|
|
|
|
#endif /* CC1100_SPI_H_ */
|