Echelon Neuron C User Manual

Page 69

Advertising
background image

Neuron C Reference Guide

49

Table 11. Utility Functions

Function

Description

ansi_memcpy( )

Copy a block of memory with ANSI

return value

ansi_memset( )

Set a block of memory to a specified

value with ANSI return value

clear_status( )

Clear error statistics accumulators and

error log

clr_bit( )

Clear a bit in a bit array

crc8( )

Calculate an 8-bit CRC over an array

crc16( )

Calculate a 16-bit CRC over an array

crc16_ccitt( )

Calculate a 16-bit CCITT CRC over an

array

eeprom_memcpy( )

Copy a block of memory to EEPROM

destination

error_log( )

Record software-detected error

fblock_director( )

Call the director associated with an

fblock

get_fblock_count( )

Return the number of fblock

declarations in the program

get_nv_count( )

Return the number of network variable

declarations in the program

memccpy( )

Copy a block of memory

memchr( )

Search a block of memory

memcmp( )

Compare a block of memory

memcpy( )

Copy a block of memory:

• from msg_in.data and

resp_in.data

• to resp_out.data
• length greater than or equal to

256 bytes

• others

Advertising