Microchip® Advanced Software Framework

QDebugSettings.h File Reference

This file contains the QDebug Configuration settings.

  • Compiler: IAR EWAVR32 and GNU GCC for AVR32
  • Supported devices: AT32UC3L0.
  • Userguide: QTouch Library User Guide - doc8207.pdf.
  • Support: https://www.microchip.com/support/

Copyright (c) 2010-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
 
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   48000
 
#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   0xE001
 
#define INTERFACE   SPI2W
 

#define INTERFACE   SPI2W

Referenced by Transmit_Sign_On().

#define PROJECT_ID   0xE001

Referenced by Transmit_Sign_On().

#define QDEBUG_PBA_FREQ_HZ   48000000UL
#define QDEBUG_SPI
#define QDEBUG_SPI_BAUD_RATE   48000
#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