ST7FLITE29 STMICROELECTRONICS [STMicroelectronics], ST7FLITE29 Datasheet - Page 57
![no-image](/images/no-image-200.jpg)
ST7FLITE29
Manufacturer Part Number
ST7FLITE29
Description
8-BIT MCU WITH SINGLE VOLTAGE FLASH MEMORY, DATA EEPROM, ADC, TIMERS, SPI
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
1.ST7FLITE29.pdf
(131 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ST7FLITE29F286
Manufacturer:
ST
Quantity:
378
Part Number:
ST7FLITE29F2B6
Manufacturer:
ST
Quantity:
20 000
Company:
Part Number:
ST7FLITE29F2M6TR
Manufacturer:
ST
Quantity:
5 700
Part Number:
ST7FLITE29F2M6TR
Manufacturer:
ST
Quantity:
20 000
12-BIT AUTORELOAD TIMER (Cont’d)
Figure 37. PWM Signal from 0% to 100% Duty Cycle
Output Compare Mode
This mode is always available.
To use this function, load a 12-bit value in the
DCRxH and DCRxL registers.
When the 12-bit upcounter (CNTR) reaches the
value stored in the DCRxH and DCRxL registers,
the CMPF bit in the PWMxCSR register is set and
an interrupt request is generated if the CMPIE bit
is set.
Note: The output compare function is only availa-
ble for DCRx values other than 0 (reset value).
Break Function
The break function is used to perform an emergen-
cy shutdown of the power converter.
The break function is activated by the external
BREAK pin (active low). In order to use the
BREAK pin it must be previously enabled by soft-
ware setting the BPEN bit in the BREAKCR regis-
ter.
DCRx=FFDh
DCRx=FFEh
DCRx=000h
DCRx=000h
COUNTER
f
COUNTER
FFDh
FFEh
ATR= FFDh
FFFh
FFDh
When a low level is detected on the BREAK pin,
the BA bit is set and the break function is activat-
ed.
Software can set the BA bit to activate the break
function without using the BREAK pin.
When the break function is activated (BA bit =1):
– The break pattern (PWM[3:0] bits in the BREAK-
– The 12-bit PWM counter is set to its reset value.
– The ARR, DCRx and the corresponding shadow
– The PWMCR register is reset.
When the break function is deactivated after ap-
plying the break (BA bit goes from 1 to 0 by soft-
ware):
– The control of PWM outputs is transferred to the
CR) is forced directly on the PWMx output pins
(after the inverter).
registers are set to their reset values.
port registers.
FFEh
FFFh
FFDh
FFEh
ST7LITE2
57/131
t
1