III PERIPHERAL MODULES 1 (SYSTEM): INTERRUPT CONTROLLER (ITC)
S1C33E07 TECHNICAL MANUAL
EPSON
III-2-63
III
ITC
0x30029F: Flag Set/Reset Method Select Register (pRST_RESET)
Name
Address
Register name
Bit
Function
Setting
Init. R/W
Remarks
–
DENONLY
IDMAONLY
RSTONLY
D7–3
D2
D1
D0
reserved
IDMA enable register set method
selection
IDMA request register set method
selection
Cause-of-interrupt flag reset
method selection
–
1
–
R/W
0 when being read.
0030029F
(B)
Flag set/reset
method select
register
(pRST_RESET)
1 Set only
0 RD/WR
1 Set only
0 RD/WR
1 Reset only 0 RD/WR
D[7:3]
Reserved
D2
DENONLY: IDMA Enable Register Set Method Select Bit
Selects the method for setting the IDMA enable registers.
1 (R/W): Set-only method (default)
0 (R/W): Read/write method
With the set-only method, IDMA enable bits are set by writing 1.
The IDMA enable bits for which 0 has been written can neither be set nor reset. Therefore, this method
ensures that only a specific IDMA enable bit is set. However, when using read-modify-write instructions
(e.g., bset, bclr, or bnot), note that an IDMA enable bit that has been set to 1 is not reset by writing.
The read/write method is selected by writing 0 to this bit. When this method is selected, IDMA enable
bits can be read and written as for other registers. Therefore, the IDMA enable bit is reset by writing 0
and set by writing 1. In this case all IDMA enable bits for which 0 has been written are reset. Even in
a read-modify-write operation, an IDMA enable bit can be reset by the hardware between the read and
the write, so be careful when using this method.
D1
IDMAONLY: IDMA Request Register Set Method Select Bit
Selects the method for setting the IDMA request registers.
1 (R/W): Set-only method (default)
0 (R/W): Read/write method
With the set-only method, IDMA request bits are set by writing 1.
The IDMA request bits for which 0 has been written can neither be set nor reset. Therefore, this method
ensures that only a specific IDMA request bit is set. However, when using read-modify-write instructions
(e.g., bset, bclr, or bnot), note that an IDMA request bit that has been set to 1 is not reset by writing.
The read/write method is selected by writing 0 to this bit. When this method is selected, IDMA request
bits can be read and written as for other registers. Therefore, the IDMA request bit is reset by writing 0
and set by writing 1. In this case all IDMA request bits for which 0 has been written are reset. Even in
a read-modify-write operation, an IDMA request bit can be reset by the hardware between the read and
the write, so be careful when using this method.
D0
RSTONLY: Cause-of-Interrupt Flag Reset Method Select Bit
Selects the method for resetting the cause-of-interrupt flags.
1 (R/W): Reset-only method (default)
0 (R/W): Read/write method
With the reset-only method, the cause-of-interrupt flag is reset by writing 1.
The cause-of-interrupt flags for which 0 has been written can neither be set nor reset. Therefore,
this method ensures that only a specific cause-of-interrupt flag is reset. However, when using read-
modify-write instructions (e.g., bset, bclr, or bnot), note that a cause-of-interrupt flag that has been set
to 1 is reset by writing. This method cannot be used to set any cause-of-interrupt flag in the software
application.
The read/write method is selected by writing 0 to this bit. When this method is selected, cause-of-
interrupt flags can be read and written as for other registers. Therefore, the flag is reset by writing 0 and
set by writing 1. In this case all cause-of-interrupt flags for which 0 has been written are reset. Even in
a read-modify-write operation, a cause of interrupt can occur between read and write instructions, so be
careful when using this method.