Download 8051 RTOS
Transcript
8051 RTOS
COM Com
{
COMERRORHOOK
COMUSEGETSERVICEID
COMUSEPARAMETERACCESS
COMSTARTCOMEXTENSION
COMSTATUS
};
=
=
=
=
=
TRUE;
TRUE;
TRUE;
TRUE;
COMEXTENDED;
}: "CPU Sample application";
3.4
Preprocessor Commands
The OIL preprocessor allows the following preprocessor commands:
• #include "file" or #include <file>
• #ifdef A
• #ifndef A
• #else
• #endif
It is highly recommended to divide the functionality of the OIL file into separated files. The
syntax is the same as in ISO/ANSI-C.
The OIL preprocessor accepts C++ -style comments (/* */ and //). C++ rules apply.
3-14