![](/media/cache/group/mbed_group_aewAOUI.png.50x50_q85.png)
Demonstration of possible usage of the NFC EEPROM class (including support for ST25DV NFC chip)
Dependencies: eeprom_driver
source/EEPROMDriver.h@0:86f202e07059, 2018-09-24 (annotated)
- Committer:
- mbed_official
- Date:
- Mon Sep 24 17:09:39 2018 +0100
- Revision:
- 0:86f202e07059
Add mbed deploy into the SmartPoster instructions.
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-nfc
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mbed_official | 0:86f202e07059 | 1 | /* mbed Microcontroller Library |
mbed_official | 0:86f202e07059 | 2 | * Copyright (c) 2018-2018 ARM Limited |
mbed_official | 0:86f202e07059 | 3 | * |
mbed_official | 0:86f202e07059 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
mbed_official | 0:86f202e07059 | 5 | * you may not use this file except in compliance with the License. |
mbed_official | 0:86f202e07059 | 6 | * You may obtain a copy of the License at |
mbed_official | 0:86f202e07059 | 7 | * |
mbed_official | 0:86f202e07059 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
mbed_official | 0:86f202e07059 | 9 | * |
mbed_official | 0:86f202e07059 | 10 | * Unless required by applicable law or agreed to in writing, software |
mbed_official | 0:86f202e07059 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
mbed_official | 0:86f202e07059 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
mbed_official | 0:86f202e07059 | 13 | * See the License for the specific language governing permissions and |
mbed_official | 0:86f202e07059 | 14 | * limitations under the License. |
mbed_official | 0:86f202e07059 | 15 | */ |
mbed_official | 0:86f202e07059 | 16 | |
mbed_official | 0:86f202e07059 | 17 | #ifndef SOURCE_EEPROMDRIVER_H_ |
mbed_official | 0:86f202e07059 | 18 | #define SOURCE_EEPROMDRIVER_H_ |
mbed_official | 0:86f202e07059 | 19 | |
mbed_official | 0:86f202e07059 | 20 | #include "nfc/NFCEEPROMDriver.h" |
mbed_official | 0:86f202e07059 | 21 | #include "events/EventQueue.h" |
mbed_official | 0:86f202e07059 | 22 | |
mbed_official | 0:86f202e07059 | 23 | /** |
mbed_official | 0:86f202e07059 | 24 | * Factory function that returns the NFC EEPROM driver. |
mbed_official | 0:86f202e07059 | 25 | * |
mbed_official | 0:86f202e07059 | 26 | * @param[in] queue The event queue that may be used by the driver. |
mbed_official | 0:86f202e07059 | 27 | * |
mbed_official | 0:86f202e07059 | 28 | * @return The NFC EEPROM driver to use. |
mbed_official | 0:86f202e07059 | 29 | */ |
mbed_official | 0:86f202e07059 | 30 | mbed::nfc::NFCEEPROMDriver& get_eeprom_driver(events::EventQueue& queue); |
mbed_official | 0:86f202e07059 | 31 | |
mbed_official | 0:86f202e07059 | 32 | #endif /* SOURCE_EEPROMDRIVER_H_ */ |