參數(shù)資料
型號: ST6242B
英文描述: 8-BIT MICROCONTROLLER ( MCU ) WITH OTP. ROM. FASTROM. EPROM. LCD DRIVER. EEPROM. A/D CONVERTER AND 64 PINS
中文描述: 8位微控制器(MCU)的與檢察官辦公室。光盤。 FASTROM。存儲器。液晶顯示驅(qū)動程序。 EEPROM中。的A / D轉(zhuǎn)換器和64個
文件頁數(shù): 41/74頁
文件大?。?/td> 733K
代理商: ST6242B
41/74
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 (f
INT
÷ 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.
相關(guān)PDF資料
PDF描述
ST62E45BG1 8-BIT MICROCONTROLLER
ST62T40BQ6 8-BIT MICROCONTROLLER
ST62T42BQ6 8-BIT MICROCONTROLLER ( MCU ) WITH OTP. ROM. FASTROM. EPROM. LCD DRIVER. EEPROM. A/D CONVERTER AND 64 PINS
ST624XB-DBE REAL TIME EMULATION DEVELOPMENT TOOLS FOR ST6 MCU FAMILY
ST6263C 8-BIT MICROCONTROLLER ( MCU ) WITH OTP. ROM. FASTROM. EPROM. A/D CONVERTER. SAFE RESET. AUTO-RELOAD TIMER. EEPROM AND SPI
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ST6242B-EMU2 功能描述:仿真器/模擬器 ST62 Emulator Board RoHS:否 制造商:Blackhawk 產(chǎn)品:System Trace Emulators 工具用于評估:C6000, C5000, C2000, OMAP, DAVINCI, SITARA, TMS470, TMS570, ARM 7/9, ARM Cortex A8/R4/M3 用于:XDS560v2
ST6242BQ1 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8-BIT OTP/EPROM MCU WITH LCD DRIVER, EEPROM AND A/D CONVERTER
ST6242BQ1/XXX 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
ST6242BQ6 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:8-BIT OTP/EPROM MCU WITH LCD DRIVER, EEPROM AND A/D CONVERTER
ST6242BQ6/XXX 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller