參數(shù)資料
型號: ST62T28C
廠商: 意法半導體
英文描述: 8-BIT MCUs WITH A/D CONVERTER, AUTO-RELOAD TIMER, UART, OSG, SAFE RESET AND 28-PIN PACKAGE
中文描述: 8位單片機與微控制器/ D轉(zhuǎn)換器,自動重加載定時器,UART的秘書長辦公室,安全復位和28引腳封裝
文件頁數(shù): 43/84頁
文件大?。?/td> 561K
代理商: ST62T28C
43/84
43
ST62T28C/E28C
TIMER
(Cont’d)
4.2.3 Application Notes
TMZ isset 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 the7-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.
If the Timer is programmed in output mode, the
DOUT bit is transferred to the TIMER pin when
TMZ is set to one (by software or due to counter
decrement). When TMZ is high, the latch is trans-
parent and DOUT is copied to the timer pin. When
TMZ goes low, DOUT is latched.
A write to the TCR register will predominate over
the 8-bit counterdecrement 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.
4.2.4 Timer Registers
Timer Status Control Register (TSCR)
Address: 0D4h
Read/Write
Bit 7 =
TMZ
: Timer Zero bit
A low-to-high transition indicates that the timer
count registerhas decrementto zero. This bit must
be cleared by user software before starting a new
count.
Bit 6 =
ETI
: Enable Timer Interrupt
When set, enables the timer interrupt request. If
ETI=0 the timer interrupt is disabled. If ETI=1 and
TMZ=1 an interrupt request is generated.
Bit 5 =
TOUT
: Timers Output Control
When low, this bit selects the input mode for the
TIMER pin. When high the output mode is select-
ed.
Bit 4 =
DOUT
: Data Output
Data sent to the timer output when TMZ is set high
(output mode only). Input mode selection (input
mode only).
Bit 3 =
PSI
: Prescaler Initialize Bit
Used to initialize the prescalerand inhibit itscount-
ing. When PSI=“0” the prescaler is set to 7Fh and
the counteris inhibited. WhenPSI=“1” the prescal-
er is enabled to count downwards. As long as
PSI=“0” both counter and prescaler are not run-
ning.
Bit 2, 1, 0 =
PS2, PS1, PS0
: Prescaler Mux. Se-
lect.These bits select the divisionratio of the pres-
caler register.
Table 15. Prescaler Division Factors
Timer Counter Register TCR
Address: 0D3h
Read/Write
Bit 7-0 =
D7-D0
: Counter Bits.
Prescaler Register PSC
Address: 0D2h
Read/Write
Bit 7 =
D7
: Always read as “0”.
Bit 6-0 =
D6-D0
: Prescaler Bits.
7
0
TMZ
ETI
TOUT
DOUT
PSI
PS2
PS1
PS0
PS2
0
0
0
0
1
1
1
1
PS1
0
0
1
1
0
0
1
1
PS0
0
1
0
1
0
1
0
1
Divided by
1
2
4
8
16
32
64
128
7
0
D7
D6
D5
D4
D3
D2
D1
D0
7
0
D7
D6
D5
D4
D3
D2
D1
D0
相關PDF資料
PDF描述
ST6228CN1 ER 3C 3#16S SKT RECP WALL
ST6228CN3 CB 5C 5#16S PIN RECP WALL
ST6228CN6 ER 5C 5#16S PIN RECP WALL
ST6391 8-BIT HCMOS MCUs FOR TV FREQUENCY SYNTHESIS WITH OSD
ST6392B1 8-BIT HCMOS MCUs FOR TV FREQUENCY SYNTHESIS WITH OSD
相關代理商/技術參數(shù)
參數(shù)描述
ST62T28CB6 功能描述:8位微控制器 -MCU OTP EPROM 8K SPI/UAR RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
ST62T28CM6 功能描述:8位微控制器 -MCU OTP EPROM 8K SPI/UAR RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
ST62T28CN6 制造商:STMicroelectronics 功能描述:MCU 8BIT ST6 CISC 7948BYTE EPROM 3.3V/5V 28SSOP - Rail/Tube
ST62T30BB6 功能描述:8位微控制器 -MCU OTP EPROM 8K SPI/UAR RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風格:SMD/SMT
ST62T30BM3 制造商:STMicroelectronics 功能描述:8-BIT MICROCONTROLLER - Bulk