RA4803SA
Page - 13
ETM38E-03
UIE
Data
Function
Write/Read
0
When a time update interrupt event occurs, an interrupt signal is not
generated or is canceled (/INT status changes from low to Hi-Z).
1
When a time update interrupt event occurs, an interrupt signal is generated
(/INT status changes from Hi-Z to low).
∗
When a time update interrupt event occurs, low-level output from the /INT
pin occurs only when
the value of the control register's UIE bit is "1". This /INT status is automatically cleared (/INT
status changes from low to Hi-Z) 7.8
ms after the interrupt occurs.
2) TIE ( Timer Interrupt Enable ) bit
When a fixed-cycle timer interrupt event occurs (when the TF bit value changes from "0" to "1"), this bit's value
specifies if an interrupt signal is generated (/INT status changes from Hi-Z to low) or is not generated (/INT
status remains Hi-Z).
When a "1"
is written to this bit, an interrupt signal is generated (/INT status changes from Hi-Z to low) when an
interrupt event is generated.
When a "0"
is written to this bit, no interrupt signal is generated when an interrupt event occurs.
TIE
Data
Function
Write/Read
0
When a fixed-cycle timer interrupt event occurs, an interrupt signal is not
generated or is canceled (/INT status changes from low to Hi-Z).
1
When a fixed-cycle timer interrupt event occurs, an interrupt signal is
generated (/INT status changes from Hi-Z to low).
*
When a fixed-cycle timer interrupt event has been generated low-level output from the /INT pin
occurs only when the value of the control register's TIE bit is "1". Up to 7.8 ms after the interrupt
occurs, the /INT status is automatically cleared (/INT status changes from low to Hi-Z)
.
3) AIE ( Alarm Interrupt Enable ) bit
When an alarm timer interrupt event occurs (when the AF bit value changes from "0" to "1"), this bit's value
specifies if an interrupt signal is generated (/INT status changes from Hi-Z to low) or is not generated (/INT
status remains Hi-Z).
When a "1"
is written to this bit, an interrupt signal is generated (/INT status changes from Hi-Z to low) when an
interrupt event is generated.
When a "0"
is written to this bit, no interrupt signal is generated when an interrupt event occurs.
AIE
Data
Function
Write/Read
0
When an alarm interrupt event occurs, an interrupt signal is not generated
or is canceled (/INT status changes from low to Hi-Z).
1
When an alarm interrupt event occurs, an interrupt signal is generated
(/INT status changes from Hi-Z to low).
∗
When an alarm interrupt event has been generated low-level output from the /INT pin occurs
only when the value of the control register's AIE bit is "1". This setting is retained until the AF bit
value is cleared to zero. (No automatic cancellation)
∗
For details, see "8.5. Alarm Interrupt Function".
[Caution]
(1) The /INT pin is a shared interrupt output pin for three types of interrupts. It outputs the OR'ed result of these interrupt outputs.
When an interrupt has occurred (when the /INT pin is at low level), the UF,
TF,
read AF flags to determine which flag has a value of "1"
(this indicates which type of interrupt event has occurred).
(2) To keep the /INT pin from changing to low level, write "0" to the UIE,
TIE,
and AIE bits. To check whether an event has occurred without
outputting any interrupts via the /INT pin, use software to monitor the value of the UF,
TF,
and AF interrupt flags.
4) EIE ( Event Interrupt Enable ) bit
When a Event input is generated (when the EVF bit value changes from "0" to "1"), this bit's value specifies if an
interrupt signal is generated (/INT status changes from Hi-Z to low) or is not generated (/INT status remains
Hi-Z). When a "1"
is written to this bit, an interrupt signal is generated (/INT status changes from Hi-Z to low)
when an interrupt event is generated.
When a "0"
is written to this bit, no interrupt signal is generated when an interrupt event occurs.
5) RESET bit
When this bit is set to "1", values (less than seconds) of the counter in the Clock & Calendar circuitry is reset,
and the clock also stops.
After "1" is written to this bit, this can be released by setting CE to "L".