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 | |
Iso15693Signal * | iso15693_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. | |
DigitalSequence preset for generating ISO15693-compliant signals.
Iso15693Signal * iso15693_signal_alloc | ( | const GpioPin * | pin | ) |
Allocate an Iso15693Signal instance with a set GPIO pin.
[in] | pin | GPIO pin to use during transmission. |
void iso15693_signal_free | ( | Iso15693Signal * | instance | ) |
Delete an Iso15693Signal instance.
[in,out] | instance | pointer to the instance to be deleted. |
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.
This function will block until the transmisson has been completed.
[in] | instance | pointer to the instance used in transmission. |
[in] | data_rate | data rate to transmit at. |
[in] | tx_data | pointer to the data to be transmitted. |
[in] | tx_data_size | size of the data to be transmitted in bytes. |
void iso15693_signal_tx_sof | ( | Iso15693Signal * | instance, |
Iso15693SignalDataRate | data_rate ) |
Transmit Start of Frame using an Iso15693Signal instance.
This function will block until the transmisson has been completed.
[in] | instance | pointer to the instance used in transmission. |
[in] | data_rate | data rate to transmit at. |