Echelon NodeBuilder Errors 3120 User Manual Page 50

  • Download
  • Add to my manuals
  • Print
  • Page
    / 123
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 49
5-30 Neuron C Compiler Errors (NCC)
NCC# Description
223
Improper function definition - missing parameter list
[NCC#223]
This message generally results from a syntax error of a specific kind.
The compiler's syntax-directed parser is fooled by the error into
thinking there is a function definition in progress, but the expected
parameter list, in parentheses, which follows a function definition, is
not found. For example:
static stuff i; // 'stuff' not defined
When a situation such as this arises, the compiler assumes 'stuff' is a
function name, since it has not been previously defined. This results
in a syntax error when 'i' is then read, since a function definition is
supposed to be followed by a parameter list.
224 Improper initializer format [NCC#224]
A set of initializers in braces has too many levels of braces, or is
otherwise incorrectly formulated. Initializers of aggregates (arrays,
structures, or unions) should have a set of braces for each level of
aggregate, but individual values should not
have their own braces.
225 Cannot set array bound from initializers [NCC#225]
The C language provides two methods of specifying the bounds of an
array. The first method, explicit bounds, uses a constant expression
in brackets following the array name. The second method, implicit
bounds, uses the number of initializers in the initializer list to
automatically set the array bounds. This method indicates a
problem in the initializer list such that the array bound cannot be
automatically set.
226 I/O object requires 'master' or 'slave' [NCC#226]
The neurowire I/O object being declared must have either master
or slave keywords after the neurowire keyword.
227
Cannot have a 'select' pin on 'neurowire slave' object
[NCC#227]
The neurowire master I/O object declaration requires a select
value. The neurowire slave I/O object declaration does not.
228 The 'timeout' pin must be one of IO_0 ... IO_7 [NCC#228]
The neurowire slave's timeout pin option can only be one of the
pins IO_0 through IO_7.
229
Neurowire slave device cannot have a baud or kbaud specifier
[NCC#229]
The neurowire master device generates the clock used in the
transfer. Therefore, specification of a bit rate in the declaration of a
slave neurowire device is meaningless.
230
Must specify 'enable_multiple_baud' prior to any I/O function
[NCC#230]
The #pragma enable_multiple_baud directive must appear prior
to the use of any I/O function (e.g. io_in( ), io_out( )). If this error
message appears, move the #pragma enable_multiple_baud
directive to the beginning of your program.
Page view 49
1 2 ... 45 46 47 48 49 50 51 52 53 54 55 ... 122 123

Comments to this Manuals

No comments