RX13T Group
7.2.3
Endian Select Register (MDE)
Address(es): OFSM.MDE FFFF FF80h
b31
b30
—
—
Value after reset:
b15
b14
—
—
Value after reset:
Bit
Symbol
b2 to b0
MDE[2:0]
b31 to b3
—
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.
MDE[2:0] Bits (Endian Select)
These bits select little endian or big endian for the CPU.
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
b29
b28
b27
b26
—
—
—
—
b13
b12
b11
b10
—
—
—
—
Bit Name
Endian Select
Reserved
b25
b24
b23
b22
—
—
—
—
1
The value set by the user*
b9
b8
b7
b6
—
—
—
—
The value set by the user*
1
Description
b2
b0
0 0 0: Big endian
1 1 1: Little endian
Settings other than above are prohibited.
When reading, these bits return the value written by the user.
The write value should be 1.
7. Option-Setting Memory (OFSM)
b21
b20
b19
b18
—
—
—
—
b5
b4
b3
b2
—
—
—
MDE[2:0]
Page 110 of 1041
b17
b16
—
—
b1
b0
R/W
R
R