Microchip® Advanced Software Framework

thirdparty/qtouch/devspecific/sam0/samd/examples/example_mutlcap/qtouch/QDebugSettings.h File Reference

QTouch debug settings.

Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.

Macros

Project Constants.

Values from 0xF000->0xFFFF are reserved for Atmel Kits. Values from 0x0000->0xEFFF are available for other projects.

#define QT8   0xF001
 
#define QT16   0xF002
 
#define QM64   0xF003
 
#define UC3L_EK_REV2   0xF005
 
#define SAMD20_XPLAINED_PRO_SELFCAP_EXT   0xF010
 
#define SAMD20_XPLAINED_PRO_MUTLCAP_EXT   0xF011
 
Interface constants.
#define TWI   1
 
#define SPI1W   2
 
#define SPI2W   3
 
#define UART   4
 
Select the type of interface to use for the debug protocol.

Comment out the interface not used. Only one interface should be active.

#define QDEBUG_BITBANG_SPI
 
#define QDEBUG_SPI_BB
 
#define QDEBUG_SPI_BB_SS_PIN   31
 
#define QDEBUG_SPI_BB_SCK_PIN   23
 
#define QDEBUG_SPI_BB_MOSI_PIN   22
 
#define QDEBUG_SPI_BB_MISO_PIN   16
 
#define QDEBUG_SPI_BB_SS_PORT   B
 
#define QDEBUG_SPI_BB_SCK_PORT   B
 
#define QDEBUG_SPI_BB_MOSI_PORT   B
 
#define QDEBUG_SPI_BB_MISO_PORT   B
 
Set up project info.
#define PROJECT_ID   SAMD20_XPLAINED_PRO_MUTLCAP_EXT
 
#define INTERFACE   SPI2W
 

#define INTERFACE   SPI2W
#define PROJECT_ID   SAMD20_XPLAINED_PRO_MUTLCAP_EXT
#define QDEBUG_BITBANG_SPI
#define QDEBUG_SPI_BB
#define QDEBUG_SPI_BB_MISO_PIN   16
#define QDEBUG_SPI_BB_MISO_PORT   B
#define QDEBUG_SPI_BB_MOSI_PIN   22
#define QDEBUG_SPI_BB_MOSI_PORT   B
#define QDEBUG_SPI_BB_SCK_PIN   23
#define QDEBUG_SPI_BB_SCK_PORT   B
#define QDEBUG_SPI_BB_SS_PIN   31
#define QDEBUG_SPI_BB_SS_PORT   B
#define QM64   0xF003
#define QT16   0xF002
#define QT8   0xF001
#define SAMD20_XPLAINED_PRO_MUTLCAP_EXT   0xF011
#define SAMD20_XPLAINED_PRO_SELFCAP_EXT   0xF010
#define SPI1W   2
#define SPI2W   3
#define TWI   1
#define UART   4
#define UC3L_EK_REV2   0xF005