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.
transceiver.c
00001 /* 00002 * Copyright (c) 2013-2018, ARM Limited, All Rights Reserved 00003 * SPDX-License-Identifier: Apache-2.0 00004 * 00005 * Licensed under the Apache License, Version 2.0 (the "License"); you may 00006 * not use this file except in compliance with the License. 00007 * You may obtain a copy of the License at 00008 * 00009 * http://www.apache.org/licenses/LICENSE-2.0 00010 * 00011 * Unless required by applicable law or agreed to in writing, software 00012 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 00013 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00014 * See the License for the specific language governing permissions and 00015 * limitations under the License. 00016 */ 00017 /** 00018 * \file transceiver.c 00019 * \copyright Copyright (c) ARM Ltd 2013 00020 * \author Donatien Garnier 00021 * \details Transceiver 00022 */ 00023 00024 /** \addtogroup Transceiver 00025 * @{ 00026 * \name Initialization 00027 * @{ 00028 */ 00029 00030 #include "transceiver.h" 00031 00032 /** Initialize nfc_transceiver_t structure 00033 * \param pTransceiver pointer to nfc_transceiver_t structure to initialize 00034 * \param pTransport pointer to already initialized nfc_transport_t structure 00035 * \param pImpl pointer to the structure implementing the transceiver interface (eg pn512_t or pn532_t) 00036 */ 00037 void transceiver_init(nfc_transceiver_t *pTransceiver, nfc_transport_t *pTransport, nfc_scheduler_timer_t *pTimer) 00038 { 00039 pTransceiver->pTransport = pTransport; 00040 nfc_scheduler_init(&pTransceiver->scheduler, pTimer); 00041 } 00042 00043 00044 /** 00045 * @} 00046 * @} 00047 * */
Generated on Tue Aug 9 2022 00:37:23 by
1.7.2