mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
48 lines
1002 B
C
48 lines
1002 B
C
|
/*
|
||
|
* Copyright (C) 2018 Otto-von-Guericke-Universität Magdeburg
|
||
|
*
|
||
|
* 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.
|
||
|
*/
|
||
|
|
||
|
/**
|
||
|
* @ingroup drivers_cc110x
|
||
|
* @{
|
||
|
*
|
||
|
* @file
|
||
|
* @brief Functions to related to RX/TX of the CC110x transceiver driver
|
||
|
*
|
||
|
* @author Marian Buschsieweke <marian.buschsieweke@ovgu.de>
|
||
|
* @}
|
||
|
*/
|
||
|
|
||
|
#ifndef CC110X_RX_TX_H
|
||
|
#define CC110X_RX_TX_H
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
/**
|
||
|
* @brief ISR to be called via @ref netdev_driver_t::isr
|
||
|
*/
|
||
|
void cc110x_isr(netdev_t *dev);
|
||
|
|
||
|
/**
|
||
|
* @brief Bring transceiver into RX mode
|
||
|
*
|
||
|
* @param dev The device descriptor of the transceiver
|
||
|
*
|
||
|
* @pre @p dev has been acquired using @ref cc110x_acquire
|
||
|
* @post @p dev is still acquired, the caller has to release it
|
||
|
*/
|
||
|
void cc110x_enter_rx_mode(cc110x_t *dev);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif /* CC110X_RX_TX_H */
|
||
|
/** @} */
|