mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-06-11 19:33:30 -07:00
nfc
This commit is contained in:
@@ -39,6 +39,10 @@ bool furi_hal_nfc_is_busy() {
|
||||
return rfalNfcGetState() != RFAL_NFC_STATE_IDLE;
|
||||
}
|
||||
|
||||
bool furi_hal_nfc_is_init() {
|
||||
return rfalNfcGetState() != RFAL_NFC_STATE_NOTINIT;
|
||||
}
|
||||
|
||||
void furi_hal_nfc_field_on() {
|
||||
furi_hal_nfc_exit_sleep();
|
||||
st25r3916TxRxOn();
|
||||
|
||||
@@ -107,6 +107,12 @@ void furi_hal_nfc_init();
|
||||
*/
|
||||
bool furi_hal_nfc_is_busy();
|
||||
|
||||
/** Check if nfc is initialized
|
||||
*
|
||||
* @return true if initialized
|
||||
*/
|
||||
bool furi_hal_nfc_is_init();
|
||||
|
||||
/** NFC field on
|
||||
*/
|
||||
void furi_hal_nfc_field_on();
|
||||
|
||||
Reference in New Issue
Block a user