Self Test Library Functions; Cpu Register Tests - Renesas RL78 Series Application Note

Vde certified self test library
Hide thumbs Also See for RL78 Series:
Table of Contents

Advertisement

RL78 Family
2.

Self Test Library Functions

2.1

CPU Register Tests

This section describes CPU register tests routines. The test harness control file 'main.c' provides examples of the API
for each of the CPU register tests using "C" language.
These modules test the fundamental aspects of the CPU operation. Each of the API functions has a return value in order
to indicate the result of a test.
Each of the test modules saves the original contents of the register(s) under test and restores the contents on completion.
The following CPU registers are tested:
Working registers and Accumulator:
Stack Pointer (SP)
Processor Status Word (PSW)
R01AN0749EG0201 Rev.2.01
Mar 04, 2014
VDE Certified IEC60730/60335 Self Test Library
Figure 2 Working Register Configuration
Figure 3 Stack Pointer Configuration
Figure 4 PSW Register Configuration
AX, HL, DE, BC in Register Banks 0 – 3
Page 5 of 50

Advertisement

Table of Contents
loading

This manual is also suitable for:

Iec60730Iec60335

Table of Contents