Function flipper0::ffi::rfalListenStart

source ·
pub unsafe extern "C" fn rfalListenStart(
    lmMask: u32,
    confA: *const rfalLmConfPA,
    confB: *const rfalLmConfPB,
    confF: *const rfalLmConfPF,
    rxBuf: *mut u8,
    rxBufLen: u16,
    rxLen: *mut u16
) -> u16
Expand description

\brief Listen Mode start

Configures RF Chip to go into listen mode enabling the given technologies

\param[in] lmMask: mask with the enabled/disabled listen modes use: RFAL_LM_MASK_NFCA ; RFAL_LM_MASK_NFCB ; RFAL_LM_MASK_NFCF ; RFAL_LM_MASK_ACTIVE_P2P \param[in] confA: pointer to Passive A configurations (NULL if disabled) \param[in] confB: pointer to Passive B configurations (NULL if disabled) \param[in] confF: pointer to Passive F configurations (NULL if disabled) \param[in] rxBuf: buffer to place incoming data \param[in] rxBufLen: length in bits of rxBuf \param[in] rxLen: pointer to write the data length in bits placed into rxBuf

\return ERR_PARAM Invalid parameter \return ERR_REQUEST Invalid listen mode mask \return ERR_NONE Done with no error