ST7LITE20F2 STMicroelectronics, ST7LITE20F2 Datasheet - Page 55

no-image

ST7LITE20F2

Manufacturer Part Number
ST7LITE20F2
Description
8-BIT MCU WITH SINGLE VOLTAGE FLASH MEMORY, DATA EEPROM, ADC, TIMERS, SPI
Manufacturer
STMicroelectronics
Datasheet

Specifications of ST7LITE20F2

8 Kbytes Single Voltage Flash Program Memory With Read-out Protection, In-circuit Programming And In-application Programming (icp And Iap). 10k Write/erase Cycles Guaranteed, Data Retention
20 years at 55˚C.
Clock Sources
Internal 1% RC oscillator, crystal/ceramic resonator or external clock
Five Power Saving Modes
Halt, Active-Halt, Wait and Slow, Auto Wake Up From Halt
11.2 12-BIT AUTORELOAD TIMER 2 (AT2)
11.2.1 Introduction
The 12-bit Autoreload Timer can be used for gen-
eral-purpose timing functions. It is based on a free-
running 12-bit upcounter with an input capture reg-
ister and four PWM output channels. There are 6
external pins:
– Four PWM outputs
– ATIC pin for the Input Capture function
– BREAK pin for forcing a break condition on the
11.2.2 Main Features
Figure 34. Block Diagram
ATIC
PWM outputs
12-bit upcounter with 12-bit autoreload register
(ATR)
f
(1 ms
@ 8MHz)
LTIMER
timebase
32 MHz
f
CPU
12-BIT DUTY CYCLE VALUE (shadow)
Preload
DCR0H
4 PWM Channels
ATCSR
0
ATICR
Preload
DCR0L
on OVF Event
IF TRAN=1
ICF
12-BIT INPUT CAPTURE REGISTER
ICIE
f
COUNTER
IC INTERRUPT
CK1
REQUEST
CNTR
ATR
CK0
12-BIT AUTORELOAD REGISTER
OVF
12-BIT UPCOUNTER
– Programmable duty-cycles
– Polarity control
– Programmable output modes
– Maskable Compare interrupt
– 12-bit input capture register (ATICR)
– Triggered by rising and falling edges
– Maskable IC interrupt
Maskable overflow interrupt
Generation of four independent PWMx signals
Frequency 2KHz-4MHz (@ 8 MHz f
Input Capture
CMPFx bit
COMP-
PARE
OVFIE
CMPF0
CMPF1
CMPF2
CMPF3
CMPIE
OVF INTERRUPT
REQUEST
f
PWM
OPx bit
POL-
ARITY
CMP
REQUEST
INTERRUPT
OEx bit
CPU
ST7LITE2
)
PWMx
55/133
1

Related parts for ST7LITE20F2