1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-24 14:03:55 +01:00
RIOT/drivers/cc110x/include/cc110x_rx_tx.h

46 lines
936 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.
*/
#pragma once
/**
* @ingroup drivers_cc110x
* @{
*
* @file
* @brief Functions to related to RX/TX of the CC110x transceiver driver
*
* @author Marian Buschsieweke <marian.buschsieweke@ovgu.de>
*/
#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
/** @} */