|
M5Unit-NFC 0.0.3 git rev:59f5362
|
ST25R3916 Unit. More...
#include <unit_ST25R3916.hpp>
Classes | |
| struct | config_t |
| Settings for begin. More... | |
Public Member Functions | |
| UnitST25R3916 (const uint8_t arg=DEFAULT_ADDRESS) | |
| virtual bool | begin () override |
| virtual void | update (const bool force=false) override |
| m5::nfc::NFC | NFCMode () const |
| Gets the current operating mode. | |
| bool | configureNFCMode (const m5::nfc::NFC mode) |
| Configure NFC mode. | |
| bool | configureEmulationMode (const m5::nfc::NFC mode) |
| Configure NFC mode for emulation. | |
| bool | isNFCMode (const m5::nfc::NFC mode) |
| Is the current operating mode the one specified? | |
| bool | writeDirectCommand (const uint8_t cmd, const uint8_t *data=nullptr, const uint32_t dlen=0u) |
| Write the direct command with data. | |
| void | dumpRegister () |
Settings for begin | |
| config_t | config () |
| Gets the configuration. | |
| void | config (const config_t &cfg) |
| Set the configuration. | |
Interrupt | |
| bool | clearInterrupts () |
| Clear interrupts flag. | |
Settings | |
| bool | writeInitiatorOperationMode (const st25r3916::InitiatorOperationMode mode, const uint8_t optional=0) |
| Write the initiator operation mode and transition to initiator mode. | |
| bool | writeTargetOperationMode (const st25r3916::TargetOperationMode mode, const uint8_t optional=0) |
| Write the initiator operation mode and transition to target mode. | |
| bool | writeBitrate (const m5::nfc::Bitrate tx, const m5::nfc::Bitrate rx) |
| Write the initiator operation mode and transition to initiator mode. | |
FIFO | |
| bool | readFIFOSize (uint16_t &bytes, uint8_t &bits) |
| Read the FIFO size. | |
| uint32_t | readFIFO (uint16_t &actual, uint8_t *buf, const uint16_t buf_size) |
| Read from FIFO. | |
| bool | writeFIFO (const uint8_t *buf, const uint16_t buf_size) |
| Write to FIFO. | |
I/O configuration | |
| bool | readIOConfiguration1 (uint8_t &value) |
| Read the I/O configuration 1. | |
| bool | writeIOConfiguration1 (const uint8_t value) |
| Write the I/O configuration 1. | |
| bool | readIOConfiguration2 (uint8_t &value) |
| Read the I/O configuration 2. | |
| bool | writeIOConfiguration2 (const uint8_t value) |
| bool | readIOConfiguration (uint16_t &value) |
| Read the I/O configuration 1-2. | |
| bool | writeIOConfiguration (const uint16_t value) |
Operation control and mode definition | |
| bool | readOperationControl (uint8_t &value) |
| Read the operation control. | |
| bool | writeOperationControl (const uint8_t value) |
| Write the operation control. | |
| bool | readModeDefinition (uint8_t &value) |
| Read the mode definition. | |
| bool | writeModeDefinition (const uint8_t value) |
| Write the mode definition. | |
| bool | readBitrateDefinition (uint8_t &value) |
| Read the bitrate definition. | |
| bool | writeBitrateDefinition (const uint8_t value) |
| Write the bitrate definition. | |
Protocol configuration | |
| bool | readSettingsISO14443A (uint8_t &value) |
| Read the settings for ISO14443A and NFC 106kb/s. | |
| bool | writeSettingsISO14443A (const uint8_t value) |
| Write the settings for ISO14443A and NFC 106kb/s. | |
| bool | readSettingsISO14443B (uint8_t &value) |
| Read the settings for ISO14443B. | |
| bool | writeSettingsISO14443B (const uint8_t value) |
| Write the settings for ISO14443B. | |
| bool | readSettingsFelica (uint8_t &value) |
| Read the settings for ISO14443B and FeliCa. | |
| bool | writeSettingsFelica (const uint8_t value) |
| Write the settings for ISO14443B and FeliCa. | |
| bool | readNFCIP1PassiveTargetDefinition (uint8_t &value) |
| Read the NFCIP-1 passive target definition. | |
| bool | writeNFCIP1PassiveTargetDefinition (const uint8_t value) |
| bool | readStreamModeDefinition (uint8_t &value) |
| Read the stream mode definition. | |
| bool | writeStreamModeDefinition (const uint8_t value) |
| Write the stream mode definition. | |
| bool | readAuxiliaryDefinition (uint8_t &value) |
| Read the Auxiliary definition. | |
| bool | writeAuxiliaryDefinition (const uint8_t value) |
| Write the Auxiliary definition. | |
| bool | readEMDSuppressionConfiguration (uint8_t &value) |
| Read the EMD suppression configuration. | |
| bool | writeEMDSuppressionConfiguration (const uint8_t value) |
| Write the EMD suppression configuration. | |
| bool | readSubcarrierStartTimer (uint8_t &value) |
| Read the subcarrier start timer. | |
| bool | writeSubcarrierStartTimer (const uint8_t value) |
| Write the subcarrier start timer. | |
Receiver configuration | |
| bool | readReceiverConfiguration1 (uint8_t &value) |
| Read the receiver configuration 1. | |
| bool | writeReceiverConfiguration1 (const uint8_t value) |
| Write the receiver configuration 1. | |
| bool | readReceiverConfiguration2 (uint8_t &value) |
| Read the receiver configuration 2. | |
| bool | writeReceiverConfiguration2 (const uint8_t value) |
| Write the receiver configuration 2. | |
| bool | readReceiverConfiguration3 (uint8_t &value) |
| Read the receiver configuration 3. | |
| bool | writeReceiverConfiguration3 (const uint8_t value) |
| Write the receiver configuration 3. | |
| bool | readReceiverConfiguration4 (uint8_t &value) |
| bool | writeReceiverConfiguration4 (const uint8_t value) |
| Write the receiver configuration 4. | |
| bool | readReceiverConfiguration (uint32_t &value) |
| Read the receiver configuration 1-4. | |
| bool | writeReceiverConfiguration (const uint32_t value) |
| Write the receiver configuration 1-4. | |
| bool | readP2PReceiverConfiguration (uint8_t &value) |
| Read the P2P receiver configuration. | |
| bool | writeP2PReceiverConfiguration (const uint8_t value) |
| Write the P2P receiver configuration. | |
| bool | readCorrelatorConfiguration1 (uint8_t &value) |
| Read the correlator configuration 1. | |
| bool | writeCorrelatorConfiguration1 (const uint8_t value) |
| Write the correlator configuration 1. | |
| bool | readCorrelatorConfiguration2 (uint8_t &value) |
| Read the correlator configuration 2. | |
| bool | writeCorrelatorConfiguration2 (const uint8_t value) |
| Write the correlator configuration 2. | |
| bool | readCorrelatorConfiguration (uint16_t &value) |
| Read the correlator configuration 1-2. | |
| bool | writeCorrelatorConfiguration (const uint16_t value) |
| Write the correlator configuration 1-2. | |
Timer definition | |
| bool | readMaskReceiveTimer (uint8_t &value) |
| Read the mask receive timer. | |
| bool | writeMaskReceiveTimer (const uint8_t value) |
| Write the mask receive timer. | |
| bool | readNoResponseTimer1 (uint8_t &value) |
| Read the no-response timer 1. | |
| bool | writeNoResponseTimer1 (const uint8_t value) |
| Write the no-response timer 1. | |
| bool | readNoResponseTimer2 (uint8_t &value) |
| Read the no-response timer 2. | |
| bool | writeNoResponseTimer2 (const uint8_t value) |
| Write the no-response timer 2. | |
| bool | readNoResponseTimer (uint16_t &value) |
| Read the no-response timer 1-2. | |
| bool | writeNoResponseTimer (const uint16_t value) |
| Write the no-response timer 1-2. | |
| bool | readTimerAndEMVControl (uint8_t &value) |
| Read the timer and EMV control. | |
| bool | writeTimerAndEMVControl (const uint8_t value) |
| Write the timer and EMV control. | |
| bool | readGeneralPurposeTimer1 (uint8_t &value) |
| Read the general purpose timer 1. | |
| bool | writeGeneralPurposeTimer1 (const uint8_t value) |
| Write the general purpose timer 1. | |
| bool | readGeneralPurposeTimer2 (uint8_t &value) |
| Read the general purpose timer 2. | |
| bool | writeGeneralPurposeTimer2 (const uint8_t value) |
| Write the general purpose timer 2. | |
| bool | readGeneralPurposeTimer (uint16_t &value) |
| Read the general purpose timer 1-2. | |
| bool | writeGeneralPurposeTimer (const uint16_t value) |
| Write the general purpose timer 1-2. | |
| bool | readPPON2FieldWaiting (uint8_t &value) |
| Read the PPON2 field waiting. | |
| bool | writePPON2FieldWaiting (const uint8_t value) |
| Write the PPON2 field waiting. | |
| bool | readSquelchTimer (uint8_t &value) |
| Read the squelch timer. | |
| bool | writeSquelchTimer (const uint8_t value) |
| Write the squelch timer. | |
| bool | readNFCFieldOnGuardTimer (uint8_t &value) |
| Read the NFC field on guard timer. | |
| bool | writeNFCFieldOnGuardTimer (const uint8_t value) |
| Write the NFC field on guard timer. | |
Interrupt and associated reporting | |
| bool | readMaskMainInterrupt (uint8_t &value) |
| Read the mask main interrupt. | |
| bool | writeMaskMainInterrupt (const uint8_t value) |
| Write the mask main interrupt. | |
| bool | readMaskTimerAndNFCInterrupt (uint8_t &value) |
| Read the mask timer and NFC interrupt. | |
| bool | writeMaskTimerAndNFCInterrupt (const uint8_t value) |
| Write the mask timer and NFC interrupt. | |
| bool | readMaskErrorAndWakeupInterrupt (uint8_t &value) |
| Read the mask error and wake-up interrupt. | |
| bool | writeMaskErrorAndWakeupInterrupt (const uint8_t value) |
| Write the mask error and wake-up interrupt. | |
| bool | readMaskPassiveTargetInterrupt (uint8_t &value) |
| Read the mask passive target interrupt. | |
| bool | writeMaskPassiveTargetInterrupt (const uint8_t value) |
| Write the mask passive target interrupt. | |
| bool | readMaskInterrupts (uint32_t &value) |
| Read the all mask. | |
| bool | writeMaskInterrupts (const uint32_t value) |
| Write the all mask. | |
| bool | readMainInterrupt (uint8_t &value) |
| Read the main interrupt. | |
| bool | readTimerAndNFCInterrupt (uint8_t &value) |
| Read the timer and NFC interrupt. | |
| bool | readErrorAndWakeupInterrupt (uint8_t &value) |
| Read the error and wake-up interrupt. | |
| bool | readPassiveTargetInterrupt (uint8_t &value) |
| Read the passive target interrupt. | |
| bool | readInterrupts (uint32_t &value) |
| Read the all interrupt. | |
| bool | readFIFOStatus1 (uint8_t &value) |
| Read the FIFO status 1. | |
| bool | readFIFOStatus2 (uint8_t &value) |
| Read the FIFO status 1. | |
| bool | readFIFOStatus (uint16_t &value) |
| Read the FIFO status 1-2. | |
| bool | readCollisionDisplay (uint8_t &value) |
| Read the collision display. | |
| bool | readPassiveTargetDisplay (uint8_t &value) |
| Read the passive target. | |
Definition of number of transmitted bytes | |
| bool | readNumberOfTransmittedBytes1 (uint8_t &value) |
| Read the number of transmitted bytes 1. | |
| bool | writeNumberOfTransmittedBytes1 (const uint8_t value) |
| Write the number of transmitted bytes 1. | |
| bool | readNumberOfTransmittedBytes2 (uint8_t &value) |
| Read the number of transmitted bytes 2. | |
| bool | writeNumberOfTransmittedBytes2 (const uint8_t value) |
| Write the number of transmitted bytes 2. | |
| bool | readNumberOfTransmittedBytes (uint16_t &value) |
| Read the number of transmitted bytes 1-2. | |
| bool | writeNumberOfTransmittedBytes (const uint16_t value) |
| Write the number of transmitted bytes 1-2. | |
| bool | writeNumberOfTransmittedBytes (const uint16_t bytes, const uint8_t bits) |
| Write the number of transmitted bytes and after bytes. | |
| bool | readBitrateDetectionDisplay (uint8_t &value) |
| Read the bit rate detection display. | |
A/D converter output | |
| bool | readADConverterOutput (uint8_t &value) |
| Read the number of transmitted bytes 2. | |
Antenna calibration | |
| bool | readAntennaTuningControl1 (uint8_t &value) |
| Read the Antenna tuning control 1. | |
| bool | writeAntennaTuningControl1 (const uint8_t value) |
| Write the Antenna tuning control 1. | |
| bool | readAntennaTuningControl2 (uint8_t &value) |
| Read the Antenna tuning control 2. | |
| bool | writeAntennaTuningControl2 (const uint8_t value) |
| Write the Antenna tuning control 2. | |
| bool | readAntennaTuningControl (uint16_t &value) |
| Read the Antenna tuning control 1-2. | |
| bool | writeAntennaTuningControl (const uint16_t value) |
| Write the Antenna tuning control 1-2. | |
Antenna driver and modulation | |
| bool | readTXDriver (uint8_t &value) |
| Read the TX driver. | |
| bool | writeTXDriver (const uint8_t value) |
| Write the TX driver. | |
| bool | readPassiveTargetModulation (uint8_t &value) |
| Read the passive target modulation. | |
| bool | writePassiveTargetModulation (const uint8_t value) |
| Write the passive target modulation. | |
| bool | readAuxiliaryModulationSetting (uint8_t &value) |
| Read the auxiliary modulation setting. | |
| bool | writeAuxiliaryModulationSetting (const uint8_t value) |
| Write the auxiliary modulation setting. | |
| bool | readTXDriverTiming (uint8_t &value) |
| Read the TX driver timing. | |
| bool | writeTXDriverTiming (const uint8_t value) |
| Write the TX driver timing. | |
External field detector threshold | |
| bool | readExternalFieldDetectorActivationThreshold (uint8_t &value) |
| Read the external field detector activation threshold. | |
| bool | writeExternalFieldDetectorActivationThreshold (const uint8_t value) |
| Write the external field detector activation threshold. | |
| bool | readExternalFieldDetectorDeactivationThreshold (uint8_t &value) |
| Read the external field detector deactivation threshold. | |
| bool | writeExternalFieldDetectorDeactivationThreshold (const uint8_t value) |
| Write the external field detector deactivation threshold. | |
| bool | readResistiveAMModulation (uint8_t &value) |
| Read the resistive AM modulation. | |
| bool | writeResistiveAMModulation (const uint8_t value) |
| Write the resistive AM modulation. | |
| bool | readTXDriverTimingDisplay (uint8_t &value) |
| Read the TX driver timing display. | |
Regulator | |
| bool | readRegulatorVoltageControl (uint8_t &value) |
| Read the regulator voltage control. | |
| bool | writeRegulatorVoltageControl (const uint8_t value) |
| Write the regulator voltage control. | |
| bool | readRegulatorDisplay (uint8_t &value) |
| Read the regulator display. | |
Receiver state display | |
| bool | readRSSIDisplay (uint8_t &value) |
| Read the external field detector deactivation threshold. | |
| bool | readGainReductionState (uint8_t &value) |
| Read the gain reduction state. | |
Capacitive sensor | |
| bool | readCapacitiveSensorControl (uint8_t &value) |
| Read the capacitive sensor control. | |
| bool | writeCapacitiveSensorControl (const uint8_t value) |
| Write the capacitive sensor control. | |
| bool | readCapacitiveSensorDisplay (uint8_t &value) |
| Read the capacitive sensor display. | |
Auxiliary display | |
| bool | readAuxiliaryDisplay (uint8_t &value) |
| Read the auxiliary display. | |
Wake-up | |
| bool | readWakeupTimerControl (uint8_t &value) |
| Read the Wake-up timer control. | |
| bool | writeWakeupTimerControl (const uint8_t value) |
| Write the Wake-up timer control. | |
| bool | readAmplitudeMeasurementConfiguration (uint8_t &value) |
| Read the amplitude measurement configuration. | |
| bool | writeAmplitudeMeasurementConfiguration (const uint8_t value) |
| Write the amplitude measurement configuration. | |
| bool | readAmplitudeMeasurementReference (uint8_t &value) |
| Read the amplitude measurement reference. | |
| bool | writeAmplitudeMeasurementReference (const uint8_t value) |
| Write the amplitude measurement reference. | |
| bool | readAmplitudeMeasurementAutoAveragingDisplay (uint8_t &value) |
| Read the amplitude measurement auto-averaging display. | |
| bool | readAmplitudeMeasurementDisplay (uint8_t &value) |
| Read the amplitude measurement display. | |
| bool | readPhaseMeasurementConfiguration (uint8_t &value) |
| Read the phase measurement configuration. | |
| bool | writePhaseMeasurementConfiguration (const uint8_t value) |
| Write the phase measurement configuration. | |
| bool | readPhaseMeasurementReference (uint8_t &value) |
| Read the phase measurement reference. | |
| bool | writePhaseMeasurementReference (const uint8_t value) |
| Write the phase measurement reference. | |
| bool | readPhaseMeasurementAutoAveragingDisplay (uint8_t &value) |
| Read the phase measurement auto-averaging display. | |
| bool | readPhaseMeasurementDisplay (uint8_t &value) |
| Read the phase measurement display. | |
| bool | readCapacitanceMeasurementConfiguration (uint8_t &value) |
| Read the capacitance measurement configuration. | |
| bool | writeCapacitanceMeasurementConfiguration (const uint8_t value) |
| Write the capacitance measurement configuration. | |
| bool | readCapacitanceMeasurementReference (uint8_t &value) |
| Read the capacitance measurement reference. | |
| bool | writeCapacitanceMeasurementReference (const uint8_t value) |
| Write the capacitance measurement reference. | |
| bool | readCapacitanceMeasurementAutoAveragingDisplay (uint8_t &value) |
| Read the capacitance measurement auto-averaging display. | |
| bool | readCapacitanceMeasurementDisplay (uint8_t &value) |
| Read the capacitance measurement display. | |
Protection | |
| bool | readOvershootProtectionConfiguration1 (uint8_t &value) |
| Read the overshoot protection configuration 1. | |
| bool | writeOvershootProtectionConfiguration1 (const uint8_t value) |
| Write the overshoot protection configuration 1. | |
| bool | readOvershootProtectionConfiguration2 (uint8_t &value) |
| Read the overshoot protection configuration 2. | |
| bool | writeOvershootProtectionConfiguration2 (const uint8_t value) |
| Write the overshoot protection configuration 2. | |
| bool | readOvershootProtectionConfiguration (uint16_t &value) |
| Read the overshoot protection configuration 1-2. | |
| bool | writeOvershootProtectionConfiguration (const uint16_t value) |
| Write the overshoot protection configuration 1-2. | |
| bool | readUndershootProtectionConfiguration1 (uint8_t &value) |
| Read the undershoot protection configuration 1. | |
| bool | writeUndershootProtectionConfiguration1 (const uint8_t value) |
| Write the undershoot protection configuration 1. | |
| bool | readUndershootProtectionConfiguration2 (uint8_t &value) |
| Read the undershoot protection configuration 2. | |
| bool | writeUndershootProtectionConfiguration2 (const uint8_t value) |
| Write the undershoot protection configuration 2. | |
| bool | readUndershootProtectionConfiguration (uint16_t &value) |
| Read the undershoot protection configuration 1-2. | |
| bool | writeUndershootProtectionConfiguration (const uint16_t value) |
| Write the undershoot protection configuration 1-2. | |
IC identity | |
| bool | readICIdentity (uint8_t &type, uint8_t &rev) |
| Read the IC identity. | |
Field | |
| bool | disableField () |
| Disable the Field to stop communication with the PICC. | |
| bool | enableField () |
| Enable the Field to begin communication with the PICC. | |
NFC-A | |
| uint32_t | nfcaTransceive (uint8_t *rx, uint16_t &rx_len, const uint8_t *tx, const uint16_t tx_len, const uint32_t timeout_ms) |
| Transceive. | |
| bool | nfcaTransmit (const uint8_t *tx, const uint16_t tx_len, const uint32_t timeout_ms) |
| Transceive. | |
| bool | nfcaEmulationTransmit (const uint8_t *tx, const uint16_t tx_len) |
| Transmit in emulation (PICC) mode with minimal I2C overhead. | |
| bool | nfcaReceive (uint8_t *rx, uint16_t &rx_len, const uint32_t timeout_ms) |
| Transceive. | |
| bool | nfcaRequest (uint16_t &atqa) |
| Request for idle PICC. | |
| bool | nfcaWakeup (uint16_t &atqa) |
| Wakeup for idle/halt PICC. | |
| bool | nfcaSelectWithAnticollision (bool &completed, m5::nfc::a::PICC &picc, const uint8_t lv) |
| Select PICC with anti-collision. | |
| bool | nfcaSelect (const m5::nfc::a::PICC &picc) |
| Select specific PICC. | |
| bool | nfcaReadBlock (uint8_t rx[16], const uint8_t block) |
| Read the 1 block / 4 pages (16 bytes) | |
| bool | nfcaWriteBlock (const uint8_t block, const uint8_t tx[16]) |
| Write the 1 block / 4 pages (16 bytes) | |
| bool | nfcaHlt () |
| Hlt for PICC. | |
MIFARE | |
| bool | mifareClassicAuthenticateA (const m5::nfc::a::PICC &picc, const uint8_t block, const m5::nfc::a::mifare::classic::Key &key=m5::nfc::a::mifare::classic::DEFAULT_KEY) |
| Authentication using keyA of the specified block. | |
| bool | mifareClassicAuthenticateB (const m5::nfc::a::PICC &picc, const uint8_t block, const m5::nfc::a::mifare::classic::Key &key=m5::nfc::a::mifare::classic::DEFAULT_KEY) |
| Authentication using keyB of the specified block. | |
| bool | mifareClassicValueBlock (const m5::nfc::a::Command cmd, const uint8_t block, const uint32_t arg=0) |
| Operation for the value block. | |
NFC-B | |
| bool | nfcbTransceive (uint8_t *rx, uint16_t &rx_len, const uint8_t *tx, const uint16_t tx_len, const uint32_t timeout_ms) |
| Transceive with NFC-B PICC. | |
| bool | nfcbTransmit (const uint8_t *tx, const uint16_t tx_len, const uint32_t timeout_ms) |
| Transmit to NFC-B PICC. | |
| bool | nfcbReceive (uint8_t *rx, uint16_t &rx_len, const uint32_t timeout_ms) |
| Receive from NFC-B PICC. | |
NFC-F | |
| bool | nfcfTransceive (uint8_t *rx, uint16_t &rx_len, const uint8_t *tx, const uint16_t tx_len, const uint32_t timeout_ms) |
| Transceive with NFC-F PICC. | |
| bool | nfcfTransmit (const uint8_t *tx, const uint16_t tx_len, const uint32_t timeout_ms) |
| bool | nfcfEmulationTransmit (const uint8_t *tx, const uint16_t tx_len) |
| Transmit in emulation (PICC) mode with minimal I2C overhead. | |
| bool | nfcfReceive (uint8_t *rx, uint16_t &rx_len, const uint32_t timeout_ms) |
| Receive from NFC-F PICC. | |
NFC-V | |
| bool | nfcvTransceive (uint8_t *rx, uint16_t &rx_len, const uint8_t *tx, const uint16_t tx_bytes, const uint32_t timeout_ms, const m5::nfc::v::ModulationMode mode=m5::nfc::v::ModulationMode::OneOf4) |
| Transceive. | |
| bool | nfcvTransmit (const uint8_t *tx, const uint16_t tx_len, const uint32_t timeout_ms, const m5::nfc::v::ModulationMode mode=m5::nfc::v::ModulationMode::OneOf4) |
| bool | nfcvReceive (uint8_t *rx, uint16_t &rx_len, const uint32_t timeout_ms) |
| Receive from NFC-V PICC. | |
PT_MEMORY | |
| bool | writePtMemoryA (const uint8_t *tx, const uint32_t tx_len) |
| bool | writePtMemoryF (const uint8_t *tx, const uint32_t tx_len) |
| bool | writePtMemoryTSN (const uint8_t *tx, const uint32_t tx_len) |
| bool | readPtMemory (uint8_t *rx, const uint32_t rx_len) |
Protected Member Functions | |
| bool | read_register8 (const uint8_t reg, uint8_t &v) |
| bool | read_register8 (const uint16_t reg, uint8_t &v) |
| bool | write_register8 (const uint8_t reg, const uint8_t v) |
| bool | write_register8 (const uint16_t reg, const uint8_t v) |
| bool | read_register16 (const uint8_t reg, uint16_t &v) |
| bool | read_register16 (const uint16_t reg, uint16_t &v) |
| bool | write_register16 (const uint8_t reg, const uint16_t v) |
| bool | write_register16 (const uint16_t reg, const uint16_t v) |
| bool | read_register32 (const uint8_t reg, uint32_t &v) |
| bool | read_register32 (const uint16_t reg, uint32_t &v) |
| bool | write_register32 (const uint8_t reg, const uint32_t v) |
| bool | write_register32 (const uint16_t reg, const uint32_t v) |
| bool | write_fwt_timer (const uint32_t ms) |
| bool | write_mask_receiver_timer (const uint32_t us) |
| bool | write_squelch_timer (const uint32_t us) |
| uint32_t | wait_for_interrupt (const uint32_t irq, const uint32_t timeout_ms=100) |
| bool | wait_for_FIFO (const uint32_t timeout_ms, const uint16_t required_size=0) |
| bool | read_FIFO (std::vector< uint8_t > &out) |
| bool | configure_nfc_a () |
| bool | configure_nfc_b () |
| bool | configure_nfc_f () |
| bool | configure_nfc_v () |
| bool | nfc_initial_field_on () |
| bool | configure_emulation_a () |
| bool | configure_emulation_f () |
| bool | modify_bit_register8 (const uint8_t reg, const uint8_t set_mask, const uint8_t clear_mask) |
| bool | modify_bit_register8 (const uint16_t reg, const uint8_t set_mask, const uint8_t clear_mask) |
| bool | set_bit_register8 (const uint8_t reg, const uint8_t bits) |
| bool | set_bit_register8 (const uint16_t reg, const uint8_t bits) |
| bool | clear_bit_register8 (const uint8_t reg, const uint8_t bits) |
| bool | clear_bit_register8 (const uint16_t reg, const uint8_t bits) |
| bool | change_bit_register8 (const uint8_t reg, const uint8_t bits, const uint8_t mask) |
| bool | change_bit_register8 (const uint16_t reg, const uint8_t bits, const uint8_t mask) |
| bool | change_test_bit_register8 (const uint8_t reg, const uint8_t bits, const uint8_t mask) |
| bool | change_test_bit_register8 (const uint16_t reg, const uint8_t bits, const uint8_t mask) |
| bool | modify_interrupts (const uint32_t clr, const uint32_t set) |
| bool | enable_interrupts (const uint32_t mask) |
| bool | disable_interrupts (const uint32_t mask) |
| bool | enable_osc () |
| bool | disable_field () |
| bool | nfca_request_wakeup (uint16_t &atqa, const bool req) |
| bool | nfca_anti_collision (uint8_t rbuf[5], const uint8_t lv) |
| bool | mifare_classic_send_encrypt (const uint8_t *tx, const uint16_t tx_len) |
| bool | mifare_classic_transceive_encrypt (uint8_t *rx, uint16_t &rx_len, const uint8_t *tx, const uint16_t tx_len, const uint32_t timeout_ms, const bool include_crc, const bool decrypt) |
| bool | mifare_classic_authenticate (const m5::nfc::a::Command cmd, const m5::nfc::a::PICC &picc, const uint8_t block, const m5::nfc::a::mifare::classic::Key &key) |
Static Protected Member Functions | |
| static void IRAM_ATTR | on_irq (void *arg) |
Friends | |
| struct | m5::nfc::ListenerST25R3916ForA |
| struct | m5::nfc::ListenerST25R3916ForF |
ST25R3916 Unit.
| bool m5::unit::UnitST25R3916::clearInterrupts | ( | ) |
Clear interrupts flag.
| bool m5::unit::UnitST25R3916::configureEmulationMode | ( | const m5::nfc::NFC | mode | ) |
Configure NFC mode for emulation.
| mode | NFC mode |
| bool m5::unit::UnitST25R3916::configureNFCMode | ( | const m5::nfc::NFC | mode | ) |
Configure NFC mode.
| mode | NFC mode |
| bool m5::unit::UnitST25R3916::disableField | ( | ) |
Disable the Field to stop communication with the PICC.
| bool m5::unit::UnitST25R3916::enableField | ( | ) |
Enable the Field to begin communication with the PICC.
Begin supplying power to the PICC
|
inline |
Is the current operating mode the one specified?
| mode | Mode |
|
inline |
Authentication using keyA of the specified block.
| picc | PICC |
| block | Block address |
| key | MIFARE classic key |
|
inline |
Authentication using keyB of the specified block.
| picc | PICC |
| block | Block address |
| key | MIFARE classic key |
| bool m5::unit::UnitST25R3916::mifareClassicValueBlock | ( | const m5::nfc::a::Command | cmd, |
| const uint8_t | block, | ||
| const uint32_t | arg = 0 ) |
Operation for the value block.
| cmd | Command |
| block | Block address |
| arg | Argument for command if needs |
| bool m5::unit::UnitST25R3916::nfcaHlt | ( | ) |
Hlt for PICC.
| bool m5::unit::UnitST25R3916::nfcaReadBlock | ( | uint8_t | rx[16], |
| const uint8_t | block ) |
Read the 1 block / 4 pages (16 bytes)
| rx | Receiver buffer (at least 16 bytes) |
| block | Block/Page address |
| bool m5::unit::UnitST25R3916::nfcaReceive | ( | uint8_t * | rx, |
| uint16_t & | rx_len, | ||
| const uint32_t | timeout_ms ) |
Transceive.
| rx | Receive buffer |
| [in/out] | rx_len in:Size of receive buffer out:actual read size |
| tx | Send buffer |
| tx_len | Size of send buffer |
| timeout_ms | Timeout(ms) |
| == | 0 Failed |
| != | 0 Upper 16 bits: Number of bits read Lower 16 bits: Number of bytes read |
|
inline |
Request for idle PICC.
| [out] | atqa | ATQA |
| bool m5::unit::UnitST25R3916::nfcaSelect | ( | const m5::nfc::a::PICC & | picc | ) |
Select specific PICC.
| picc | PICC |
| bool m5::unit::UnitST25R3916::nfcaSelectWithAnticollision | ( | bool & | completed, |
| m5::nfc::a::PICC & | picc, | ||
| const uint8_t | lv ) |
Select PICC with anti-collision.
| [out] | completed | Completed select? |
| [out] | picc | Selected PICC |
| lv | Cascade level (1-3) |
| uint32_t m5::unit::UnitST25R3916::nfcaTransceive | ( | uint8_t * | rx, |
| uint16_t & | rx_len, | ||
| const uint8_t * | tx, | ||
| const uint16_t | tx_len, | ||
| const uint32_t | timeout_ms ) |
Transceive.
| rx | Receive buffer |
| [in/out] | rx_len in:Size of receive buffer out:actual read size |
| tx | Send buffer |
| tx_len | Size of send buffer |
| timeout_ms | Timeout(ms) |
| == | 0 Failed |
| != | 0 Upper 16 bits: Number of bits read Lower 16 bits: Number of bytes read |
| bool m5::unit::UnitST25R3916::nfcaTransmit | ( | const uint8_t * | tx, |
| const uint16_t | tx_len, | ||
| const uint32_t | timeout_ms ) |
Transceive.
| rx | Receive buffer |
| [in/out] | rx_len in:Size of receive buffer out:actual read size |
| tx | Send buffer |
| tx_len | Size of send buffer |
| timeout_ms | Timeout(ms) |
| == | 0 Failed |
| != | 0 Upper 16 bits: Number of bits read Lower 16 bits: Number of bytes read |
|
inline |
Wakeup for idle/halt PICC.
| [out] | atqa | ATQA |
| bool m5::unit::UnitST25R3916::nfcaWriteBlock | ( | const uint8_t | block, |
| const uint8_t | tx[16] ) |
Write the 1 block / 4 pages (16 bytes)
| tx | Send buffer (at least 16 bytes) |
| bool m5::unit::UnitST25R3916::nfcbReceive | ( | uint8_t * | rx, |
| uint16_t & | rx_len, | ||
| const uint32_t | timeout_ms ) |
Receive from NFC-B PICC.
| [out] | rx | Receive buffer |
| [in/out] | rx_len in:Size of receive buffer out:actual read size | |
| timeout_ms | Timeout(ms) |
| bool m5::unit::UnitST25R3916::nfcbTransceive | ( | uint8_t * | rx, |
| uint16_t & | rx_len, | ||
| const uint8_t * | tx, | ||
| const uint16_t | tx_len, | ||
| const uint32_t | timeout_ms ) |
Transceive with NFC-B PICC.
| [out] | rx | Receive buffer |
| [in/out] | rx_len in:Size of receive buffer out:actual read size | |
| tx | Send buffer | |
| tx_len | Size of send buffer | |
| timeout_ms | Timeout(ms) |
| bool m5::unit::UnitST25R3916::nfcbTransmit | ( | const uint8_t * | tx, |
| const uint16_t | tx_len, | ||
| const uint32_t | timeout_ms ) |
Transmit to NFC-B PICC.
| tx | Send buffer |
| tx_len | Size of send buffer |
| timeout_ms | Timeout(ms) |
| bool m5::unit::UnitST25R3916::nfcfReceive | ( | uint8_t * | rx, |
| uint16_t & | rx_len, | ||
| const uint32_t | timeout_ms ) |
Receive from NFC-F PICC.
| [out] | rx | Receive buffer |
| [in/out] | rx_len in:Size of receive buffer out:actual read size | |
| timeout_ms | Timeout(ms) |
| bool m5::unit::UnitST25R3916::nfcfTransceive | ( | uint8_t * | rx, |
| uint16_t & | rx_len, | ||
| const uint8_t * | tx, | ||
| const uint16_t | tx_len, | ||
| const uint32_t | timeout_ms ) |
Transceive with NFC-F PICC.
| [out] | rx | Receive buffer |
| [in/out] | rx_len in:Size of receive buffer out:actual read size | |
| tx | Send buffer | |
| tx_len | Size of send buffer | |
| timeout_ms | Timeout(ms) |
| bool m5::unit::UnitST25R3916::nfcfTransmit | ( | const uint8_t * | tx, |
| const uint16_t | tx_len, | ||
| const uint32_t | timeout_ms ) |
| Transmit | to NFC-F PICC |
| tx | Send buffer |
| tx_len | Size of send buffer |
| timeout_ms | Timeout(ms) |
| bool m5::unit::UnitST25R3916::nfcvReceive | ( | uint8_t * | rx, |
| uint16_t & | rx_len, | ||
| const uint32_t | timeout_ms ) |
Receive from NFC-V PICC.
| [out] | rx | Receive buffer |
| [in/out] | rx_len in:Size of receive buffer out:actual read size | |
| timeout_ms | Timeout(ms) |
| bool m5::unit::UnitST25R3916::nfcvTransceive | ( | uint8_t * | rx, |
| uint16_t & | rx_len, | ||
| const uint8_t * | tx, | ||
| const uint16_t | tx_bytes, | ||
| const uint32_t | timeout_ms, | ||
| const m5::nfc::v::ModulationMode | mode = m5::nfc::v::ModulationMode::OneOf4 ) |
Transceive.
| [out] | rx | Receive buffer |
| [in/out] | rx_len in:Size of receive buffer out:actual read size | |
| tx | Send buffer | |
| tx_len | Size of send buffer | |
| timeout_ms | Timeout(ms) | |
| mode | ModulationMode |
| bool m5::unit::UnitST25R3916::nfcvTransmit | ( | const uint8_t * | tx, |
| const uint16_t | tx_len, | ||
| const uint32_t | timeout_ms, | ||
| const m5::nfc::v::ModulationMode | mode = m5::nfc::v::ModulationMode::OneOf4 ) |
| Transmit | to NFC-V PICC |
| tx | Send buffer |
| tx_len | Size of send buffer |
| timeout_ms | Timeout(ms) |
| mode | ModulationMode |
|
inline |
Read the number of transmitted bytes 2.
| [out] | value | Value |
|
inline |
Read the amplitude measurement auto-averaging display.
| [out] | value | Value |
|
inline |
Read the amplitude measurement configuration.
| [out] | value | Value |
|
inline |
Read the amplitude measurement display.
| [out] | value | Value |
|
inline |
Read the amplitude measurement reference.
| [out] | value | Value |
|
inline |
Read the Antenna tuning control 1-2.
| [out] | value | Value (MSB tuning1, tuning2 LSB) |
|
inline |
Read the Antenna tuning control 1.
| [out] | value | Value |
|
inline |
Read the Antenna tuning control 2.
| [out] | value | Value |
|
inline |
Read the Auxiliary definition.
| [out] | value | Value |
|
inline |
Read the auxiliary display.
| [out] | value | Value |
|
inline |
Read the auxiliary modulation setting.
| [out] | value | Value |
|
inline |
Read the bitrate definition.
| [out] | value | Value |
|
inline |
Read the bit rate detection display.
| [out] | value | Value |
|
inline |
Read the capacitance measurement auto-averaging display.
| [out] | value | Value |
|
inline |
Read the capacitance measurement configuration.
| [out] | value | Value |
|
inline |
Read the capacitance measurement display.
| [out] | value | Value |
|
inline |
Read the capacitance measurement reference.
| [out] | value | Value |
|
inline |
Read the capacitive sensor control.
| [out] | value | Value |
|
inline |
Read the capacitive sensor display.
| [out] | value | Value |
|
inline |
Read the collision display.
| [out] | value | Value |
|
inline |
Read the correlator configuration 1-2.
| [out] | value | Value (MSB cfg1,cfg2 LSB) |
|
inline |
Read the correlator configuration 1.
| [out] | value | Value |
|
inline |
Read the correlator configuration 2.
| [out] | value | Value |
|
inline |
Read the EMD suppression configuration.
| [out] | value | Value |
|
inline |
Read the error and wake-up interrupt.
| [out] | value | Value |
|
inline |
Read the external field detector activation threshold.
| [out] | value | Value |
|
inline |
Read the external field detector deactivation threshold.
| [out] | value | Value |
| uint32_t m5::unit::UnitST25R3916::readFIFO | ( | uint16_t & | actual, |
| uint8_t * | buf, | ||
| const uint16_t | buf_size ) |
Read from FIFO.
| [out] | actual | Actual read size |
| [out] | buf | Buffer |
| buf_size | Buffer size |
| == | 0 Failed |
| != | 0 Upper 16 bits: Number of bits read Lower 16 bits: Number of bytes read |
| bool m5::unit::UnitST25R3916::readFIFOSize | ( | uint16_t & | bytes, |
| uint8_t & | bits ) |
Read the FIFO size.
| [out] | bytes | Number of bytes in the FIFO |
| [out] | bits | Number of bits in the last FIFO byte if it was not complete The received bits are stored in the LSB part of the last byte in the FIFO. |
|
inline |
Read the FIFO status 1-2.
| [out] | value | Value (MSB fifo1, fifo2 LSB) |
|
inline |
Read the FIFO status 1.
| [out] | value | Value |
|
inline |
Read the FIFO status 1.
| [out] | value | Value |
|
inline |
Read the gain reduction state.
| [out] | value | Value |
|
inline |
Read the general purpose timer 1-2.
| [out] | value | Value (MSB timer1,timer2 LSB) |
|
inline |
Read the general purpose timer 1.
| [out] | value | Value |
|
inline |
Read the general purpose timer 2.
| [out] | value | Value |
| bool m5::unit::UnitST25R3916::readICIdentity | ( | uint8_t & | type, |
| uint8_t & | rev ) |
Read the IC identity.
| [out] | type | 5-bit IC type code (00101: ST25R3916/7) |
| [out] | rev | 3-bit IC revision code (010: rev 3.1) |
| bool m5::unit::UnitST25R3916::readInterrupts | ( | uint32_t & | value | ) |
Read the all interrupt.
| [out] | value | Value (MSB main, NFC, error, passive LSB) |
|
inline |
Read the I/O configuration 1-2.
| [out] | value | Value (MSB cfg1, cfg2 LSB) |
|
inline |
Read the I/O configuration 1.
| [out] | value | Value |
|
inline |
Read the I/O configuration 2.
| [out] | value | Value |
|
inline |
Read the main interrupt.
| [out] | value | Value |
|
inline |
Read the mask error and wake-up interrupt.
| [out] | value | Value |
|
inline |
Read the all mask.
| [out] | value | Value (MSB main, NFC, error, passive LSB) |
|
inline |
Read the mask main interrupt.
| [out] | value | Value |
|
inline |
Read the mask passive target interrupt.
| [out] | value | Value |
|
inline |
Read the mask receive timer.
| [out] | value | Value |
|
inline |
Read the mask timer and NFC interrupt.
| [out] | value | Value |
|
inline |
Read the mode definition.
| [out] | value | Value |
|
inline |
Read the NFC field on guard timer.
| [out] | value | Value |
|
inline |
Read the NFCIP-1 passive target definition.
| [out] | value | Value |
|
inline |
Read the no-response timer 1-2.
| [out] | value | Value (MSB timer1, timer2 LSB) |
|
inline |
Read the no-response timer 1.
| [out] | value | Value |
|
inline |
Read the no-response timer 2.
| [out] | value | Value |
|
inline |
Read the number of transmitted bytes 1-2.
| [out] | value | Value (MSB bytes1, bytes2 LSB) |
|
inline |
Read the number of transmitted bytes 1.
| [out] | value | Value |
|
inline |
Read the number of transmitted bytes 2.
| [out] | value | Value |
|
inline |
Read the operation control.
| [out] | value | Value |
|
inline |
Read the overshoot protection configuration 1-2.
| [out] | value | Value (MSB cfg1, cfg2 LSB) |
|
inline |
Read the overshoot protection configuration 1.
| [out] | value | Value |
|
inline |
Read the overshoot protection configuration 2.
| [out] | value | Value |
|
inline |
Read the P2P receiver configuration.
| [out] | value | Value |
|
inline |
Read the passive target.
| [out] | value | Value |
|
inline |
Read the passive target interrupt.
| [out] | value | Value |
|
inline |
Read the passive target modulation.
| [out] | value | Value |
|
inline |
Read the phase measurement auto-averaging display.
| [out] | value | Value |
|
inline |
Read the phase measurement configuration.
| [out] | value | Value |
|
inline |
Read the phase measurement display.
| [out] | value | Value |
|
inline |
Read the phase measurement reference.
| [out] | value | Value |
|
inline |
Read the PPON2 field waiting.
| [out] | value | Value |
|
inline |
Read the receiver configuration 1-4.
| [out] | value | Value (MSB cfg1,cfg2,cfg3,cfg4 LSB) |
|
inline |
Read the receiver configuration 1.
| [out] | value | Value |
|
inline |
Read the receiver configuration 2.
| [out] | value | Value |
|
inline |
Read the receiver configuration 3.
| [out] | value | Value |
|
inline |
Read the receiver configuration 4
| [out] | value | Value |
|
inline |
Read the regulator display.
| [out] | value | Value |
|
inline |
Read the regulator voltage control.
| [out] | value | Value |
|
inline |
Read the resistive AM modulation.
| [out] | value | Value |
|
inline |
Read the external field detector deactivation threshold.
| [out] | value | Value |
|
inline |
Read the settings for ISO14443B and FeliCa.
| [out] | value | Value |
|
inline |
Read the settings for ISO14443A and NFC 106kb/s.
| [out] | value | Value |
|
inline |
Read the settings for ISO14443B.
| [out] | value | Value |
|
inline |
Read the squelch timer.
| [out] | value | Value |
|
inline |
Read the stream mode definition.
| [out] | value | Value |
|
inline |
Read the subcarrier start timer.
| [out] | value | Value |
|
inline |
Read the timer and EMV control.
| [out] | value | Value |
|
inline |
Read the timer and NFC interrupt.
| [out] | value | Value |
|
inline |
Read the TX driver.
| [out] | value | Value |
|
inline |
Read the TX driver timing.
| [out] | value | Value |
|
inline |
Read the TX driver timing display.
| [out] | value | Value |
|
inline |
Read the undershoot protection configuration 1-2.
| [out] | value | Value (MSB cfg1, cfg2 LSB) |
|
inline |
Read the undershoot protection configuration 1.
| [out] | value | Value |
|
inline |
Read the undershoot protection configuration 2.
| [out] | value | Value |
|
inline |
Read the Wake-up timer control.
| [out] | value | Value |
|
inline |
Write the amplitude measurement configuration.
| value | Value |
|
inline |
Write the amplitude measurement reference.
| value | Value |
|
inline |
Write the Antenna tuning control 1-2.
| value | Value (MSB tuning1, tuning2 LSB) |
|
inline |
Write the Antenna tuning control 1.
| value | Value |
|
inline |
Write the Antenna tuning control 2.
| value | Value |
|
inline |
Write the Auxiliary definition.
| value | Value |
|
inline |
Write the auxiliary modulation setting.
| [out] | value | Value |
| bool m5::unit::UnitST25R3916::writeBitrate | ( | const m5::nfc::Bitrate | tx, |
| const m5::nfc::Bitrate | rx ) |
Write the initiator operation mode and transition to initiator mode.
writeModeDefinition
| mode | InitiatorOperationMode |
| optional | Other setting bits |
|
inline |
Write the bitrate definition.
| value | Value |
|
inline |
Write the capacitance measurement configuration.
| value | Value |
|
inline |
Write the capacitance measurement reference.
| value | Value |
|
inline |
Write the capacitive sensor control.
| value | Value |
|
inline |
Write the correlator configuration 1-2.
| value | Value (MSB cfg1,cfg2 LSB) |
|
inline |
Write the correlator configuration 1.
| value | Value |
|
inline |
Write the correlator configuration 2.
| value | Value |
| bool m5::unit::UnitST25R3916::writeDirectCommand | ( | const uint8_t | cmd, |
| const uint8_t * | data = nullptr, | ||
| const uint32_t | dlen = 0u ) |
Write the direct command with data.
| cmd | Direct command |
| data | The data pointer if additional data is available |
| dlen | length of th e additional data |
|
inline |
Write the EMD suppression configuration.
| value | Value |
|
inline |
Write the external field detector activation threshold.
| value | Value |
|
inline |
Write the external field detector deactivation threshold.
| value | Value |
| bool m5::unit::UnitST25R3916::writeFIFO | ( | const uint8_t * | buf, |
| const uint16_t | buf_size ) |
Write to FIFO.
| buf | Buffer |
| buf_size | Buffer size |
|
inline |
Write the general purpose timer 1-2.
| value | Value (MSB timer1,timer2 LSB) |
|
inline |
Write the general purpose timer 1.
| value | Value |
|
inline |
Write the general purpose timer 2.
| value | Value |
| bool m5::unit::UnitST25R3916::writeInitiatorOperationMode | ( | const st25r3916::InitiatorOperationMode | mode, |
| const uint8_t | optional = 0 ) |
Write the initiator operation mode and transition to initiator mode.
writeModeDefinition
| mode | InitiatorOperationMode |
| optional | Other setting bits |
|
inline |
Write the I/O configuration 1-2
| value | Value (MSB cfg1, cfg2 LSB) |
|
inline |
Write the I/O configuration 1.
| value | Value |
|
inline |
Write the I/O configuration 1
| value | Value |
|
inline |
Write the mask error and wake-up interrupt.
| value | Value |
|
inline |
Write the all mask.
| value | Value (MSB main, NFC, error, passive LSB) |
|
inline |
Write the mask main interrupt.
| value | Value |
|
inline |
Write the mask passive target interrupt.
| value | Value |
|
inline |
Write the mask receive timer.
| value | Value |
|
inline |
Write the mask timer and NFC interrupt.
| value | Value |
|
inline |
Write the mode definition.
| value | Value |
|
inline |
Write the NFC field on guard timer.
| value | Value |
|
inline |
Write the NFCIP-1 passive target definition
| [out] | value | Value |
|
inline |
Write the no-response timer 1-2.
| value | Value (MSB timer1, timer2 LSB) |
|
inline |
Write the no-response timer 1.
| value | Value |
|
inline |
Write the no-response timer 2.
| value | Value |
|
inline |
Write the number of transmitted bytes and after bytes.
| bytes | Number of full bytes to be transmitted |
| afterBytes | Number of bits to transmit after the last full byte |
|
inline |
Write the number of transmitted bytes 1-2.
| value | Value (MSB bytes1, bytes2 LSB) |
|
inline |
Write the number of transmitted bytes 1.
| value | Value |
|
inline |
Write the number of transmitted bytes 2.
| value | Value |
|
inline |
Write the operation control.
| value | Value |
|
inline |
Write the overshoot protection configuration 1-2.
| value | Value (MSB cfg1, cfg2 LSB) |
|
inline |
Write the overshoot protection configuration 1.
| value | Value |
|
inline |
Write the overshoot protection configuration 2.
| value | Value |
|
inline |
Write the P2P receiver configuration.
| value | Value |
|
inline |
Write the passive target modulation.
| value | Value |
|
inline |
Write the phase measurement configuration.
| value | Value |
|
inline |
Write the phase measurement reference.
| value | Value |
|
inline |
Write the PPON2 field waiting.
| value | Value |
|
inline |
Write the receiver configuration 1-4.
| value | Value (MSB cfg1,cfg2,cfg3,cfg4 LSB) |
|
inline |
Write the receiver configuration 1.
| [out] | value | Value |
|
inline |
Write the receiver configuration 2.
| [out] | value | Value |
|
inline |
Write the receiver configuration 3.
| [out] | value | Value |
|
inline |
Write the receiver configuration 4.
| [out] | value | Value |
|
inline |
Write the regulator voltage control.
| value | Value |
|
inline |
Write the resistive AM modulation.
| value | Value |
|
inline |
Write the settings for ISO14443B and FeliCa.
| value | Value |
|
inline |
Write the settings for ISO14443A and NFC 106kb/s.
| value | Value |
|
inline |
Write the settings for ISO14443B.
| value | Value |
|
inline |
Write the squelch timer.
| value | Value |
|
inline |
Write the stream mode definition.
| value | Value |
|
inline |
Write the subcarrier start timer.
| value | Value |
| bool m5::unit::UnitST25R3916::writeTargetOperationMode | ( | const st25r3916::TargetOperationMode | mode, |
| const uint8_t | optional = 0 ) |
Write the initiator operation mode and transition to target mode.
writeModeDefinition
| mode | TargetOperationMode |
| optional | Other setting bits |
|
inline |
Write the timer and EMV control.
| value | Value |
|
inline |
Write the TX driver.
| value | Value |
|
inline |
Write the TX driver timing.
| [out] | value | Value |
|
inline |
Write the undershoot protection configuration 1-2.
| value | Value (MSB cfg1, cfg2 LSB) |
|
inline |
Write the undershoot protection configuration 1.
| value | Value |
|
inline |
Write the undershoot protection configuration 2.
| value | Value |
|
inline |
Write the Wake-up timer control.
| value | Value |