Motorola USB08 Reference Manual page 58

Universal serial bus evaluation board using the mc68hc908jb8
Table of Contents

Advertisement

Software Module Descriptions
Designer Reference Manual
58
because this application does not use problematic constructions, like bit
fields in the source code.
In some places, using individual assembler instructions in the form of
in-line assembler directives is considered useful, for example, for the
interrupt enable in the main module U08MAIN.C. For this purpose, the
Cosmic C Compiler offers the following instruction:
_asm("<assembly statement >");
When using other compilers, similar instructions should be available.
However, some small syntactic adjustments can be necessary. Beside
the main module, the modules
such in-line assembler constructions.
The marking of a function as an interrupt service routine is not regulated
in the ANSI-C standard. For lack of a uniform regulation, the different
compilers handle this necessary marking in a different way. For
example, the Cosmic C Compiler uses the modification @interrupt:
@interrupt void interrupt_handler();
Other compilers use "#pragma" instructions to mark interrupt functions.
Software Module Descriptions
U08232.C
and
U08ADC.C
USB08 Evaluation Board
also contain
MOTOROLA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc68hc908jb8

Table of Contents