Api Definition; Configuration Items; Occs Configuration Items For Appconfig.h - Freescale Semiconductor DSP56800E User Manual

Hide thumbs Also See for DSP56800E:
Table of Contents

Advertisement

5.1.2.2

API Definition

The following header files are needed in order to use the OCCS device driver:
Required Header File(s):
#include "qs.h"
#include "occs.h"
The following information may be found in the header file occs.h.
Public Data Structure(s):
none
General-Use Macros:
#define OCCS_MSTROSC_FREQ
#define OCCS_CORE_FREQ
5.1.2.3

Configuration Items

This section summarizes the symbols used in macro definitions for the static OCCS module
configuration. These symbols are intended for the project specific configuration file appconfig.h
and are applied by the startup code.
SYMBOL
EXTCLK
only on MC56F800x:
EXTAL
5-6
Table 5-2. OCCS Configuration Items for appconfig.h
TYPE
UWord32
UWord32
Targeting 56F8xxx Platform
/* MSTR_OSC frequency calculated from
OCCS configuration in appconfig.h.
This frequency is supplied as an
input to PLL */
/* core frequency calculated from
OCCS_PLLCR_INIT and OCCS_PLLDB_INIT
and EXTCLK values */
DESCRIPTION
Specifies the external clock fre-
quency in Hz. This value is used
to calculate and define the
OCCS_CORE_FREQ macro
specifying the real core clock fre-
quency. The value is based on the
other appconfig.h symbols.
Specifies the Crystal clock fre-
quency in Hz. This value is used
to calculate and define the
OCCS_CORE_FREQ macro
specifying the real core clock fre-
quency if crystal owscillator is sell-
ected as source of clock. The
value is based on the other app-
config.h symbols.
WHEN UNDEFINED
The OCCS_CORE_FREQ
value is not available for
use.
The OCCS_CORE_FREQ
value is not available for
use.
FREESCALE SEMICONDUCTOR

Advertisement

Table of Contents
loading

Table of Contents