2014-08-27 18:47:31 +02:00
|
|
|
/*
|
2013-08-16 10:20:23 +02:00
|
|
|
* Copyright 2008, Freie Universitaet Berlin (FUB). All rights reserved.
|
|
|
|
*
|
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.
|
2014-08-27 18:47:31 +02:00
|
|
|
*/
|
2010-09-22 15:10:42 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @file
|
2014-07-31 20:49:35 +02:00
|
|
|
* @ingroup LPC2387
|
|
|
|
* @brief CC1100 LPC2387 dependend functions
|
2010-09-22 15:10:42 +02:00
|
|
|
*
|
2014-07-31 20:49:35 +02:00
|
|
|
* @author Heiko Will <hwill@inf.fu-berlin.de>
|
2010-09-22 15:10:42 +02:00
|
|
|
* @version $Revision: 1775 $
|
|
|
|
*
|
2014-07-31 20:49:35 +02:00
|
|
|
* @note $Id: arch_cc1100.h 1775 2010-01-26 09:37:03Z hillebra $
|
2010-09-22 15:10:42 +02:00
|
|
|
*/
|
|
|
|
|
2014-10-14 11:33:31 +02:00
|
|
|
#ifndef ARCH_CC1100_H
|
|
|
|
#define ARCH_CC1100_H
|
|
|
|
|
2010-09-22 15:10:42 +02:00
|
|
|
#include <stdint.h>
|
|
|
|
|
2014-10-22 07:47:04 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2011-04-06 11:09:29 +02:00
|
|
|
uint8_t cc110x_txrx(uint8_t c);
|
2010-09-22 15:10:42 +02:00
|
|
|
|
2011-04-06 11:09:29 +02:00
|
|
|
void cc110x_gdo0_enable(void);
|
|
|
|
void cc110x_gdo0_disable(void);
|
|
|
|
void cc110x_gdo2_enable(void);
|
|
|
|
void cc110x_gdo2_disable(void);
|
|
|
|
void cc110x_init_interrupts(void);
|
2010-09-22 15:10:42 +02:00
|
|
|
|
2011-04-06 11:09:29 +02:00
|
|
|
void cc110x_before_send(void);
|
|
|
|
void cc110x_after_send(void);
|
2014-10-22 07:47:04 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
2014-10-14 11:33:31 +02:00
|
|
|
|
|
|
|
#endif /* ARCH_CC1100_H */
|