flipperzero_sys

Function nfc_poller_alloc

Source
pub unsafe extern "C" fn nfc_poller_alloc(
    nfc: *mut Nfc,
    protocol: NfcProtocol,
) -> *mut NfcPoller
Expand description

Allocate an NfcPoller instance.

§Arguments

  • nfc (direction in) - pointer to an Nfc instance.
  • protocol (direction in) - identifier of the protocol to be used.

§Returns

pointer to an allocated instance.

[nfc.h]