adafruit_pn532_config.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /* Copyright (c) 2015 Nordic Semiconductor. All Rights Reserved.
  2. *
  3. * The information contained herein is property of Nordic Semiconductor ASA.
  4. * Terms and conditions of usage are described in detail in NORDIC
  5. * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT.
  6. *
  7. * Licensees are granted free, non-transferable use of the information. NO
  8. * WARRANTY of ANY KIND is provided. This heading must NOT be removed from
  9. * the file.
  10. *
  11. */
  12. #ifndef ADAFRUIT_PN532_CONFIG_H
  13. #define ADAFRUIT_PN532_CONFIG_H
  14. #include "boards.h"
  15. /**
  16. * @defgroup nrf_external_adafruit_pn532_host_config Host configuration
  17. * @{
  18. * @ingroup nrf_external_adafruit_pn532
  19. * @brief These defines should be specified to configure pins for the appropriate board type
  20. * and choose a TWI instance.
  21. */
  22. /**
  23. * @brief Identifier of the TWI instance.
  24. */
  25. #define MASTER_TWI_INST 0
  26. /**
  27. * @name Macros for Arduino pin mappings
  28. * @{
  29. *
  30. */
  31. #define PN532_IRQ (ARDUINO_2_PIN)
  32. #define PN532_RESET (ARDUINO_3_PIN)
  33. /* @} */
  34. /* @} */
  35. #endif //ADAFRUIT_PN532_CONFIG_H