Echelon Neuron C User Manual

Page 217

Advertising
background image

Neuron C Reference Guide

197

unsigned

: 0;

unsigned

: 4;

unsigned receive_trans_count

: 4;

unsigned app_buf_out_size : 4;

unsigned

app_buf_in_size

:

4;

unsigned net_buf_out_size : 4;

unsigned

net_buf_in_size

:

4;

unsigned net_buf_out_priority_count

: 4;

unsigned app_buf_out_priority_count

: 4;

unsigned app_buf_out_count : 4;

unsigned app_buf_in_count : 4;

unsigned net_buf_out_count : 4;

unsigned net_buf_in_count : 4;

unsigned reserved1 [6];

unsigned

: 6;

unsigned tx_by_address

: 1;

unsigned idempotent_duplicate

: 1;

} read_only_data_struct;

typedef struct read_only_data_struct_2 {

unsigned read_write_protect_2

: 1;

unsigned custom_mac

: 1;

unsigned alias_count

: 6;

unsigned msg_tag_count

: 4;

unsigned

has_ecs_flag :

1;

unsigned prt_count

: 3;

int reserved2

[3];

} read_only_data_struct_2;

typedef struct read_only_data_struct_3 {
unsigned nvCount;
unsigned aliasCount;
unsigned long siDataEx;
unsigned dmf : 1;
unsigned : 7;
} read_only_data_struct_3;

const read_only_data_struct read_only_data;
const read_only_data_struct_2 read_only_data_2;
const read_only_data_struct_3 read_only_data_3;

The application program can read these structures, but cannot write them, using

read_only_data, read_only_data_2, and read_only_data_3. The first structure is
41 bytes, and it can be read and mostly written (except for the first eight bytes)

over the network using the

read memory

and

write memory

network

management messages with address_mode=1. The second structure is seven
bytes, and the third structure is five bytes. The structures are written during the

process of downloading a new application image into the device.
For more information about the individual fields of the read-only data structures,
see the ISO/IEC 14908 (ANSI/EIA/CEA-709.1)

Control Network Protocol

specification.

Advertising