參數(shù)資料
型號: ST72121J2
元件分類: 8位微控制器
英文描述: 8-bit Microcontroller with 2/4/8K Bytes In-System Programmable Flash
中文描述: 8位微控制器與2/4/8K字節(jié)在系統(tǒng)可編程閃存
文件頁數(shù): 40/93頁
文件大?。?/td> 915K
代理商: ST72121J2
40/93
ST72E121 ST72T121
16-BIT TIMER
(Cont’d)
Notes:
1. After a processor write cycle to the OC
i
HR
reg-
ister, the output compare function is inhibited
until the OC
i
LR
register is also written.
2. If the OC
i
E bit is not set, the OCMP
i
pin is a
general I/O port and the OLVL
i
bit will not
appear when a match is found but an interrupt
could be generated if the OCIE bit is set.
3. When the timer clock is f
CPU
/2, OCF
i
and
OCMP
i
are set while the counter value equals
the OC
i
R register value (see Figure 28, on
page 41). This behaviour is the same in OPM
or PWM mode.
When the timer clock is f
CPU
/4, f
CPU
/8 or in
external clock mode, OCF
i
and OCMP
i
are set
while the counter value equals the OC
i
R regis-
ter value plus 1 (see Figure 29, on page 41).
4. The output compare functions can be used both
for generating external events on the OCMP
i
pins even if the input capture mode is also
used.
5. The value in the 16-bit OC
i
R
register and the
OLV
i
bit should be changed after each suc-
cessful comparison in order to control an output
waveform or establish a new elapsed timeout.
Forced Compare Output capability
When the FOLV
i
bit is set by software, the OLVL
i
bit is copied to the OCMP
i
pin. The OLV
i
bit has to
be toggled in order to toggle the OCMP
i
pin when
it is enabled (OC
i
E bit=1). The OCF
i
bit is then not
set by hardware, and thus no interrupt request is
generated.
FOLVL
i
bits have no effect in either One-Pulse
mode or PWM mode.
Figure 27. Output Compare Block Diagram
OUTPUT COMPARE
CIRCUIT
16-bit
OC1R
Register
16 BIT
FREE RUNNING
COUNTER
OC1E
CC0
CC1
OC2E
OLVL1
OLVL2
OCIE
(Control Register 1)
CR1
(Control Register 2)
CR2
0
0
0
OCF2
OCF1
(Status Register)
SR
16-bit
16-bit
OCMP1
Pin
OCMP2
Pin
Latch
1
Latch
2
OC2R
Register
FOLV2 FOLV1
40
相關(guān)PDF資料
PDF描述
ST72121J4 8-bit Microcontroller with 2/4/8K Bytes In-System Programmable Flash
ST72171 8-BIT MCU WITH 8K FLASH. ADC. WDG. SPI. SCI. TIMERS SPGAS (SOFTWARE PROGRAMMABLE GAIN AMPLIFIERS). OP-AMP
ST733C04LFL0 Fuse Holder; Fuse Size/Group:Micro; Mounting Type:PC Board; Body Material:Thermoplastic; Contact Material:Copper Alloy; Contact Plating:Tin; Current Rating:5A; Leaded Process Compatible:Yes; Terminal Type:Push-On
ST733C04LFM0 Fuse Holder; Leaded Process Compatible:Yes; Mounting Type:Panel Mount RoHS Compliant: Yes
ST733C08LFL0 Fuse Holder; Leaded Process Compatible:Yes; Mounting Type:Panel Mount RoHS Compliant: Yes
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ST72121J4 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT MICROCONTROLLER (MCU) WITH 8 TO 16 K ROM/OTP/EPROM. 384 TO 512 BYTES RAM. WDG. SCI. SPI & 2 TIMERS - SDIP42. TQFP44
ST72124J 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8-BIT MCU WITH SINGLE VOLTAGE FLASH MEMORY, ADC, 16-BIT TIMERS, SPI, SCI INTERFACES
ST72124J2 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8-BIT MCU WITH SINGLE VOLTAGE FLASH MEMORY, ADC, 16-BIT TIMERS, SPI, SCI INTERFACES
ST72124J2B 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8-BIT MCU WITH SINGLE VOLTAGE FLASH MEMORY, ADC, 16-BIT TIMERS, SPI, SCI INTERFACES
ST72124J2B1 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8-BIT MCU WITH SINGLE VOLTAGE FLASH MEMORY, ADC, 16-BIT TIMERS, SPI, SCI INTERFACES