2013-11-27 17:54:30 +01: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-11-18 20:04:38 +01:00
|
|
|
|
|
|
|
/**
|
2013-11-27 17:54:30 +01:00
|
|
|
* @ingroup drivers_cc110x_ng
|
2013-11-27 16:28:31 +01:00
|
|
|
* @{
|
|
|
|
*
|
2013-11-27 17:54:30 +01:00
|
|
|
* @file cc110x-arch.h
|
|
|
|
* @brief CC1100 architecture dependent functions
|
2010-11-18 20:04:38 +01:00
|
|
|
*
|
2013-11-27 17:54:30 +01:00
|
|
|
* @author Heiko Will <hwill@inf.fu-berlin.de>
|
2010-11-18 20:04:38 +01:00
|
|
|
*/
|
2013-11-27 17:54:30 +01:00
|
|
|
|
2013-11-27 16:28:31 +01:00
|
|
|
#ifndef __CC1100_ARCH_H
|
|
|
|
#define __CC1100_ARCH_H
|
2010-11-18 20:04:38 +01:00
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
2014-10-13 15:49:17 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2010-12-11 12:09:20 +01:00
|
|
|
uint8_t cc110x_txrx(uint8_t c);
|
2010-11-18 20:04:38 +01:00
|
|
|
|
2010-12-11 12:09:20 +01: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-11-18 20:04:38 +01:00
|
|
|
|
2010-12-11 12:09:20 +01:00
|
|
|
void cc110x_before_send(void);
|
|
|
|
void cc110x_after_send(void);
|
2013-11-27 16:28:31 +01:00
|
|
|
|
2014-10-13 15:49:17 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2013-11-27 16:28:31 +01:00
|
|
|
/** @} */
|
|
|
|
#endif /* __CC1100_ARCH_H */
|