pcf8593 NXP Semiconductors, pcf8593 Datasheet - Page 11

no-image

pcf8593

Manufacturer Part Number
pcf8593
Description
Low Power Clock/calendar
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
pcf8593P
Manufacturer:
NXPL
Quantity:
5 510
Part Number:
pcf8593P
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
pcf8593T
Manufacturer:
NXP
Quantity:
5 510
Part Number:
pcf8593T
Manufacturer:
PHILIPS/飞利浦
Quantity:
20 000
Part Number:
pcf8593T-1
Manufacturer:
PHILIPS/飞利浦
Quantity:
20 000
Part Number:
pcf8593T/1
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
pcf8593T/1,112
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
pcf8593T/1,118
Manufacturer:
LT
Quantity:
232
Philips Semiconductors
7.7
The timer (location 07) is enabled by setting the
control/status register = XX0X X1XX. The timer counts up
from 0 (or a programmed value) to 99. On overflow, the
timer resets to 0. The timer flag (LSB of control/status
register) is set on overflow of the timer. This flag must be
reset by software. The inverted value of this flag can be
transferred to the external interrupt by setting bit 3 of the
alarm control register.
Additionally, a timer alarm can be programmed by setting
the timer alarm enable (bit 6 of the alarm control register).
When the value of the timer equals a pre-programmed
value in the alarm timer register (location 0F), the alarm
flag is set (bit 1 of the control/status register). The inverted
value of the alarm flag can be transferred to the external
interrupt by enabling the alarm interrupt (bit 6 of the alarm
control register).
Resolution of the timer is programmed via the 3 LSBs of
the alarm control register (see Fig.11, Alarm and timer
Interrupt logic diagram).
1997 Mar 25
Low power clock/calendar
handbook, full pagewidth
Timer
MSB
MBD816
7
6
5
4
Fig.9 Selection of alarm weekdays.
3
2
1
11
LSB
0
7.8
Event counter mode is selected by bits 4 and 5 which are
logic 1, 0 in the control/status register. The event counter
mode is used to count pulses externally applied to the
oscillator input (OSCO left open-circuit). The event counter
stores up to 6 digits of data, which are stored as
6 hexadecimal values located in locations 1, 2, and 3.
Thus, up to 1 million events may be recorded.
An event counter alarm occurs when the event counter
registers match the value programmed in locations 9, A,
and B, and the event alarm is enabled (bits 4 and 5 which
are logic 0, 1 in the alarm control register). In this event,
the alarm flag (bit 1 of the control/status register) is set.
The inverted value of this flag can be transferred to the
interrupt pin (pin 7) by setting the alarm interrupt enable in
the alarm control register. In this mode, the timer
(location 07) increments once for every one, one-hundred,
ten thousand, or 1 million events, depending on the value
programmed in bits 0,1 and 2 of the alarm control register.
In all other events, the timer functions are as in the clock
mode.
memory location 0E (alarm weekday/month)
weekday 0 enabled when set
weekday 3 enabled when set
weekday 4 enabled when set
weekday 5 enabled when set
weekday 6 enabled when set
weekday 1 enabled when set
weekday 2 enabled when set
not used
Event counter mode
Product specification
PCF8593

Related parts for pcf8593