Echelon Neuron C User Manual

Page 263

Advertising
background image

Neuron C Programmer’s Guide

251

periodic, 154, 158

restrictions, 165
semaphore, 161

sharing data, 161

sources, 153
task, 155

timer/counter, 154, 156

timing, 162

interrupt service routine.

See ISR

io_changes event, 19

memory use, 174

io_update_occurs event

examples, 31, 33

is_bound( ) function, 50
ISR

defining, 155

L

len keyword, 128

librarian, 220, 222

command line switches, 219

libraries

advantages of, 223

disadvantages of, 223
including in link, 217

report of library contents, 219

library, 222

definition, 228

functions, 13

limits.h, 241

link map, 209
linker, 222, 223

command line switches, 216

linking a program, 184
lock keyword, 161

logging system errors, 171

long int, 13, 241
long to short integer conversion, 241

L

ON

M

ARK

Interoperability Association

website, 10

LonTalk protocol, 119

L

ON

W

ORKS

messages, 9

lowering power consumption, 167

M

magcard I/O object, 150

magtrack1 I/O object, 150
main( ), 14, 239

max( ) function, 202

max_rate_est option, 122
Media Access Control (MAC) layer, 119

memcpy( ) function, 124, 188

memory

page, definition of, 205

usage

default, 180
non-default, 181

use by program elements, 174

wait states, 178

memory-mapped I/O

usage tip, 198

message codes, 120, 123

application-specific, 123

ranges, 123

message data

block transfer, 124

message tags, 13, 123, 200

and explicit addressing, 130
connecting, 130

declaration, 122

default msg_in tag, 130
limitations on name length, 13

non-bindable, 130

syntax, 122

messages, 9

cancelling, 126

code, 118

completion status, 131
data field, 118

events, 153

explicit, 11
explicit addressing of, 130, 197

foreign-frame, 120, 124

implicit, 119
incoming, 122

format of, 127

list of steps, 120
priority, 143

processing completion events, 133

protocol overhead, 192
receiving, 126

sending, 125

unwanted, 128

messaging service, 4

millisecond timers, 25

min( ) function, 202
Miranda prototype rule, 25

model file, 12

monitoring device, 65
msec_delay( ) function, 40

msg_alloc( ) function, 135, 143

msg_alloc_priority( ) function, 143
msg_arrives event, 20, 126, 127

msg_cancel( ) function, 125, 144

msg_completes event, 20, 123, 131, 148

msg_fails event, 21, 131, 141, 148
msg_free( ) function, 143

msg_in message tag, 122

msg_in object, 127, 142, 143

addr field, 128, 198

fields invalidated, 128

msg_out object, 120, 130, 144

defined, 121

dest_addr field, 198

tag field, 123

msg_receive( ) function, 126, 127, 137, 144, 150

Advertising