unleashed-firmware/applications/nfc/nfc_worker.h

16 lines
393 B
C
Raw Normal View History

#pragma once
typedef struct NfcWorker NfcWorker;
NfcWorker* nfc_worker_alloc(osMessageQueueId_t message_queue);
NfcWorkerState nfc_worker_get_state(NfcWorker* nfc_worker);
ReturnCode nfc_worker_get_error(NfcWorker* nfc_worker);
void nfc_worker_free(NfcWorker* nfc_worker);
void nfc_worker_start(NfcWorker* nfc_worker, NfcWorkerState state);
void nfc_worker_stop(NfcWorker* nfc_worker);