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

DigitalSequence preset for generating ISO15693-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 Iso15693Signal Iso15693Signal
 

Enumerations

enum  Iso15693SignalDataRate { Iso15693SignalDataRateHi , Iso15693SignalDataRateLo , Iso15693SignalDataRateNum }
 Supported data rates. More...
 

Functions

Iso15693Signaliso15693_signal_alloc (const GpioPin *pin)
 Allocate an Iso15693Signal instance with a set GPIO pin.
 
void iso15693_signal_free (Iso15693Signal *instance)
 Delete an Iso15693Signal instance.
 
void iso15693_signal_tx (Iso15693Signal *instance, Iso15693SignalDataRate data_rate, const uint8_t *tx_data, size_t tx_data_size)
 Transmit arbitrary bytes using an Iso15693Signal instance.
 
void iso15693_signal_tx_sof (Iso15693Signal *instance, Iso15693SignalDataRate data_rate)
 Transmit Start of Frame using an Iso15693Signal instance.
 

Detailed Description

DigitalSequence preset for generating ISO15693-compliant signals.

Enumeration Type Documentation

◆ Iso15693SignalDataRate

Supported data rates.

Enumerator
Iso15693SignalDataRateHi 

High data rate.

Iso15693SignalDataRateLo 

Low data rate.

Iso15693SignalDataRateNum 

Data rate mode count.

Internal use.

Function Documentation

◆ iso15693_signal_alloc()

Iso15693Signal * iso15693_signal_alloc ( const GpioPin * pin)

Allocate an Iso15693Signal instance with a set GPIO pin.

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

◆ iso15693_signal_free()

void iso15693_signal_free ( Iso15693Signal * instance)

Delete an Iso15693Signal instance.

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

◆ iso15693_signal_tx()

void iso15693_signal_tx ( Iso15693Signal * instance,
Iso15693SignalDataRate data_rate,
const uint8_t * tx_data,
size_t tx_data_size )

Transmit arbitrary bytes using an Iso15693Signal instance.

See also
Iso15693SignalDataRate

This function will block until the transmisson has been completed.

Parameters
[in]instancepointer to the instance used in transmission.
[in]data_ratedata rate to transmit at.
[in]tx_datapointer to the data to be transmitted.
[in]tx_data_sizesize of the data to be transmitted in bytes.

◆ iso15693_signal_tx_sof()

void iso15693_signal_tx_sof ( Iso15693Signal * instance,
Iso15693SignalDataRate data_rate )

Transmit Start of Frame using an Iso15693Signal instance.

See also
Iso15693SignalDataRate

This function will block until the transmisson has been completed.

Parameters
[in]instancepointer to the instance used in transmission.
[in]data_ratedata rate to transmit at.