参数资料
型号: ST6246BB6/XXX
厂商: STMICROELECTRONICS
元件分类: 微控制器/微处理器
英文描述: 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDIP56
封装: 0.600 INCH, PLASTIC, SDIP-56
文件页数: 35/73页
文件大小: 1806K
代理商: ST6246BB6/XXX
Obsolete
Product(s)
- Obsolete
Product(s)
Obsolete
Product(s)
- Obsolete
Product(s)
40/73
ST62T46B/E46B
TIMER 1& 2 (Cont’d)
4.2.1 TIMER 1 & 2 Operating Mode
The Timer prescaler is clocked by the prescaler
clock input (fINT ÷ 12).
The user can select for each TIMER the desired
prescaler division ratio through the PS2, PS1, PS0
bits. When the TCR count reaches 0, it sets the
TMZ bit in the TSCR. The TMZ bit can be tested
under program control to perform a timer function
whenever it goes high.
4.2.2 Timer Interrupt
When one of the counter registers decrements to
zero with the associated ETI (Enable Timer Inter-
rupt) bit set to one, an interrupt request is generat-
ed as described in Interrupt Chapter. When the
counter decrements to zero, the associated TMZ
bit in the TSCR register is set to one.
4.2.3 Application Notes
TMZ is set when the counter reaches zero; howev-
er, it may also be set by writing 00h in the TCR
register or by setting bit 7 of the TSCR register.
The TMZ bit must be cleared by user software
when servicing the timer interrupt to avoid unde-
sired interrupts when leaving the interrupt service
routine. After reset, the 8-bit counter register is
loaded with 0FFh, while the 7-bit prescaler is load-
ed with 07Fh, and the TSCR register is cleared.
This means that the Timer is stopped (PSI=“0”)
and the timer interrupt is disabled.
A write to the TCR register will predominate over
the 8-bit counter decrement to 00h function, i.e. if a
write and a TCR register decrement to 00h occur
simultaneously, the write will take precedence,
and the TMZ bit is not set until the 8-bit counter
reaches 00h again. The values of the TCR and the
PSC registers can be read accurately at any time.
相关PDF资料
PDF描述
ST6260BB6 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDIP20
ST6294B8/XXX 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PDIP28
ST62T94B8 8-BIT, OTPROM, 8 MHz, MICROCONTROLLER, PDIP28
ST62E85BG1 8-BIT, UVPROM, 8 MHz, MICROCONTROLLER, CQFP80
ST62P35BQ3/XXX 8-BIT, MROM, 4 MHz, MICROCONTROLLER, PQFP52
相关代理商/技术参数
参数描述
ST6246B-EMU2 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:REAL TIME EMULATION DEVELOPMENT TOOLS FOR ST6 MCU FAMILY
ST6246-P/QFP 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:REAL TIME EMULATION DEVELOPMENT TOOLS FOR ST6 MCU FAMILY
ST6-24B20 功能描述:电源变压器 SPLIT BOBBIN HORZ MOUNT XFMR RoHS:否 制造商:Triad Magnetics 功率额定值:12 VA 初级电压额定值:115 V / 230 V 次级电压额定值:12 V / 24 V 安装风格:SMD/SMT 一次绕组:Dual Primary Winding 二次绕组:Dual Secondary Winding 长度:2.5 in 宽度:2 in 高度:1.062 in
ST624OB-EMU2 制造商:STMicroelectronics 功能描述:ST62 EMULATOR
ST624X 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:8/16-Bit Micros