Datasheet
On-chip peripherals ST7LITE20F2 ST7LITE25F2 ST7LITE29F2
82/170 DocID8349 Rev 7
Autoreload register (ATRL)
Read / Write
Reset Value: 0000 0000 (00h)
i
PWM output control register (PWMCR)
Read/Write
Reset Value: 0000 0000 (00h)
• Bits 7:0 = OE[3:0] PWMx output enable
These bits are set and cleared by software and cleared by hardware after a reset.
0: PWM mode disabled. PWMx output alternate function disabled: I/O pin free for
general purpose I/O after an overflow event.
1: PWM mode enabled
PWMx control status register (PWMxCSR)
Read / Write
Reset Value: 0000 0000 (00h)
• Bits 7:2 = Reserved, must be kept cleared
• Bit 1 = OPx PWMx Output Polarity
This bit is read/write by software and cleared by hardware after a reset. This bit selects
the polarity of the PWM signal.
0: The PWM signal is not inverted
1: The PWM signal is inverted
• Bit 0 = CMPFx PWMx Compare Flag
This bit is set by hardware and cleared by software by reading the PWMxCSR register.
It indicates that the upcounter value matches the DCRx register value.
0: Upcounter value does not match DCR value.
1: Upcounter value matches DCR value
7 0
ATR7 ATR6 ATR5 ATR4 ATR3 ATR2 ATR1 ATR0
7 0
0 OE3 0 OE2 0 OE1 0 OE0
7 0
000000OPxOE0










