Philips Semiconductors

User’s Manual - Preliminary -

 

 

 

 

 

 

TIMERS 0 AND 1

P89LPC901/902/903

 

PCLK

C/T = 0

 

TL0

Overflow

 

 

 

 

 

 

 

 

 

TF0

Interrupt

T0 Pin*

 

 

(8-bits)

 

C/T = 1

Control

 

 

 

 

Toggle

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

T0 Pin*

 

TR0

 

 

 

ENT0

 

 

 

 

 

 

 

 

PCLK

 

TH0

Overflow

TF1

Interrupt

 

Control

(8-bits)

 

 

 

 

 

 

 

 

 

 

 

 

 

TR1

 

 

* T0 Pin functions available on P89LPC901

 

 

 

 

 

Figure 5-7: Timer/Counter 0 Mode 3 (two 8-bit counters)

 

 

 

 

 

 

 

 

PCLK

 

T0C/T = 0

 

 

 

 

 

 

 

 

 

 

 

TR0

Control

TL0

Overflow

 

 

 

TF0

 

Interrupt

(8-bits)

 

 

 

 

 

 

 

 

Reload TH0 on falling transition and (256-TH0) on rising transition Toggle

T0 Pin

TH0

 

(8-bits)

ENT0 (AUXR1.4)

Figure 5-8: Timer/Counter 0 in Mode 6 (PWM auto-reload), P89LPC901.

Timer Overflow toggle output - P89LPC901

Timer 0 can be configured to automatically toggle the T0 pin whenever the timer overflow occurs. This function is enabled by control bit ENT0 in the AUXR1 register. The port output will be a logic 1 prior to the first timer overflow when this mode is turned on. In order for this mode to function, the T0C/T bit must be cleared selecting PCLK as the clock source for the timer.

2003 Dec 8

49

Page 49
Image 49
Philips P89LPC903, P89LPC902 user manual Timer Overflow toggle output P89LPC901, Pclk TL0, TR0 ENT0 Pclk TH0

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.