Api data types, Appendix a – Echelon ISI User Manual

Page 105

Advertising
background image

103

ISI Programmer’s Guide

Appendix A

API Data Types

This appendix describes the data types used by the ISI

library. Byte offset values shown refer to the IsiMessage

structure, starting with IsiMessageHeader at index 0.
This ISI API reference describes the ISI API for Neuron C,

and uses the Neuron C programming model. The Neuron C
language employs a 1-byte-centric, big-endian, programming

model. The char, int, short, and enum types all use a single

byte. The long

type

uses 2 bytes in big-endian ordering.

Bitfields are arranged in big-endian order within a single byte

boundary. Aggregate packing is 1, aggregate padding is 0.

The Neuron C language boolean constant FALSE has a value
of 0 (zero) and the boolean constant TRUE has a value of 1,

Any non-zero value is evaluated as true in a boolean

expression, and any function returning a boolean value may
return any non-zero value.

Advertising