Philips Semiconductors

 

 

 

 

 

 

 

 

 

User’s Manual - Preliminary -

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

REAL-TIME CLOCK/SYSTEM TIMER

 

 

P89LPC901/902/903

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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

54

Page 54
Image 54
Philips P89LPC901, P89LPC903, P89LPC902 user manual Rtccon

P89LPC903, P89LPC902, P89LPC901 specifications

The Philips P89LPC901, P89LPC902, and P89LPC903 are a series of 8-bit microcontrollers designed for embedded system applications. These models, which belong to the LPC900 series, are notable for their affordability and versatility, making them an attractive choice for both hobbyists and professional developers.

One of the core features of the P89LPC901, P89LPC902, and P89LPC903 microcontrollers is their powerful 8-bit architecture. Operating at clock speeds up to 20 MHz, they deliver efficient performance suited for a range of tasks. Each model includes a comprehensive instruction set that supports various data manipulation and arithmetic functions, enabling extensive programming capabilities.

These microcontrollers come with built-in memory, with configurations that vary among the three models. The P89LPC901 typically features 4 KB of Flash memory and 256 bytes of RAM, while the P89LPC902 and P89LPC903 offer enhanced memory options. This Flash memory allows for reprogrammability, making it easier to update and modify applications as needed.

Another significant characteristic of the LPC900 series is their integrated peripherals. These models are equipped with a variety of I/O ports, allowing for easy interfacing with other devices and components. The P89LPC901 supports up to 32 I/O pins, while the P89LPC902 and P89LPC903 provide additional features such as analog-to-digital converters (ADCs), timers, and serial communication interfaces. This broad range of peripherals empowers developers to design complex applications without needing extra hardware.

Power consumption is also a key consideration for microcontroller applications. The P89LPC901, P89LPC902, and P89LPC903 are designed with low power consumption in mind, making them ideal for battery-operated devices and energy-efficient projects. They can operate in various power modes, allowing for greater flexibility in deployment.

In terms of technology, these microcontrollers utilize advanced CMOS technology, ensuring high reliability and durability. Their design offers a robust solution for numerous applications, including consumer electronics, industrial controls, and automation systems.

In summary, the Philips P89LPC901, P89LPC902, and P89LPC903 microcontrollers present an attractive combination of performance, integrated peripherals, low power consumption, and versatility. Their features cater to a wide array of applications, keeping them relevant in a rapidly evolving technology landscape. For hobbyists and professionals alike, these microcontrollers represent a reliable foundation for embedded system development.