Loading...
Searching...
No Matches
iso14443_3a_signal.h File Reference

DigitalSequence preset for generating ISO14443-3A compliant signals. More...

#include <furi_hal_resources.h>
#include <stdint.h>
#include <stddef.h>

Go to the source code of this file.

Typedefs

typedef struct Iso14443_3aSignal Iso14443_3aSignal
 

Functions

Iso14443_3aSignaliso14443_3a_signal_alloc (const GpioPin *pin)
 Allocate an Iso14443_3aSignal instance with a set GPIO pin.
 
void iso14443_3a_signal_free (Iso14443_3aSignal *instance)
 Delete an Iso14443_3aSignal instance.
 
void iso14443_3a_signal_tx (Iso14443_3aSignal *instance, const uint8_t *tx_data, const uint8_t *tx_parity, size_t tx_bits)
 Transmit arbitrary bytes using an Iso14443_3aSignal instance.
 

Detailed Description

DigitalSequence preset for generating ISO14443-3A compliant signals.

Function Documentation

◆ iso14443_3a_signal_alloc()

Iso14443_3aSignal * iso14443_3a_signal_alloc ( const GpioPin * pin)

Allocate an Iso14443_3aSignal instance with a set GPIO pin.

Parameters
[in]pinGPIO pin to use during transmission.
Returns
pointer to the allocated instance.

◆ iso14443_3a_signal_free()

void iso14443_3a_signal_free ( Iso14443_3aSignal * instance)

Delete an Iso14443_3aSignal instance.

Parameters
[in,out]instancepointer to the instance to be deleted.

◆ iso14443_3a_signal_tx()

void iso14443_3a_signal_tx ( Iso14443_3aSignal * instance,
const uint8_t * tx_data,
const uint8_t * tx_parity,
size_t tx_bits )

Transmit arbitrary bytes using an Iso14443_3aSignal instance.

This function will block until the transmisson has been completed.

Parameters
[in]instancepointer to the instance used in transmission.
[in]tx_datapointer to the data to be transmitted.
[in]tx_paritypointer to the bit-packed parity array.
[in]tx_bitssize of the data to be transmitted in bits.