RAM 6.0 BUX II Series Betriebsanweisung Seite 32

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 189
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 31
VxWorks
BSP Developer’s Guide, 6.0
24
This file is intended for constant information that is not subject to user
configuration. If any macros or values defined in this file can be changed to
customize this system, define those macros or values in config.h instead.
When developing your BSP, it is helpful to use a sample header file as a starting
point. In most cases, the sample file requires minimal modification because most
constant names, basic device addresses, and so on are already defined in the
sample file. Define the following in bspname.h:
Interrupt Vectors and Levels
Define all interrupt vectors and levels that are dictated by hardware in
bspname.h.
I/O Device Addresses
Define all I/O addresses fixed by hardware in bspname.h.
Meaning of Device Register Bits.
For on-board control registers, you define a macro value for each bit or group
of bits in each register. Place such macro definitions in bspname.h if there is no
better location (such as a device-specific header file) for them.
System and Auxiliary Clock Parameters
Define maximum and minimum rates.
sysALib.s
This file contains the RAM image’s entry point, _sysInit( ). _sysInit( ) performs
any required hardware-specific initialization before jumping to usrInit( ) in
usrConfig.c.
Any additional utility routines that must be written in assembly language and are
required during normal system operation are also contained in sysALib.s.
NOTE: In general, use the config.h file to define configurable values and the
bspname.h file to define values fixed in hardware.
NOTE: It is advisable to include macros describing all available bits, or groups of
bits in each control register, even if those bits are not used by the BSP.
Seitenansicht 31
1 2 ... 27 28 29 30 31 32 33 34 35 36 37 ... 188 189

Kommentare zu diesen Handbüchern

Keine Kommentare