Flipper Zero Firmware
Loading...
Searching...
No Matches
furi_hal_nfc_tech_i.h
Go to the documentation of this file.
1
11#pragma once
12
13#include <furi_hal_nfc.h>
14#include <furi_hal_spi.h>
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
29
39 *FuriHalNfcTx)(FuriHalSpiBusHandle* handle, const uint8_t* tx_data, size_t tx_bits);
40
51 FuriHalSpiBusHandle* handle,
52 uint8_t* rx_data,
53 size_t rx_data_size,
54 size_t* rx_bits);
55
62typedef FuriHalNfcEvent (*FuriHalNfcWaitEvent)(uint32_t timeout_ms);
63
73
83
93typedef struct {
94 int32_t fdt;
95 int32_t fwt;
97
109
115typedef struct {
116 int32_t fdt;
118
135
146
155/* Declare new tehcnologies here. */
156
164
165#ifdef __cplusplus
166}
167#endif
NFC HAL library.
FuriHalNfcEvent
Enumeration of possible NFC HAL events.
Definition furi_hal_nfc.h:41
FuriHalNfcError
Enumeration of possible NFC HAL errors.
Definition furi_hal_nfc.h:62
const FuriHalNfcTechBase furi_hal_nfc_felica
Technology declaration for FeliCa.
Definition furi_hal_nfc_felica.c:178
FuriHalNfcError(* FuriHalNfcIdle)(FuriHalSpiBusHandle *handle)
Go to idle in listener mode.
Definition furi_hal_nfc_tech_i.h:82
const FuriHalNfcTechBase * furi_hal_nfc_tech[]
Array of pointers to every supported technology.
Definition furi_hal_nfc.c:11
FuriHalNfcError(* FuriHalNfcRx)(FuriHalSpiBusHandle *handle, uint8_t *rx_data, size_t rx_data_size, size_t *rx_bits)
Receive data using technology-specific framing and timings.
Definition furi_hal_nfc_tech_i.h:50
FuriHalNfcError(* FuriHalNfcChipConfig)(FuriHalSpiBusHandle *handle)
Configure the NFC chip for use with this technology.
Definition furi_hal_nfc_tech_i.h:28
const FuriHalNfcTechBase furi_hal_nfc_iso14443a
Technology declaration for ISO14443 (Type A).
Definition furi_hal_nfc_iso14443a.c:326
const FuriHalNfcTechBase furi_hal_nfc_iso15693
Technology declaration for ISO15693.
Definition furi_hal_nfc_iso15693.c:434
FuriHalNfcError(* FuriHalNfcTx)(FuriHalSpiBusHandle *handle, const uint8_t *tx_data, size_t tx_bits)
Transmit data using technology-specific framing and timings.
Definition furi_hal_nfc_tech_i.h:39
FuriHalNfcEvent(* FuriHalNfcWaitEvent)(uint32_t timeout_ms)
Wait for an event using technology-specific method.
Definition furi_hal_nfc_tech_i.h:62
const FuriHalNfcTechBase furi_hal_nfc_iso14443b
Technology declaration for ISO14443 (Type B).
Definition furi_hal_nfc_iso14443b.c:92
FuriHalNfcError(* FuriHalNfcSleep)(FuriHalSpiBusHandle *handle)
Go to sleep in listener mode.
Definition furi_hal_nfc_tech_i.h:72
Technology-specific compenstaion values for listeners.
Definition furi_hal_nfc_tech_i.h:115
int32_t fdt
Frame delay time compensation, in carrier cycles.
Definition furi_hal_nfc_tech_i.h:116
Technology-specific compenstaion values for pollers.
Definition furi_hal_nfc_tech_i.h:93
int32_t fdt
Frame delay time compensation, in carrier cycles.
Definition furi_hal_nfc_tech_i.h:94
int32_t fwt
Frame wait time compensaton, in carrier cycles.
Definition furi_hal_nfc_tech_i.h:95
Abstract NFC technology definition structure.
Definition furi_hal_nfc_tech_i.h:142
FuriHalNfcTechListenerBase listener
Structure containing the listener definition.
Definition furi_hal_nfc_tech_i.h:144
FuriHalNfcTechPollerBase poller
Structure containing the poller definition.
Definition furi_hal_nfc_tech_i.h:143
Abstract technology-specific listener structure.
Definition furi_hal_nfc_tech_i.h:125
FuriHalNfcChipConfig init
Pointer to the init() function.
Definition furi_hal_nfc_tech_i.h:127
FuriHalNfcIdle idle
Pointer to the idle() function.
Definition furi_hal_nfc_tech_i.h:133
FuriHalNfcTx tx
Pointer to the tx() function.
Definition furi_hal_nfc_tech_i.h:130
FuriHalNfcListenerCompensation compensation
Compensation values in listener mode.
Definition furi_hal_nfc_tech_i.h:126
FuriHalNfcSleep sleep
Pointer to the sleep() function.
Definition furi_hal_nfc_tech_i.h:132
FuriHalNfcRx rx
Pointer to the rx() function.
Definition furi_hal_nfc_tech_i.h:131
FuriHalNfcWaitEvent wait_event
Pointer to the wait_event() function.
Definition furi_hal_nfc_tech_i.h:129
FuriHalNfcChipConfig deinit
Pointer to the deinit() function.
Definition furi_hal_nfc_tech_i.h:128
Abstract technology-specific poller structure.
Definition furi_hal_nfc_tech_i.h:101
FuriHalNfcPollerCompensation compensation
Compensation values in poller mode.
Definition furi_hal_nfc_tech_i.h:102
FuriHalNfcWaitEvent wait_event
Pointer to the wait_event() function.
Definition furi_hal_nfc_tech_i.h:105
FuriHalNfcChipConfig init
Pointer to the init() function.
Definition furi_hal_nfc_tech_i.h:103
FuriHalNfcChipConfig deinit
Pointer to the deinit() function.
Definition furi_hal_nfc_tech_i.h:104
FuriHalNfcTx tx
Pointer to the tx() function.
Definition furi_hal_nfc_tech_i.h:106
FuriHalNfcRx rx
Pointer to the rx() function.
Definition furi_hal_nfc_tech_i.h:107
FuriHal spi handle.
Definition furi_hal_spi_types.h:51