Function flipper0::ffi::rfalGetBitRate

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

\brief RFAL Get Bit Rate

Gets the Tx and Rx current bit rates

If RFAL is not initialized or mode not set the bit rates return will be invalid RFAL_BR_KEEP

\param[out] txBR : RFAL’s current Tx Bit Rate \param[out] rxBR : RFAL’s current Rx Bit Rate

\see rfalSetBitRate \see rfalBitRate

\return ERR_WRONG_STATE : RFAL not initialized or mode not set \return ERR_NONE : No error