Datasheet
RL78/L12 CHAPTER 23 SAFETY FUNCTIONS
R01UH0330EJ0200 Rev.2.00 778
Dec 13, 2013
23.3.1.1 Flash memory CRC control register (CRC0CTL)
This register is used to control the operation of the high-speed CRC ALU, as well as to specify the operation range.
The CRC0CTL register can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation clears this register to 00H.
Figure 23-1. Format of Flash Memory CRC Control Register (CRC0CTL)
Address: F02F0H After reset: 00H R/W
Symbol <7> 6 5 4 3 2 1 0
CRC0CTL CRC0EN 0 FEA5 FEA4 FEA3 FEA2 FEA1 FEA0
CRC0EN Control of CRC ALU operation
0 Stop the operation.
1 Start the operation according to HALT instruction execution.
FEA5 FEA4 FEA3 FEA2 FEA1 FEA0 High-speed CRC operation range
0 0 0 0 0 0 0000H to 3FFBH (16 K to 4 bytes)
0 0 0 0 0 1 0000H to 7FFBH (32 K to 4 bytes)
Other than the above Setting prohibited
Remark Input the expected CRC operation result value to be used for comparison in the lowest 4 bytes of
the flash memory. Note that the operation range will thereby be reduced by 4 bytes.