ST7DALIF2 STMicroelectronics, ST7DALIF2 Datasheet - Page 76

no-image

ST7DALIF2

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

Specifications of ST7DALIF2

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.
256 Bytes Data Eeprom With Read-out Protection. 300k 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
12-bit autoreload timer 2 (AT2)
14.3.4
76/171
Figure 37. Block diagram of break function
Input capture
The 12-bit ATICR register is used to latch the value of the 12-bit free running upcounter after
a rising 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 free running upcounter. An IC
interrupt is generated if the ICIE bit is set. The ICF bit is reset by reading 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 corresponds to the most recent input capture. Any further
input capture is inhibited while the ICF bit is set.
Figure 38. Input capture timing diagram
BREAK pin
Note:
The BREAK pin value is latched by the BA bit.
ICR REGISTER
COUNTER
ICF FLAG
f
ATIC PIN
COUNTER
(Active Low)
01h
BA
PWM2
PWM3
PWM0
PWM1
BPEN
02h
xxh
PWM3
03h
BREAKCR Register
PWM2
04h
(Inverters)
PWM1
05h
INTERRUPT
PWM0
06h
07h
04h
1
0
When BA is set:
PWM counter -> Reset value
ARR & DCRx -> Reset value
PWM Mode -> Reset value
08h
ATICR READ
09h
0Ah
09h
PWM0
PWM1
PWM2
PWM3
INTERRUPT
ST7DALIF2
t

Related parts for ST7DALIF2