Function flipper0::ffi::rfalSetBitRate

source ·
pub unsafe extern "C" fn rfalSetBitRate(
    txBR: rfalBitRate,
    rxBR: rfalBitRate
) -> u16
Expand description

\brief RFAL Set Bit Rate

Sets the Tx and Rx bit rates with the given values The bit rate change is applied on the RF chip remaining in the same mode previous defined with rfalSetMode()

If no mode is defined bit rates will not be applied and an error is returned

\param[in] txBR : transmit bit rate \param[in] rxBR : receive bit rate

\see rfalSetMode \see rfalMode \see rfalBitRate

\return ERR_WRONG_STATE : RFAL not initialized \return ERR_PARAM : Invalid parameter \return ERR_NOT_IMPLEMENTED : Mode not implemented \return ERR_NONE : No error