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: TYBLE16_simple_data_logger TYBLE16_MP3_Air
NFCEEPROMDriver::Delegate Struct Reference
The NFCEEPROMDriver delegate. More...
#include <NFCEEPROMDriver.h>
Inherited by NFCEEPROM.
Public Member Functions | |
virtual void | on_session_started (bool success)=0 |
Completion of session start operation. | |
virtual void | on_session_ended (bool success)=0 |
Completion of session end operation. | |
virtual void | on_bytes_read (size_t count)=0 |
Completion of read operation. | |
virtual void | on_bytes_written (size_t count)=0 |
Completion of write operation. | |
virtual void | on_size_read (bool success, size_t size)=0 |
Completion of size retrieval operation. | |
virtual void | on_size_written (bool success)=0 |
Completion of size setting operation. | |
virtual void | on_bytes_erased (size_t count)=0 |
Completion of erasing operation. |
Detailed Description
The NFCEEPROMDriver delegate.
Methods in this class are called by the driver on completion of long-running operations.
Definition at line 52 of file NFCEEPROMDriver.h.
Member Function Documentation
virtual void on_bytes_erased | ( | size_t | count ) | [pure virtual] |
Completion of erasing operation.
- Parameters:
-
[in] count number of bytes actually erased
virtual void on_bytes_read | ( | size_t | count ) | [pure virtual] |
Completion of read operation.
- Parameters:
-
[in] count number of bytes actually read
virtual void on_bytes_written | ( | size_t | count ) | [pure virtual] |
Completion of write operation.
- Parameters:
-
[in] count number of bytes actually written
virtual void on_session_ended | ( | bool | success ) | [pure virtual] |
Completion of session end operation.
- Parameters:
-
[in] success whether this operation succeeded
virtual void on_session_started | ( | bool | success ) | [pure virtual] |
Completion of session start operation.
- Parameters:
-
[in] success whether this operation succeeded
virtual void on_size_read | ( | bool | success, |
size_t | size | ||
) | [pure virtual] |
Completion of size retrieval operation.
- Parameters:
-
[in] success whether this operation succeeded [out] size the current addressable memory size
virtual void on_size_written | ( | bool | success ) | [pure virtual] |
Completion of size setting operation.
- Parameters:
-
[in] success whether this operation succeeded
Generated on Tue Jul 12 2022 13:55:44 by
