Introduction – Echelon Neuron C User Manual

Page 210

Advertising
background image

190

Built-In Variables, Objects, Symbols, and Semaphore

Introduction

Neuron C Version 2 provides built-in variables and built-in objects. The term

“built-in” means that the definition is part of the Neuron C language, and is
directly generated by the compiler, rather than being a reference to a normal

variable.
The built-in variables are:

activate_service_led

config_data

cp_modifiable_value_file
cp_modifiable_value_file_len

cp_readonly_value_file
cp_readonly_value_file_len

cp_template_file

cp_template_file_len
fblock_index_map

input_is_new

input_value
msg_tag_index

nv_array_index

nv_in_addr
nv_in_index

read_only_data

read_only_data_2

The built-in objects are:

msg_in
msg_out

resp_in

resp_out

The built-in, predefined pre-processor symbols are:

_ECHELON

_FTXL
_ILON

_LID3

_MINIKIT
_MODEL_FILE

_NCC5
_NEURONC

_NODEBUILDER

_SHORTSTACK

For Series 5000 chips, you can control access to shared data through the use of

the built-in semaphore. The following keyword defines a locked section controlled

by the semaphore:

__lock { }

The following sections describe these built-in elements.

Advertising