at90s2323 ATMEL Corporation, at90s2323 Datasheet - Page 28

no-image

at90s2323

Manufacturer Part Number
at90s2323
Description
8-bit Microcontroller With 2k Bytes Of In-system Programmable Flash At90s2323 At90ls2323 At90s2343 At90ls2343
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
at90s2323-10PC
Manufacturer:
ATMEL
Quantity:
3 000
Part Number:
at90s2323-10PC
Manufacturer:
ATMEL
Quantity:
3 000
Part Number:
at90s2323-10PC
Manufacturer:
SAMSUNG
Quantity:
4 500
Part Number:
at90s2323-10PI
Manufacturer:
ATMEL
Quantity:
3 000
Part Number:
at90s2323-10PI
Manufacturer:
ATMEL
Quantity:
3 000
Part Number:
at90s2323-10SC
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
at90s2323-10SI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Timer/Counter
Timer/Counter Prescaler
8-bit Timer/Counter0
28
AT90S/LS2323/2343
The AT90S2323/2343 provides one general-purpose 8-bit Timer/Counter –
Timer/Counter0. The Timer/Counter has prescaling selection from the 10-bit prescaling
timer. The Timer/Counter can be used either as a timer with an internal clock time base
or as a counter with an external pin connection that triggers the counting.
Figure 29 shows the Timer/Counter prescaler.
Figure 29. Timer/Counter0 Prescaler
The four different prescaled selections are: CK/8, CK/64, CK/256 and CK/1024, where
CK is the oscillator clock. CK, external source and stop can also be selected as clock
sources.
Figure 30 shows the block diagram for Timer/Counter0.
The 8-bit Timer/Counter0 can select clock source from CK, prescaled CK or an external
pin. In addition, it can be stopped as described in the specification for the
Timer/Counter0 Control Register (TCCR0). The overflow status flag is found in the
Timer/Counter Interrupt Flag Register (TIFR). Control signals are found in the
Timer/Counter0 Control Register (TCCR0). The interrupt enable/disable settings for
Timer/Counter0 are found in the Timer/Counter Interrupt Mask Register (TIMSK).
When Timer/Counter0 is externally clocked, the external signal is synchronized with the
oscillator frequency of the CPU. To ensure proper sampling of the external clock, the
minimum time between two external clock transitions must be at least one internal CPU
clock period. The external clock signal is sampled on the rising edge of the internal CPU
clock.
The 8-bit Timer/Counter0 features both a high-resolution and a high-accuracy usage
with the lower prescaling opportunities. Similarly, the high prescaling opportunities make
the Timer/Counter0 useful for lower speed functions or exact timing functions with infre-
quent actions.
CS00
CS01
CS02
T0
CK
TIMER/COUNTER0 CLOCK SOURCE
0
10-BIT T/C PRESCALER
TCK0
1004D–09/01

Related parts for at90s2323