Fork of the GitHub

Committer:
DiegoOstuni
Date:
Thu Nov 14 14:34:17 2019 +0000
Revision:
0:8e1d760507b5
Add files

Who changed what in which revision?

UserRevisionLine numberNew contents of line
DiegoOstuni 0:8e1d760507b5 1 /**
DiegoOstuni 0:8e1d760507b5 2 ******************************************************************************
DiegoOstuni 0:8e1d760507b5 3 *
DiegoOstuni 0:8e1d760507b5 4 * COPYRIGHT(c) 2017 STMicroelectronics
DiegoOstuni 0:8e1d760507b5 5 *
DiegoOstuni 0:8e1d760507b5 6 * Redistribution and use in source and binary forms, with or without modification,
DiegoOstuni 0:8e1d760507b5 7 * are permitted provided that the following conditions are met:
DiegoOstuni 0:8e1d760507b5 8 * 1. Redistributions of source code must retain the above copyright notice,
DiegoOstuni 0:8e1d760507b5 9 * this list of conditions and the following disclaimer.
DiegoOstuni 0:8e1d760507b5 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
DiegoOstuni 0:8e1d760507b5 11 * this list of conditions and the following disclaimer in the documentation
DiegoOstuni 0:8e1d760507b5 12 * and/or other materials provided with the distribution.
DiegoOstuni 0:8e1d760507b5 13 * 3. Neither the name of STMicroelectronics nor the names of its contributors
DiegoOstuni 0:8e1d760507b5 14 * may be used to endorse or promote products derived from this software
DiegoOstuni 0:8e1d760507b5 15 * without specific prior written permission.
DiegoOstuni 0:8e1d760507b5 16 *
DiegoOstuni 0:8e1d760507b5 17 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
DiegoOstuni 0:8e1d760507b5 18 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
DiegoOstuni 0:8e1d760507b5 19 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DiegoOstuni 0:8e1d760507b5 20 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
DiegoOstuni 0:8e1d760507b5 21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DiegoOstuni 0:8e1d760507b5 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
DiegoOstuni 0:8e1d760507b5 23 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
DiegoOstuni 0:8e1d760507b5 24 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
DiegoOstuni 0:8e1d760507b5 25 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
DiegoOstuni 0:8e1d760507b5 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
DiegoOstuni 0:8e1d760507b5 27 *
DiegoOstuni 0:8e1d760507b5 28 ******************************************************************************
DiegoOstuni 0:8e1d760507b5 29 */
DiegoOstuni 0:8e1d760507b5 30 /*! \file
DiegoOstuni 0:8e1d760507b5 31 *
DiegoOstuni 0:8e1d760507b5 32 * \author
DiegoOstuni 0:8e1d760507b5 33 *
DiegoOstuni 0:8e1d760507b5 34 * \brief Demo functionality header file
DiegoOstuni 0:8e1d760507b5 35 *
DiegoOstuni 0:8e1d760507b5 36 */
DiegoOstuni 0:8e1d760507b5 37 /* Define to prevent recursive inclusion -------------------------------------*/
DiegoOstuni 0:8e1d760507b5 38
DiegoOstuni 0:8e1d760507b5 39
DiegoOstuni 0:8e1d760507b5 40
DiegoOstuni 0:8e1d760507b5 41 /* Includes ------------------------------------------------------------------*/
DiegoOstuni 0:8e1d760507b5 42 #include "platform1.h"
DiegoOstuni 0:8e1d760507b5 43 #include "st_errno.h"
DiegoOstuni 0:8e1d760507b5 44 #include "ST25R3911.h"
DiegoOstuni 0:8e1d760507b5 45
DiegoOstuni 0:8e1d760507b5 46
DiegoOstuni 0:8e1d760507b5 47
DiegoOstuni 0:8e1d760507b5 48
DiegoOstuni 0:8e1d760507b5 49 /* Exported functions ------------------------------------------------------- */
DiegoOstuni 0:8e1d760507b5 50 extern void demoCycle(SPI* mspiChannel, ST25R3911* mST25, DigitalIn * uButton, DigitalOut* gpio_cs, InterruptIn* IRQ,
DiegoOstuni 0:8e1d760507b5 51 DigitalOut* fieldLED_01, DigitalOut* fieldLED_02, DigitalOut* fieldLED_03, DigitalOut* fieldLED_04, DigitalOut* fieldLED_05, DigitalOut* fieldLED_06 );
DiegoOstuni 0:8e1d760507b5 52
DiegoOstuni 0:8e1d760507b5 53
DiegoOstuni 0:8e1d760507b5 54
DiegoOstuni 0:8e1d760507b5 55 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/