| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- /******************************************************************************
- *
- * Freescale Semiconductor Inc.
- * (c) Copyright 2004-2010 Freescale Semiconductor, Inc.
- * ALL RIGHTS RESERVED.
- *
- **************************************************************************//*!
- *
- * @file user_config.h
- *
- * @author
- *
- * @version
- *
- * @date
- *
- * @brief The file contains User Modifiable Macros for Generator Application
- *
- *****************************************************************************/
- #include "derivative.h"
- #if (defined MCU_MK70F12) || (defined __MCF52277_H__)
- #define HIGH_SPEED_DEVICE (0)
- #else
- #define HIGH_SPEED_DEVICE (0)
- #endif
- #if (defined MCU_MK20D7) || (defined MCU_MK40D7)
- #define MCGOUTCLK_72_MHZ
- #endif
- #if defined( __MCF52277_H__) || defined( MCU_mcf51jf128)
- #define BUTTON_PRESS_SIMULATION (1)
- #define KEY_PRESS_SIM_TMR_INTERVAL (2000) /* 2s between simulated key press events */
- #endif
- /* Below two MACROS are required for Generator Application to execute */
- #define LONG_SEND_TRANSACTION /* support to send large data pkts */
- #define LONG_RECEIVE_TRANSACTION /* support to receive large data pkts */
- /* User Defined MACRO to set number of Timer Objects */
- #define MAX_TIMER_OBJECTS 3
- #if MAX_TIMER_OBJECTS
- /* When Enabled Timer Callback is invoked with an argument */
- #define TIMER_CALLBACK_ARG
- #undef TIMER_CALLBACK_ARG
- #endif
- #ifndef _MC9S08JS16_H
- #define USB_PACKET_SIZE uint_16 /* support 16/32 bit packet size */
- #else
- #define USB_PACKET_SIZE uint_8 /* support 8 bit packet size */
- #endif
- #ifndef _MCF51JM128_H
- /* Use double buffered endpoints 5 & 6. To be only used with S08 cores */
- #define DOUBLE_BUFFERING_USED
- #endif
- #define USE_TERMINATOR_VIDEO 0
- #define USE_SKI_VIDEO 1
- #define USE_PRESENTATION_VIDEO 0
|