/** ###################################################################
**     THIS COMPONENT MODULE IS GENERATED BY THE TOOL. DO NOT MODIFY IT.
**     Filename    : freemaster_cfg.h
**     Project     : ProcessorExpert
**     Processor   : MC56F84789VLL
**     Version     : Component 01.006, Driver 01.04, CPU db: 3.50.001
**     Compiler    : Metrowerks DSP C Compiler
**     Date/Time   : 2012-07-05, 21:21, # CodeGen: 28
**     Abstract    :
**          FreeMASTER Serial Communication Driver configuration file
**
**     Copyright : 1997 - 2012 Freescale Semiconductor, Inc. All Rights Reserved.
**     
**     http      : www.freescale.com
**     mail      : support@freescale.com
** ###################################################################*/

#ifndef __FREEMASTER_CFG_H
#define __FREEMASTER_CFG_H

/* Select interrupt or poll-driven serial communication */
#define FMSTR_LONG_INTR         0x00
#define FMSTR_SHORT_INTR        0x00
#define FMSTR_POLL_DRIVEN       0x01   /* No interrupt needed, polling only */

/* SCI communication */
#define FMSTR_USE_SCI           0x01   /* Use SCI interface */
#define FMSTR_SCI_BASE          0xE080 /* SCI Base address is same as SCI Baud Rate register address */
#define FMSTR_USE_JTAG          0x00   /* Disable JTAG interface */

/* FreeMaster communication buffer */
#define FMSTR_COMM_BUFFER_SIZE  0x3C   /* Input/output communication buffer size */
#if FMSTR_SHORT_INTR
#define FMSTR_COMM_RQUEUE_SIZE  0x20   /* Receive FIFO queue size (use with FMSTR_SHORT_INTR only) */
#endif

/* Application command support */
#define FMSTR_USE_APPCMD        0x00   /* Application commands support disabled */

/* Oscilloscope support */
#define FMSTR_USE_SCOPE         0x01   /* Scope enabled */
#define FMSTR_MAX_SCOPE_VARS    0x08   /* Max. number of scope variables (2..8) */

/* Recorder support */
#define FMSTR_USE_RECORDER      0x01   /* Recorder support enabled */
#define FMSTR_REC_BUFF_SIZE     0x09C4 /* Recorder buffer size */
#define FMSTR_USE_FASTREC       0x00   /* Fast recorder support disabled */
#define FMSTR_REC_OWNBUFF       0x00   /* User-allocated rec. buffer is not used */
#define FMSTR_REC_FARBUFF       0x00   /* Buffer is not putted in "fardata" section */
#define FMSTR_MAX_REC_VARS      0x08   /* Max. number of recorder variables (2..8) */
#define FMSTR_REC_TIMEBASE      0x8064 /* Recorder timebase */
#define FMSTR_USE_BRIEFINFO     0x00   /* Full board information structure is required becouse recorder is used */

/* Target-side addressing support */
#define FMSTR_USE_TSA           0x00   /* Disable TSA functionality */

#define FMSTR_USE_READMEM       0x01   /* Enable read memory commands */
#define FMSTR_USE_WRITEMEM      0x01   /* Enable write memory commands */
#define FMSTR_USE_WRITEMEMMASK  0x01   /* Enable masked write memory commands */

#define FMSTR_USE_READVAR       0x00   /* Disable read variable fast commands */
#define FMSTR_USE_WRITEVAR      0x00   /* Disable write variable fast commands */
#define FMSTR_USE_WRITEVARMASK  0x00   /* Disable write variable bits fast commands */

/* SFIO support */
#define FMSTR_USE_SFIO          0x00   /* SFIO support disabled */

#endif                                 /* __FREEMASTER_CFG_H */

/*
** ###################################################################
**
**     This file was created by Processor Expert 5.3 [05.01]
**     for the Freescale 56800 series of microcontrollers.
**
** ###################################################################
*/

