Sys Driver Application - Freescale Semiconductor DSP56800E User Manual

Hide thumbs Also See for DSP56800E:
Table of Contents

Advertisement

5.5.4

SYS Driver Application

The SYS driver application is designed for Freescale/Motorola EVM's and intended to illustrate
the usage of this driver by a real example. It shows a most common way of using the SYS/LVI
module in user application.
The
SYS
driver
Source}\..\sample_applications\MC56F8346EVM\sys_demo directory and consists of the
application project sys.mcp and the source code for the application main.c. This demo application
shows also the usage of the SYS and COP Drivers (Section 5.4).
Example 5-139. SYS Driver Application - appconfig.h
/*******************************************************************************
*
* Freescale Semiconductor Inc.
* (c) Copyright 2004-2007 Freescale Semiconductor, Inc.
* (c) Copyright 2001-2004 Motorola, Inc.
* ALL RIGHTS RESERVED.
*
********************************************************************************
*
* File Name: appconfig.h
*
* Description: file for static configuration of the application
*
(initial values, interrupt vectors)
*
*****************************************************************************/
#ifndef __APPCONFIG_H
#define __APPCONFIG_H
/*.*************************************************************************
*
* File generated by Graphical Configuration Tool Fri, 09/Feb/2007, 12:34:57
*
****************************************************************************.*/
#define MC56F8346
#define EXTCLK 8000000L
#define APPCFG_DFLTS_OMITTED 1
#define APPCFG_GCT_VERSION 0x0203000fL
/*.
OCCS Configuration
--------------------------------------------
Core frequency: 60 MHz
VCO frequency: 240 MHz
Loss of lock interrupt 0: Disable
Loss of lock interrupt 1: Disable
Loss of reference clock Interrupt: Disable
COP operation: Enable
COP timeout: 8 sec
COP Runs in Stop Mode: Disable
COP Runs in Wait Mode: Disable
COP Write Protect: Disable
.*/
#define OCCS_PLLCR_INIT
#define OCCS_PLLDB_INIT
#define COP_COPCTL_INIT
#define COP_COPTO_INIT
/*.
5-202
application
can
be
Targeting 56F8xxx Platform
found
at
e.g.
0x0082
0x201D
0x0002
0xF423
FREESCALE SEMICONDUCTOR
{DSP56800E_Quick_Start

Advertisement

Table of Contents
loading

Table of Contents