User guide

Neuron C Programmer’s Guide 197
Pragma Values Allowed Default (See Notes)
app_buf_in_size
(20, 21, 22, 24, 26, 30)
, 34,
42, 50, 66, 82, 114, 146, 210,
or 255 bytes
(A minimum value of 34
bytes is recommended if
explicit addressing is used,
otherwise a minimum value
of 22 bytes is recommended)
C
app_buf_in_count 1, 2, 3, 5, 7, 11, 15, 23, 31, 47,
63, 95, 127, 191
2
receive_trans_count 1 .. 16 D
Notes:
A. app_buf_out_size default
If outgoing messages are sent with msg_send( ):
If explicit addressing is used:
A = 66
If explicit addressing is not used:
A = 50
If no outgoing explicit messages are sent (msg_send( ) is not used), and:
If explicit addressing is used for network variables:
A = max(34, 19 + sizeof(largest output NV))
If explicit addressing is not used:
A = max(20, 8 + sizeof(largest output NV))
B. net_buf_out_size default
If outgoing explicit messages are sent with msg_send( ) or resp_send( ):
B = 66
else:
B = max(42, 22 + sizeof(largest NV))
While the response is constructed in the application input buffer by the
application, the network processor uses a network output buffer to construct
the response packet. So, the network output buffer must be sized to
accommodate outgoing responses in addition to other outgoing messages.
C. app_buf_in_size default
If any explicit message functions or events are used (incoming or outgoing):
If explicit addressing is used:
C = 66
If explicit addressing is not used:
C = 50
If no explicit message functions or events are used, and: