You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
CubeSatSim/chat/ax5043/ax5043mode_p.h

28 lines
744 B

/*! \file ax5043mode_p.h
\brief Provides an interface to change the transceiver mode.
*/
#ifndef AX5043MODE_P_H_
#define AX5043MODE_P_H_
#include <stdint.h>
/*! \fn uint8_t mode_tx()
\brief Switch the tranceiver into transmit mode.
\return AXRADIO_ERROR_NOERROR on success, otherwise a value indicating an error.
\sa AXRADIO_ERR_NOERROR
*/
uint8_t mode_tx(void);
/*! \fn uint8_t mode_rx()
\brief Switch the tranceiver into receive mode.
The receive buffer may contain garbage and reading from the buffer
will obtain and discard that garbage.
\return AXRADIO_ERROR_NOERROR on success, otherwise a value indicating an error.
\sa AXRADIO_ERR_NOERROR
*/
uint8_t mode_rx(void);
#endif /* AX5043MODE_P_H_ */

Powered by TurnKey Linux.