P89LPC934 PHILIPS [NXP Semiconductors], P89LPC934 Datasheet - Page 35

no-image

P89LPC934

Manufacturer Part Number
P89LPC934
Description
8-bit microcontroller with accelerated two-clock 80C51 core 4 kB/8 kB 3 V byte-erasable Flash with 8-bit A/D converters
Manufacturer
PHILIPS [NXP Semiconductors]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
P89LPC934F
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
P89LPC934FDH
Manufacturer:
NXP
Quantity:
5 000
Philips Semiconductors
9397 750 15113
Product data sheet
8.19.1 CCU clock
8.19.2 CCUCLK prescaling
8.19.3 Basic timer operation
8.19.4 Output compare
8.19.5 Input capture
8.19 CCU (P89LPC935/936)
being used as the CPU clock. If the XTAL oscillator is used as the CPU clock, then the
RTC will use CCLK as its clock source. Only power-on reset will reset the RTC and its
associated SFRs to the default state.
This unit features:
The CCU runs on the CCUCLK, which is either PCLK in basic timer mode, or the output of
a Phase-Locked Loop (PLL). The PLL is designed to use a clock source between 0.5 MHz
to 1 MHz that is multiplied by 32 to produce a CCUCLK between 16 MHz and 32 MHz in
PWM mode (asymmetrical or symmetrical). The PLL contains a 4-bit divider to help divide
PCLK into a frequency between 0.5 MHz and 1 MHz.
This CCUCLK can further be divided down by a prescaler. The prescaler is implemented
as a 10-bit free-running counter with programmable reload at overflow.
The timer is a free-running up/down counter with a direction control bit. If the timer
counting direction is changed while the counter is running, the count sequence will be
reversed. The timer can be written or read at any time.
When a reload occurs, the CCU Timer Overflow Interrupt Flag will be set, and an interrupt
generated if enabled. The 16-bit CCU timer may also be used as an 8-bit up/down timer.
There are four output compare channels A, B, C and D. Each output compare channel
needs to be enabled in order to operate and the user will have to set the associated I/O
pin to the desired output mode to connect the pin. When the contents of the timer matches
that of a capture compare control register, the Timer Output Compare Interrupt Flag
(TOCFx) becomes set. An interrupt will occur if enabled.
Input capture is always enabled. Each time a capture event occurs on one of the two input
capture pins, the contents of the timer is transferred to the corresponding 16-bit input
capture register. The capture event can be programmed to be either rising or falling edge
triggered. A simple noise filter can be enabled on the input capture by enabling the Input
A 16-bit timer with 16-bit reload on overflow.
Selectable clock, with prescaler to divide clock source by any integral number
between 1 and 1024.
Four compare/PWM outputs with selectable polarity.
Symmetrical/asymmetrical PWM selection.
Two capture inputs with event counter and digital noise rejection filter.
Seven interrupts with common interrupt vector (one overflow, two capture,
four compare).
Safe 16-bit read/write via shadow registers.
Rev. 06 — 20 June 2005
8-bit microcontroller with accelerated two-clock 80C51 core
P89LPC933/934/935/936
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
35 of 75

Related parts for P89LPC934