The PCF8563 contains sixteen 8-bit registers with an
auto-incrementing address register,
an on-chip 32.768 kHz oscillator with one integrated capacitor, a
frequency divider which
provides the source clock for the Real-Time Clock/calender (RTC), a
programmable clock
output, a timer, an alarm, a voltage-low detector and a 400 kHz
I2C-bus interface.
All 16 registers are designed as addressable 8-bit parallel
registers although not all bits
are implemented. The fifirst two registers (memory address 00h and
01h) are used as
control and/or status registers. The memory addresses 02h through
08h are used as
counters for the clock function (seconds up to years counters).
Address locations 09h
through 0Ch contain alarm registers which defifine the conditions
for an alarm.
Address 0Dh controls the CLKOUT output frequency. 0Eh and 0Fh are
the timer control
and timer registers, respectively.
The seconds, minutes, hours, days, weekdays, months, years as well
as the minute alarm,
hour alarm, day alarm and weekday alarm registers are all coded in
Binary Coded
Decimal (BCD) format.
When one of the RTC registers is read the contents of all counters
are frozen. Therefore,
faulty reading of the clock/calendar during a carry condition is
prevented.
4.1 Alarm function modes
4.2 Timer
4.3 Clock output
4.4 Reset
4.5 Voltage-low detector
4.6 Register organization