参数资料
型号: ST6280BQ6/XXX
厂商: STMICROELECTRONICS
元件分类: 微控制器/微处理器
英文描述: 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP100
封装: PLASTIC, QFP-100
文件页数: 36/80页
文件大小: 934K
代理商: ST6280BQ6/XXX
Obsolete
Product(s)
- Obsolete
Product(s)
41/80
ST62T80B/E80B
TIMER (Cont’d)
4.2.1 Timer Operating Modes
There are three operating modes, which are se-
lected by the TOUT and DOUT bits (see TSCR
register). These three modes correspond to the
two clocks which can be connected to the 7-bit
prescaler (fINT ÷ 12 or TIMER pin signal), and to
the output mode.
4.2.1.1 Gated Mode
(TOUT = “0”, DOUT = “1”)
In this mode the prescaler is decremented by the
Timer clock input (fINT ÷ 12), but ONLY when the
signal on the TIMER pin is held high (allowing
pulse width measurement). This mode is selected
by clearing the TOUT bit in the TSCR register to
“0” (i.e. as input) and setting the DOUT bit to “1”.
4.2.1.2 Event Counter Mode
(TOUT = “0”, DOUT = “0”)
In this mode, the TIMER pin is the input clock of
the prescaler which is decremented on the rising
edge.
4.2.1.3 Output Mode
(TOUT = “1”, DOUT = data out)
The TIMER pin is connected to the DOUT latch,
hence the Timer prescaler is clocked by the pres-
caler clock input (fINT ÷ 12).
The user can select 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. The low-to-high TMZ bit transition is
used to latch the DOUT bit of the TSCR and trans-
fer it to the TIMER pin. This operating mode allows
external signal generation on the TIMER pin.
Table 14. Timer Operating Modes
4.2.2 Timer Interrupt
When the counter register decrements to zero with
the ETI (Enable Timer Interrupt) bit set to one, an
interrupt request is generated as described in the
Interrupt Chapter. When the counter decrements
to zero, the TMZ bit in the TSCR register is set to
one.
Figure 22. Timer Working Principle
TOUT
DOUT
Timer Pin
Timer Function
0
Input
Event Counter
0
1
Input
Gated Input
1
0
Output
Output “0”
1
Output
Output “1”
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
02
3
4
5
6
7
PS0
PS1
PS2
VA00186
41
相关PDF资料
PDF描述
ST6285Q6/XX 8-BIT, MROM, 8.4 MHz, MICROCONTROLLER, PQFP80
ST62E25CF1 8-BIT, UVPROM, 8 MHz, MICROCONTROLLER, CDIP28
ST62P15CB3 MICROCONTROLLER, PDIP28
ST6215CB3/CCC MICROCONTROLLER, PDIP28
ST62P15CM3 MICROCONTROLLER, PDSO28
相关代理商/技术参数
参数描述
ST6280-EMU2 功能描述:开发板和工具包 - 其他处理器 ST62 Emulator Board RoHS:否 制造商:Freescale Semiconductor 产品:Development Systems 工具用于评估:P3041 核心:e500mc 接口类型:I2C, SPI, USB 工作电源电压:
ST6280-P/QFP 制造商:STMICROELECTRONICS 制造商全称:STMicroelectronics 功能描述:REAL TIME EMULATION DEVELOPMENT TOOLS FOR ST6 MCU FAMILY
ST6280Q1/XX 制造商:未知厂家 制造商全称:未知厂家 功能描述:8-Bit Microcontroller
ST6280Q6/XX 制造商:未知厂家 制造商全称:未知厂家 功能描述:8-Bit Microcontroller
ST6281T6/HEA/TR 制造商:STMicroelectronics 功能描述: