mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
b389a9c5fa
The header files of the CC110x contained two Doxygen "end of doc group" (@}) commands. This PR makes sure they are balanced again.
49 lines
1.2 KiB
C
49 lines
1.2 KiB
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 Calibration related functions of the CC110x transceiver driver
|
|
*
|
|
* @author Marian Buschsieweke <marian.buschsieweke@ovgu.de>
|
|
*/
|
|
|
|
#ifndef CC110X_CALIBRATION_H
|
|
#define CC110X_CALIBRATION_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/**
|
|
* @brief Perform a recalibration of the transceiver
|
|
*
|
|
* @param dev The device descriptor of the transceiver
|
|
*
|
|
* @retval 0 Success
|
|
* @retval -EIO Failed
|
|
*
|
|
* @pre @p dev has been acquired using @ref cc110x_acquire
|
|
* @pre Transceiver is in IDLE state
|
|
* @post On success @p dev is still acquired, the caller has to release
|
|
* it. On failure the SPI bus is **already** **released**
|
|
* @post Transceiver is again in IDLE state, calibration has been
|
|
* performed and calibration data has been backed up on MCU.
|
|
*/
|
|
int cc110x_recalibrate(cc110x_t *dev);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* CC110X_CALIBRATION_H */
|
|
/** @} */
|