Philips P89LPC906, P89LPC908, P89LPC907 user manual Rtccon

Models: P89LPC907 P89LPC908 P89LPC906

1 110
Download 110 pages 25.77 Kb
Page 51
Image 51

Philips Semiconductors

 

 

 

 

 

 

 

 

 

User’s Manual - Preliminary -

 

 

 

 

 

 

 

 

 

 

 

 

REAL-TIME CLOCK/SYSTEM TIMER

 

 

P89LPC906/907/908

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RTCCON

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Address: D1h

 

7

6

5

 

4

3

2

1

0

 

 

Not bit addressable

 

RTCF

RTCS1

RTCS0

 

-

-

-

 

ERTC

RTCEN

 

Reset Source(s): Power-up only

 

 

 

 

 

 

 

 

 

 

 

 

 

Reset Value: 011xxx00B

 

 

 

 

 

 

 

 

 

 

 

 

 

BIT

SYMBOL

FUNCTION

 

 

 

 

 

 

 

 

 

 

 

RTCCON.7

RTCF

Real-time Clock Flag. This bit is set to ’1’ when the 23-bit Real-time clock reaches a count

 

 

of ’0’. It can be cleared in software.

 

 

 

 

 

 

 

 

RTCCON.6-5

RTCS1-0

Real-time Clock source select (see Table ,Table ).

 

 

 

 

 

 

RTCCON.4-2

-

Reserved for future use. Should not be set to 1 by user programs.

 

 

 

RTCCON.1

ERTC

Real-time Clock interrupt enable. The Real-time clock shares the same interrupt as the

 

 

watchdog timer. Note that if the user configuration bit WDTE (UCFG1.7) is ’0’, the

 

 

watchdog timer can be enabled to generate an interrupt. Users can read the RTCF

 

 

(RTCCON.7) bit to determine whether the Real-time clock caused the interrupt.

RTCCON.0

RTCEN

Real-time Clock enable. The Real-time clock will be enabled if this bit is ’1’. Note that this

 

 

bit will not Power down the Real-time Clock. The RTCPD bit (PCONA.7) if set, will Power

 

 

down and disable this block regardless of RTCEN.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Figure 6-2: RTCCON Register

2003 Dec 8

51

Page 51
Image 51
Philips P89LPC906, P89LPC908, P89LPC907 user manual Rtccon