M48T86
Clock operations
3.10 Register A
3.10.1
UIP update in progress
The Update in Progress (UIP) bit is a status flag that can be monitored. When the UIP bit is
'1,' the update transfer will soon occur (see Figure 9). When UIP is a '0,' the update transfer
will not occur for at least 244 µs. The time, calendar, and alarm information in RAM is fully
available for access when the UIP bit is '0.' The UIP bit is “Read only” and is not affected by
RST. Writing the SET bit in Register B to a '1' inhibits any update transfer and clears the UIP
Status bit.
3.10.2 OSC0, OSC1, OSC2 oscillator control
These three bits are used to control the oscillator and reset the countdown chain. A pattern
t(s) of “010” enables operation by turning on the oscillator and enabling the divider chain. A
pattern of 11X turns the oscillator on, but keeps the frequency divider disabled. When “010”
c is written, the first update begins after 500 ms.
rodu ) 3.10.3
lete Produucctt((ss)) -- OObbssoolleettee PProduct(s Table 5.
so rod BIT7
b P UIP
RS3, RS2, RS1, RS0
These four rate-selection bits select one of the 13 taps on the 15-stage divider or disable the
divider output. The tap selected may be used to generate an output square wave (SQW pin)
and/or a periodic interrupt. The user may do one of the following:
1. Enable the interrupt with the PIE bit;
or
2. Enable the SQW output with the SQWE bit;
or
3. Enable both at the same time and same rate;
or
4. Enable neither.
Table 4 on page 18 lists the periodic interrupt rates and the square wave frequencies that
may be chosen with the RS bits. These four READ/WRITE bits are not affected by RST.
Register A MSB
BIT6
BIT5
OSC2
OSC1
BIT4
OSC0
BIT3
RS3
BIT2
RS2
BIT1
RS1
BIT0
RS0
O te Figure 9. Update period timing and UIP
Obsole UPDATE PERIOD (1sec)
UIP
tBUC
tUC
AI01651
19/36