R01UH0823EJ0100 Rev.1.00
Page 421 of 1823
Jul 31, 2019
RX23W Group
20. Event Link Controller (ELC)
20.2.11
Event Link Software Event Generation Register (ELSEGR)
The MOV instruction must be used to write to this register.
SEG Bit (Software Event Generation)
When 1 is written to this bit while the WE bit is 1, a software event is generated.
This bit is read as 0. Even if 1 is written to this bit, this bit does not become 1.
The SEG bit can be written to only when the WE bit is 1.
To set this bit to 1, write 0 to the WI bit and write 1 to this bit simultaneously.
To set this bit to 0, write 0 to the WI bit and write 0 to this bit simultaneously.
WI Bit (ELSEGR Register Write Disable)
The ELSEGR register can be written to only when the value to be written to the WI bit is 0.
This bit is read as 1.
Address(es): ELC.ELSEGR 0008 B12Dh
b7
b6
b5
b4
b3
b2
b1
b0
WI
WE
—
—
—
—
—
SEG
Value after reset:
1
0
1
1
1
1
1
0
Bit
Symbol
Bit Name
Description
R/W
b0
Software Event Generation
0: Normal operation
1: Software event is generated.
W
b5 to b1
—
Reserved
These bits are read as 1. The write value should be 1.
R/W
b6
SEG Bit Write Enable
0: Write to SEG bit is disabled.
1: Write to SEG bit is enabled.
R/W
b7
ELSEGR Register Write
Disable
0: Write to ELSEGR register is enabled.
1: Write to ELSEGR register is disabled.
W