
iiiPeriPheraLModuLes1(systeM):interruPtControLLer(itC)
iii-2-60
ePson
s1C33L17teChniCaLManuaL
0x30029F:Flagset/resetMethodselectregister(prst_reset)
name
address
registername
Bit
Function
setting
init. r/W
remarks
–
denonLy
idMaonLy
rstonLy
D7–3
D2
D1
D0
reserved
IDMAenableregistersetmethod
selection
IDMArequestregistersetmethod
selection
Cause-of-interruptflagreset
methodselection
–
1
–
R/W
0whenbeingread.
0030029F
(B)
Flagset/reset
methodselect
register
(pRST_RESET)
1 Setonly
0 RD/WR
1 Setonly
0 RD/WR
1 Resetonly 0 RD/WR
d[7:3]
reserved
d2
denonLy:idMaenableregistersetMethodselectBit
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:idMarequestregistersetMethodselectBit
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-interruptFlagresetMethodselectBit
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.