Echelon Neuron C User Manual
Page 10

x
The resp_receive( ) Function ........................................................139
Format of a Response....................................................................139
Request/Response Examples............................................................... 140
Comparison of resp_arrives and msg_succeeds................................. 141
Idempotent Versus Non-Idempotent Requests.................................. 141
Allocating Application Buffers............................................................143
Chapter 7. Additional Features......................................................................145
Scheduler Reset Mechanism ..................................................................... 146
Scheduler Example..............................................................................148
The post_events( ) Function................................................................149
Additional Predefined Events ................................................................... 151
Going Offline in Bypass Mode ............................................................ 152
I/O Interrupts ................................................................................154
Timer/Counter Interrupts ............................................................ 154
Periodic System Timer Interrupts ............................................... 154
Defining an Interrupt Task ................................................................ 155
Defining an I/O Interrupt Task.................................................... 155
Defining a Timer/Counter Interrupt Task .................................. 156
Defining a System Timer Interrupt Task.................................... 158
Controlling Interrupts......................................................................... 159
Sharing Data with an Interrupt Task................................................ 161
Debugging Interrupt Tasks................................................................. 164
Restrictions for Using Interrupts ....................................................... 165
Flushing the Neuron Chip or Smart Transceiver ............................. 166
The flush( ) and flush_cancel( ) Functions ..................................166
flush_completes Event .................................................................. 166
Putting the Device to Sleep................................................................. 166
Resetting the Device............................................................................ 169
Restarting the Application.................................................................. 169
Taking an Application Offline ............................................................ 170
Disabling a Functional Block.............................................................. 170
Changing Functional Block Status..................................................... 171
Logging Application Errors................................................................. 171
Access to Device Status and Statistics ..................................................... 172
Chapter 8. Memory Management...................................................................173
Using Neuron Chip Memory ..................................................................... 176
Chips with Off-Chip Memory.............................................................. 176