Capture/Compare Unit (Ccu) - Philips P89LPC938 User Manual

Single-chip microcontroller
Table of Contents

Advertisement

Philips Semiconductors
Table 42:
Bit
0
1
2:4
5
6
7

10. Capture/Compare Unit (CCU)

This unit features:
User manual
Real-time Clock Control register (RTCCON - address D1h) bit description
Symbol
Description
RTCEN
Real-time Clock enable. The Real-time Clock will be enabled if this bit is logic 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.
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 logic 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.
-
reserved
RTCS0
Real-time Clock source select (see
RTCS1
RTCF
Real-time Clock Flag. This bit is set to logic 1 when the 23-bit Real-time Clock
reaches a count of logic 0. It can be cleared in software.
A 16-bit timer with 16-bit reload on overflow
Selectable clock (CCUCLK), with a prescaler to divide the clock source by any integer
between 1 and 1024.
Four Compare / PWM outputs with selectable polarity
Symmetrical / Asymmetrical PWM selection
Seven interrupts with common interrupt vector (one Overflow, 2xCapture,
4xCompare), safe 16-bit read/write via shadow registers.
Two Capture inputs with event counter and digital noise rejection filter
Rev. 03 — 7 June 2005
UM10119
P89LPC938 User manual
Table
40).
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
53 of 139

Advertisement

Table of Contents
loading

Table of Contents