ATMEL: config.h File Reference

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

# config.h File Reference

`#include "lib_mcu/compiler.h"`
`#include "conf/conf_scheduler.h"`
`#include "lib_board\stk_525\stk_525.h"`

Include dependency graph for config.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Defines

#define | USE_ADC
| Enable (define) or not (undefine) the ADC usage.
#define | STK525 1
| To include proper target hardware definitions, select target board (USBKEY).
#define | TARGET_BOARD STK525
#define | FOSC 8000
| CPU core frequency in kHz.
#define | USE_TIMER16 TIMER16_1
#define | HID_GENERIC_DEMO_FULL DISABLE
| Define it to generate a firmware compatible with HID Generic Demo FULL.
#define | HOST_SYNC_MODE ENABLE
#define | BAUDRATE 57600
#define | USE_UART2
#define | UART_U2
#define | uart_putchar putchar
#define | r_uart_ptchar int
#define | p_uart_ptchar int
#define | ADC_PRESCALER 32
| ADC Prescaler value.
#define | ADC_RIGHT_ADJUST_RESULT 1
| Right adjust.
#define | ADC_INTERNAL_VREF 2
| AVCC As reference voltage (See adc_drv.h).
#define | SBC_VENDOR_ID {'A','T','M','E','L',' ',' ',' '}
#define | SBC_PRODUCT_ID {'A','T','9','0','U','S','B','1','2','8',' ','M',' ','S',' ',' '}
#define | SBC_REVISION_ID {'0','.','0','0'}
#define | NB_IDLE_POLLING_SOF 2
| --------- Device Mouse configuration -------------------------------------
#define | MOUSE_SPEED 3
#define | MAX_FILE_LENGHT 30
#define | USHELL_DFU ENABLE
#define | USHELL_USB ENABLE
#define | USHELL_HID ENABLE
#define | USHELL_HISTORY 5
#define | USHELL_SIZE_CMD_LINE 30
#define | USHELL_NB_LINE 20
#define | USHELL_SIZE_OF_EXT_BUFFER_TO_PERF_CMD 4
#define | TRACE DISABLE
#define | LOG_STR_CODE(s) ushell_trace_msg(s)

## Functions

void | ushell_trace_msg (U8 code *str)

## Detailed Description

This file contains the system configuration definition.

- Compiler: IAR EWAVR and GNU GCC for AVR
- Supported devices: AT90USB1287, AT90USB1286, AT90USB647, AT90USB646

Author:
  Atmel Corporation: http://www.atmel.com
  Support and FAQ: http://support.atmel.no/

Definition in file config.h.