RL78 Family VDE Certified IEC60730/60335 Self Test Library
R01AN0749EG0201 Rev.2.01 Page 14 of 50
Mar 04, 2014
Source files: Software CRC Parameter Structure
The following structure is implemented in the files stl.h and main.c and is used to provide calculation parameters for the
for the CRC function.
Syntax
static CHECKSUM_CRC_TEST_AREA checksum_crc;
Description
Structure declaration and instance providing the parameters to be passed to software CRC module
(stl_RL78_sw_crc.asm) by the calling function in main.c
Input Parameters
uint32_t length;
Range (length = number of bytes +1) of memory to be tested.
uint32_t start_address
Start address for CRC calculation
Output Parameters
NONE
N/A
Return Values
NONE
N/A
2.2.3 Hardware CRC - Software API
Table 7: Source files: Hardware CRC Calculation
STL File name Header Files
stl_RL78_peripheral_crc.asm <ior5f100le.h>
<ior5f100le_ext.h>
stl.h
Test Harness File Names Header Files
main.c
stl_global_data_example.c
stl_main_example_support function.c
stl_peripheralinit.c
main.h
stl_gobal_data_example.h