Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: mbed-os-nfc04a1 Wiagro-Lanza34-XDot
X_NUCLEO_NFC04A1_Private_Functions
[X_NUCLEO_NFC04A1]
Functions | |
| NFCTAG_StatusTypeDef | ST25DV_IO_Init (I2C *mi2cChannel, DigitalOut *mLPD) |
| Initializes peripherals used by the i2cChannel NFCTAG driver. | |
| NFCTAG_StatusTypeDef | ST25DV_IO_MemWrite (const uint8_t *const pData, const uint8_t DevAddr, const uint16_t TarAddr, const uint16_t Size, I2C *mi2cChannel) |
| Write data, at specific address, through i2c to the ST25DV. | |
| NFCTAG_StatusTypeDef | ST25DV_IO_Read (uint8_t *const pData, const uint8_t DevAddr, const uint16_t Size, I2C *mi2cChannel) |
| Reads data at current address from the NFCTAG. | |
| NFCTAG_StatusTypeDef | ST25DV_IO_IsDeviceReady (const uint8_t DevAddr, const uint32_t Trials, I2C *mi2cChannel) |
| Checks if target device is ready for communication. | |
Function Documentation
| NFCTAG_StatusTypeDef ST25DV_IO_Init | ( | I2C * | mi2cChannel, |
| DigitalOut * | mLPD | ||
| ) |
Initializes peripherals used by the i2cChannel NFCTAG driver.
- Parameters:
-
mi2cChannel : I2C channel mLPD
- Return values:
-
NFCTAG enum status
Definition at line 205 of file x_nucleo_nfc04a1.cpp.
| NFCTAG_StatusTypeDef ST25DV_IO_IsDeviceReady | ( | const uint8_t | DevAddr, |
| const uint32_t | Trials, | ||
| I2C * | mi2cChannel | ||
| ) |
Checks if target device is ready for communication.
- Note:
- This function is used with Memory devices
- Parameters:
-
DevAddr : Target device address mi2cChannel : I2C channel
- Return values:
-
NFCTAG enum status
Definition at line 333 of file x_nucleo_nfc04a1.cpp.
| NFCTAG_StatusTypeDef ST25DV_IO_MemWrite | ( | const uint8_t *const | pData, |
| const uint8_t | DevAddr, | ||
| const uint16_t | TarAddr, | ||
| const uint16_t | Size, | ||
| I2C * | mi2cChannel | ||
| ) |
Write data, at specific address, through i2c to the ST25DV.
- Parameters:
-
pData,: pointer to the data to write DevAddr : Target device address TarAddr : i2c data memory address to write Size : Size in bytes of the value to be written mi2cChannel : I2C channel
- Return values:
-
NFCTAG enum status
Definition at line 225 of file x_nucleo_nfc04a1.cpp.
| NFCTAG_StatusTypeDef ST25DV_IO_Read | ( | uint8_t *const | pData, |
| const uint8_t | DevAddr, | ||
| const uint16_t | Size, | ||
| I2C * | mi2cChannel | ||
| ) |
Reads data at current address from the NFCTAG.
- Parameters:
-
pData,: pointer to store read data DevAddr : Target device address Size : Size in bytes of the value to be read
- Return values:
-
NFCTAG enum status
Definition at line 304 of file x_nucleo_nfc04a1.cpp.
Generated on Thu Jul 14 2022 09:16:13 by
1.7.2