ST7LITE25F2 STMicroelectronics, ST7LITE25F2 Datasheet - Page 58

no-image

ST7LITE25F2

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

Specifications of ST7LITE25F2

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
ST7LITE2
12-BIT AUTORELOAD TIMER (Cont’d)
Figure 38. Block Diagram of Break Function
11.2.3.1 Input Capture
The 12-bit ATICR register is used to latch the val-
ue of the 12-bit free running upcounter after a ris-
ing or falling edge is detected on the ATIC pin.
When an input capture occurs, the ICF bit is set
and the ATICR register contains the value of the
Figure 39. Input Capture Timing Diagram
58/133
1
ICR REGISTER
BREAK pin
Note:
The BREAK pin value is latched by the BA bit.
COUNTER
ICF FLAG
f
ATIC PIN
COUNTER
(Active Low)
01h
BA
02h
xxh
PWM3
PWM2
PWM0
PWM1
BPEN
03h
PWM3
BREAKCR Register
04h
PWM2
(Inverters)
05h
PWM1
INTERRUPT
free running upcounter. An IC interrupt is generat-
ed if the ICIE bit is set. The ICF bit is reset by read-
ing the ATICR register when the ICF bit is set. The
ATICR is a read only register and always contains
the free running upcounter value which corre-
sponds to the most recent input capture. Any fur-
ther input capture is inhibited while the ICF bit is
set.
06h
PWM0
07h
04h
1
0
08h
When BA is set:
ATICR READ
PWM counter -> Reset value
ARR & DCRx -> Reset value
PWM Mode -> Reset value
09h
0Ah
09h
PWM0
PWM1
INTERRUPT
PWM2
PWM3
t

Related parts for ST7LITE25F2