R01UH0822EJ0100 Rev.1.00
Page 110 of 1041
Jul 31, 2019
RX13T Group
7. Option-Setting Memory (OFSM)
7.2.3
Endian Select Register (MDE)
Note 1. The value of the blank product is FFFF FFFFh. This register is set to a specified value after programming of the flash memory
with the user program.
The MDE register selects the endian for the CPU.MDE is allocated in the ROM. Set the register at the same time as
writing the program. After writing to the register once, do not write to it again.
When erasing the block including the MDE register, the MDE register value becomes FFFF FFFFh.
These bits select little endian or big endian for the CPU.
Address(es): OFSM.MDE FFFF FF80h
b31
b30
b29
b28
b27
b26
b25
b24
b23
b22
b21
b20
b19
b18
b17
b16
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
Value after reset:
The value set by the user*
b15
b14
b13
b12
b11
b10
b9
b8
b7
b6
b5
b4
b3
b2
b1
b0
—
—
—
—
—
—
—
—
—
—
—
—
—
MDE[2:0]
Value after reset:
The value set by the user*
Bit
Symbol
Bit Name
Description
R/W
b2 to b0
Endian Select
b2 b0
0 0 0: Big endian
1 1 1: Little endian
Settings other than above are prohibited.
R
b31 to b3
—
Reserved
When reading, these bits return the value written by the user.
The write value should be 1.
R