Download Processor IP Reference Guide

Transcript
R
Insight MDFG456 Reference BSP
Miscellaneous Functions
void sysMsDelay(UINT32 delay)
Delay the specified number of milliseconds. The delay is implemented as a busy loop that
occupies the CPU. The delay can be pre-empted by a higher priority task or interrupts if
tasking/interrupts are enabled causing loss of delay precision.
void sysUsDelay(UINT32 delay)
Delay the specified number of microseconds. The delay is implemented as a busy loop that
occupies the CPU. The delay can be pre-empted by a higher priority task or interrupts if
tasking/interrupts are enabled causing loss of delay precision.
This function not accurate for delay times below 20us due to system overhead. The
overhead is more or less constant and can be negated by the use of SYS_US_DELAY_BIAS
defined in config.h. Use this constant to calibrate to your system’s needs.
Board Specific Options
This section discusses MDFG456 specific configuration options that can be set either in
config.h or in the Project GUI. Unless otherwise stated, these options can be set by
#define’ing or #undef’ing them in config.h or by defining them in the Project GUI in
the project workspace’s macros settings in the build tab.
Table 11-18:
Custom BSP Options
Option
Description
INCLUDE_P160_COMM_MODULE
Controls whether code used to control peripherals is
eligible to be compiled into the BSP. P160 has an
ethernet controller, flash/SRAM memories, and a
UART amongst other things.
INCLUDE_XSYSACE_INSTALL_-RESET_VEC
Controls whether reset code is placed the processor’s
reset vector address. This reset code will trigger
SystemACE to load the default configuration
bitstream.
INCLUDE_XSYSACE_AUTOMOUNT
Controls whether the System ACE filesystem is
mounted at boot time using the next two SYSACE_
constants defined in this table. This constant affects
only Project builds.
SYSACE_AUTOMOUNT_POINT
Default mount point used when INCLUDE_XSYSACE_AUTOMOUNT is defined in Project builds.
SYSACE_AUTOMOUNT_PARTITION
Default partition used when INCLUDE_XSYSACE_AUTOMOUNT is defined in Project builds.
INCLUDE_BOOT_FLASH
Sets the BSP up to boot from Flash memory. If not
defined, then SystemACE is assumed to be the
bootstrap device.
Processor IP Reference Guide
August 2004
www.xilinx.com
1-800-255-7778
64