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-example-nfc-EEPROM
Modules | |
| X_NUCLEO_NFC04A1_Global_Variables | |
| X_NUCLEO_NFC04A1_Public_Functions | |
| X_NUCLEO_NFC04A1_Private_Functions | |
| X_NUCLEO_NFC04A1_Exported_Types | |
| X_NUCLEO_NFC04A1_Exported_Constants | |
| ST25DV_NUCLEO_Exported_Functions | |
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 185 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 313 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 205 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 284 of file x_nucleo_nfc04a1.cpp.
Generated on Fri Jul 15 2022 06:26:51 by
1.7.2
X-NUCLEO-NFC04A1