Overview of neuron c functions, Execution control – Echelon Neuron C User Manual

Page 61

Advertising
background image

Neuron C Reference Guide

41

variables and floating-point arithmetic, and a discussion of the use of extended

precision variables and extended precision arithmetic is included in the following
list of functions.
Any existing application program developed for a Neuron 3120 Chip or 3120

Smart Transceiver using any system library functions might require more
EEPROM memory on a Neuron 3120 Chip or 3120 Smart Transceiver than it

would on a Neuron 3150 Chip, 3150 Smart Transceiverm or Series 5000 chip.
This is because more of the system functions are stored in the ROM firmware

image on a Neuron 3150 Chip, a 3150 Smart Transceiver, or a Series 5000 chip.

Examination of the link map provides a measure of the EEPROM memory used
by these functions. See

System Library on a Neuron 3120 Chip

in Chapter 8,

Memory Management,

of the

Neuron C Programmer's Guide

for more detailed

information on how to create and examine a link map to obtain a measure of the
Neuron 3120 Chip or 3120 Smart Transceiver EEPROM usage required for these

functions. Also see the

NodeBuilder User’s Guide

for additional information on

the link map.

Note: “Neuron 3120 Chip” above refers to all the Neuron 3120 Chips, including

3120, 3120E1, 3120E2, 3120E3, 3120E4, 3120E5, and 3120A20 Chips, as well as

the FT 3120 Smart Transceiver, the PL 3120 Smart Transceiver, and the PL
3170 Smart Transceiver.

Overview of Neuron C Functions

You can call the functions listed in the following sections from a Neuron C

application program. These functions are built into the Neuron C Compiler, or
are part of the Neuron firmware, or are linked into the application image from a

system library. The availability of these functions varies by model of Neuron
Chip or Smart Transceiver, as well as by firmware version. This detailed

information is available at

www.echelon.com/downloads

.

Execution Control

Table 6 lists the execution control functions.

Table 6. Execution Control Functions

Function

Description

delay( )

Delay processing for a time
independent of input clock rate

flush( )

Flush all outgoing messages and
network variable updates

flush_cancel( )

Cancel a flush in process

flush_wait( )

Wait for outgoing messages and

updates to be sent before going off-line

get_tick_count( )

Read hardware timer

Advertising