參數(shù)資料
型號: ST6240B
廠商: 意法半導(dǎo)體
英文描述: Replaced by PT6302 : 5Vout 3A Wide Input Positive Step-Down ISR 3-SIP MODULE -40 to 70
中文描述: 8位檢察官辦公室/存儲器與LCD驅(qū)動器,EEPROM和一個微處理器/ D轉(zhuǎn)換器
文件頁數(shù): 39/76頁
文件大?。?/td> 1280K
代理商: ST6240B
39/76
ST62T40B/E40B
4.2 TIMER 1 & 2
The MCU features two on-chip Timer peripheral
named TIMER 1 & TIMER 2. Each of these timers
consist of an 8-bit counter with a 7-bit programma-
ble prescaler, giving a maximum count of 2
15
.
Figure 22
and
Figure 23
show the Timer Block Di-
agrams. An external TIMER pin is available to the
user on the TIMER 1 allowing external control of
the counting clock or signal generation.
The content of the 8-bit counter can be read/writ-
ten in the Timer/Counter register, TCR, while the
state of the 7-bit prescaler can be read in the PSC
register. The control logic device is managed in
the TSCR register as described in the following
paragraphs.
The 8-bit counter is decremented by the output
(rising edge) coming from the 7-bit prescaler and
can be loaded and read under program control.
When it decrements to zero then the TMZ (Timer
Zero) bit in the TSCR is set to “1”. If the ETI (Ena-
ble Timer Interrupt) bit in the TSCR is also set to
“1”, an interrupt request is generated as described
in the Interrupt Chapter. The Timer interrupt can
be used to exit the MCU from WAIT mode.
The prescaler input can be either the internal fre-
quency f
INT
divided by 12 (TIMER 1 & 2) or an ex-
ternal clock applied to the TIMER pin (TIMER 1).
The prescaler decrements on the rising edge. De-
pending on the division factor programmed by
PS2, PS1 and PS0 bits in the TSCR. The clock in-
put of the timer/counter register is multiplexed to
different sources. For division factor 1, the clock
input of the prescaler is also that of timer/counter;
for factor 2, bit 0 of the prescaler register is con-
nected to the clock input of TCR. This bit changes
its state at half the frequency of the prescaler input
clock. For factor 4, bit 1 of the PSC is connected to
the clock input of TCR, and so forth. The prescaler
initialize bit, PSI, in the TSCR register must be set
to “1” to allow the prescaler (and hence the coun-
ter) to start. If it is cleared to “0”, all the prescaler
bits are set to “1” and the counter is inhibited from
counting. The prescaler can be loaded with any
value between 0 and 7Fh, if bit PSI is set to “1”.
The prescaler tap is selected by means of the
PS2/PS1/PS0 bits in the control register.
Figure 21
illustrates the Timer’s working principle.
Figure 21. Timer Working Principle
BIT0
BIT1
BIT2
BIT3
BIT6
BIT5
BIT4
CLOCK
7-BIT PRESCALER
8-1 MULTIPLEXER
8-BIT COUNTER
BIT0
BIT1
BIT2
BIT3
BIT4
BIT5
BIT6
BIT7
1
0
2
3
4
5
6
7
PS0
PS1
PS2
VA00186
611
相關(guān)PDF資料
PDF描述
ST62E18C 16-Bit Registered Transceivers With 3-State Outputs 56-SSOP -40 to 85
ST62T18C 8-BIT MCUs WITH A/D CONVERTER, AUTO-RELOAD TIMER, UART, OSG, SAFE RESET AND 20-PIN PACKAGE
ST62E40B The CAT24FC02 is a 2-kb Serial CMOS EEPROM internally organized as 256 words of 8 bits each
ST62T40B The CAT24FC02 is a 2-kb Serial CMOS EEPROM internally organized as 256 words of 8 bits each
ST62T10 8-BIT OTP/EPROM MCUs WITH A/D CONVERTER
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ST6240B-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
ST6240BQ1 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT MICROCONTROLLER ( MCU ) WITH OTP. ROM. FASTROM. EPROM. LCD DRIVER. EEPROM. A/D CONVERTER AND 80 PINS
ST6240BQ1/XXX 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
ST6240BQ6 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-BIT MICROCONTROLLER ( MCU ) WITH OTP. ROM. FASTROM. EPROM. LCD DRIVER. EEPROM. A/D CONVERTER AND 80 PINS
ST6240BQ6/XXX 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller