mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
50 lines
893 B
C
50 lines
893 B
C
/*
|
|
* Copyright (C) 2016 TriaGnoSys GmbH
|
|
*
|
|
* This file is subject to the terms and conditions of the GNU Lesser
|
|
* General Public License v2.1. See the file LICENSE in the top level
|
|
* directory for more details.
|
|
*/
|
|
|
|
/**
|
|
* @ingroup tests
|
|
* @{
|
|
*
|
|
* @file
|
|
* @brief PN532 board configuration example
|
|
*
|
|
* @author Víctor Ariño <victor.arino@triagnosys.com>
|
|
*/
|
|
|
|
#ifndef PN532_PARAMS_H
|
|
#define PN532_PARAMS_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include "kernel_defines.h"
|
|
|
|
static const pn532_params_t pn532_conf[] = {
|
|
{
|
|
#if IS_USED(MODULE_PN532_I2C)
|
|
.i2c = TEST_PN532_I2C,
|
|
#endif
|
|
#if IS_USED(MODULE_PN532_SPI)
|
|
.spi = TEST_PN532_SPI,
|
|
#endif
|
|
.reset = TEST_PN532_RESET,
|
|
.irq = TEST_PN532_IRQ,
|
|
#if IS_USED(MODULE_PN532_SPI)
|
|
.nss = TEST_PN532_NSS
|
|
#endif
|
|
},
|
|
};
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* PN532_PARAMS_H */
|
|
/** @} */
|