Echelon Neuron C User Manual

Page 46

Advertising
background image

26

Compiler Directives

This directive has no effect for a Series 5000 chip because Series 5000 chips

do not have on-chip programmable pull-up resistors. The linker issues the
NLD#507 warning message if you include this directive for a Series 5000

device.
This directive is not supported in model files.

#pragma enable_multiple_baud

Must be used in a program with multiple serial I/O devices that have
differing bit rates. If needed, this pragma must appear prior to the use of any

I/O function (for example, io_in( ) and io_out( )).
This directive is not supported in model files.

#pragma enable_sd_nv_names

Causes the compiler to include the network variable names in the self-

documentation (SD) information when self-identification (SI) data is
generated. See

Standard Network Variable Types (SNVTs)

in Chapter 3,

How Devices Communicate Using Network Variables,

of the

Neuron C

Programmer’s Guide

.

#pragma enable_warning

number

Controls the compiler’s printing of specific warning and hint messages

Warning messages are less severe than errors, yet could indicate a problem
in a program, or a place where code could be improved. To enable all warning

messages, specify an asterisk (*) for the

number

.

See the disable_warning directive for the reverse operation.
The enable_warning directive supercedes the warnings_on directive.

#pragma explicit_addressing_off

#pragma explicit_addressing_on

These pragmas are only used with the Microprocessor Interface Program

(MIP) or for creating ShortStack Micro Server applications. See the

LonWorks Microprocessor Interface Program (MIP) User's Guide

or the

ShortStack User’s Guide

for more information.

These directives are not supported in model files.

#pragma fyi_off
#pragma fyi_on

Controls the compiler’s printing of informational messages. Informational
messages are less severe than warnings, yet could indicate a problem in a

program, or a place where code could be improved. Informational messages
are off by default at the start of compilation. These pragmas can be

intermixed multiple times throughout a program to turn informational

message printing on and off as desired.

#pragma hidden

This pragma is for use only in the <echelon.h> standard include file.

Advertising