Microchip® Advanced Software Framework

thirdparty/qtouch/devspecific/uc3/uc3l0/examples/example_qm/QDebugSettings.h File Reference

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
 
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_SPI
 
#define QDEBUG_SPI_BAUD_RATE   192000
 
#define QDEBUG_SPI_USART   (&AVR32_USART2)
 
#define QDEBUG_SPI_SCK_PIN   AVR32_USART2_CLK_0_1_PIN
 
#define QDEBUG_SPI_SCK_FUNCTION   AVR32_USART2_CLK_0_1_FUNCTION
 
#define QDEBUG_SPI_MISO_PIN   AVR32_USART2_RXD_0_0_PIN
 
#define QDEBUG_SPI_MISO_FUNCTION   AVR32_USART2_RXD_0_0_FUNCTION
 
#define QDEBUG_SPI_MOSI_PIN   AVR32_USART2_TXD_0_0_PIN
 
#define QDEBUG_SPI_MOSI_FUNCTION   AVR32_USART2_TXD_0_0_FUNCTION
 
#define QDEBUG_SPI_NSS_PIN   AVR32_USART2_RTS_0_PIN
 
#define QDEBUG_SPI_NSS_FUNCTION   AVR32_USART2_RTS_0_FUNCTION
 
#define QDEBUG_PBA_FREQ_HZ   48000000UL
 
Set up project info.
#define PROJECT_ID   QM64
 
#define INTERFACE   SPI2W
 

#define INTERFACE   SPI2W

Referenced by Transmit_Sign_On().

#define PROJECT_ID   QM64

Referenced by Transmit_Sign_On().

#define QDEBUG_PBA_FREQ_HZ   48000000UL
#define QDEBUG_SPI
#define QDEBUG_SPI_BAUD_RATE   192000
#define QDEBUG_SPI_MISO_FUNCTION   AVR32_USART2_RXD_0_0_FUNCTION
#define QDEBUG_SPI_MISO_PIN   AVR32_USART2_RXD_0_0_PIN
#define QDEBUG_SPI_MOSI_FUNCTION   AVR32_USART2_TXD_0_0_FUNCTION
#define QDEBUG_SPI_MOSI_PIN   AVR32_USART2_TXD_0_0_PIN
#define QDEBUG_SPI_NSS_FUNCTION   AVR32_USART2_RTS_0_FUNCTION
#define QDEBUG_SPI_NSS_PIN   AVR32_USART2_RTS_0_PIN
#define QDEBUG_SPI_SCK_FUNCTION   AVR32_USART2_CLK_0_1_FUNCTION
#define QDEBUG_SPI_SCK_PIN   AVR32_USART2_CLK_0_1_PIN
#define QDEBUG_SPI_USART   (&AVR32_USART2)
#define QM64   0xF003
#define QT16   0xF002
#define QT8   0xF001
#define SPI1W   2
#define SPI2W   3
#define TWI   1
#define UART   4
#define UC3L_EK_REV2   0xF005