参数资料
型号: ST72621L4M1
厂商: STMICROELECTRONICS
元件分类: 微控制器/微处理器
英文描述: 8-BIT, FLASH, 8 MHz, MICROCONTROLLER, PDSO34
封装: 0.300 INCH, LEAD FREE, SHRINK, PLASTIC, SOP-34
文件页数: 80/139页
文件大小: 1264K
代理商: ST72621L4M1
ST7262xxx
45/139
Doc ID 6996 Rev 5
PWM AUTO-RELOAD TIMER (Cont’d)
Independent PWM signal generation
This mode allows up to two Pulse Width Modulat-
ed signals to be generated on the PWMx output
pins with minimum core processing overhead.
This function is stopped during HALT mode.
Each PWMx output signal can be selected inde-
pendently using the corresponding OEx bit in the
PWM Control register (PWMCR). When this bit is
set, the corresponding I/O pin is configured as out-
put push-pull alternate function.
The PWM signals all have the same frequency
which is controlled by the counter period and the
ARTARR register value.
fPWM = fCOUNTER / (256 - ARTARR)
When a counter overflow occurs, the PWMx pin
level is changed depending on the corresponding
OPx (output polarity) bit in the PWMCR register.
When the counter reaches the value contained in
one of the output compare register (OCRx) the
corresponding PWMx pin level is restored.
It should be noted that the reload values will also
affect the value and the resolution of the duty cycle
of the PWM output signal. To obtain a signal on a
PWMx pin, the contents of the OCRx register must
be greater than the contents of the ARTARR reg-
ister.
The maximum available resolution for the PWMx
duty cycle is:
Resolution = 1 / (256 - ARTARR)
Note: To get the maximum resolution (1/256), the
ARTARR register must be 0. With this maximum
resolution, 0% and 100% can be obtained by
changing the polarity.
Figure 33. PWM Auto-reload Timer Function
DUTY CYCLE
REGISTER
AUTO-RELOAD
REGISTER
PWMx
OU
TP
UT
t
255
000
WITH OEx=1
AND OPx=0
(ARTARR)
(PWMDCRx)
WITH OEx=1
AND OPx=1
CO
UN
TER
相关PDF资料
PDF描述
ST72F521R7T6 8-BIT, FLASH, 8 MHz, MICROCONTROLLER, PQFP64
SPAK5307CFT66 32-BIT, 66 MHz, RISC PROCESSOR, PQFP208
SAF-C505CA-4R 8-BIT, MROM, 20 MHz, MICROCONTROLLER, PQFP44
S1C60N01D 4-BIT, MROM, 0.08 MHz, MICROCONTROLLER, UUC46
S3S12P128J0CQKR 16-BIT, MROM, 1.05 MHz, MICROCONTROLLER, PQFP80
相关代理商/技术参数
参数描述
ST7263-EMU2 功能描述:仿真器/模拟器 ST7 Emulator Board RoHS:否 制造商:Blackhawk 产品:System Trace Emulators 工具用于评估:C6000, C5000, C2000, OMAP, DAVINCI, SITARA, TMS470, TMS570, ARM 7/9, ARM Cortex A8/R4/M3 用于:XDS560v2
ST7265X-EVAL/MS 制造商:STMicroelectronics 功能描述:ST6 EVAL BD - Bulk
ST7265X-EVAL/PFD 制造商:STMicroelectronics 功能描述:USB FLASH EVAL - Bulk
ST7266 制造商:6940 功能描述:ST7266
ST7267C8T1L 制造商:STMicroelectronics 功能描述: