saf-xc888cm-8ffi5v Infineon Technologies Corporation, saf-xc888cm-8ffi5v Datasheet - Page 101

no-image

saf-xc888cm-8ffi5v

Manufacturer Part Number
saf-xc888cm-8ffi5v
Description
8-bit Single-chip Microcontroller
Manufacturer
Infineon Technologies Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
saf-xc888cm-8ffi5vAC
Quantity:
4 500
3.18
Timer 2 and Timer 21 are 16-bit general purpose timers (THL2) that are fully compatible
and have two modes of operation, a 16-bit auto-reload mode and a 16-bit one channel
capture mode, see
(if prescaler is disabled). As a counter, they count 1-to-0 transitions on pin T2. In the
counter mode, the maximum resolution for the count is PCLK/24 (if prescaler is
disabled).
Table 33
Mode
Auto-reload Up/Down Count Disabled
Channel
capture
Data Sheet
Timer 2 and Timer 21
Timer 2 Modes
Description
Up/Down Count Enabled
Count up only
Start counting from 16-bit reload value, overflow at FFFF
Reload event configurable for trigger by overflow condition only, or by
negative/positive edge at input pin T2EX as well
Programmble reload value in register RC2
Interrupt is generated with reload event
Count up or down, direction determined by level at input pin T2EX
No interrupt is generated
Count up
– Start counting from 16-bit reload value, overflow at FFFF
– Reload event triggered by overflow condition
– Programmble reload value in register RC2
Count down
– Start counting from FFFF
– Reload event triggered by underflow condition
– Reload value fixed at FFFF
Count up only
Start counting from 0000
Reload event triggered by overflow condition
Reload value fixed at 0000
Capture event triggered by falling/rising edge at pin T2EX
Captured timer value stored in register RC2
Interrupt is generated with reload or capture event
Table
RC2
33. As a timer, the timers count with an input clock of PCLK/12
94
H
, overflow at FFFF
H
H
, underflow at value defined in register
H
H
Functional Description
XC886/888CLM
V1.1, 2009-01
H
H

Related parts for saf-xc888cm-8ffi5v