參數(shù)資料
型號(hào): DS89C21TMX
元件分類: 收發(fā)器
英文描述: Transceiver
中文描述: 收發(fā)器
文件頁(yè)數(shù): 38/48頁(yè)
文件大小: 934K
代理商: DS89C21TMX
DS89C430/DS89C440/DS89C450 Ultra-High-Speed Flash Microcontrollers
38 of 48
Timer/Counters
The DS89C430 incorporates three 16-bit timers. All three timers can be used as either counters of external events,
where 1-to-0 transitions on a port pin are monitored and counted, or timers that count oscillator cycles.
Table 13
summarizes the timer functions.
Timers 0 and 1 both have three modes of operations. They can each be used as a 13-bit timer/counter, a 16-bit
timer/counter, or an 8-bit timer/counter with autoreload. Timer 0 has a fourth operating mode as two 8-bit
timer/counters without autoreload. Each timer can also be used as a counter of external pulses on the
corresponding T0/T1 pin for 1-to-0 transitions. The timer mode (TMOD) register controls the mode of operation.
Each timer consists of a 16-bit register in 2 bytes, which can be found in the SFR map as TL0, TH0, TL1, and TH1.
The timer control (TCON) register enables timers 0 and 1.
Table 13. Timer Functions
FUNCTIONS
Timer/Counter
Timer with Capture
External Control Pulse Counter
Up/Down Autoreload Timer/Counter
Baud Rate Generator
Timer Output Clock Generator
TIMER 0
13/16/8
*
/2x8 bit
No
Yes
No
No
No
TIMER 1
13/16/8
*
bit
No
Yes
No
Yes
No
TIMER 2
16 bit
Yes
No
Yes
Yes
Yes
*
8-bit timer/counter includes autoreload feature. 2x8-bit mode does not.
Each timer has a selectable time base (
Table 15
). Following a reset, the timers default to divide by 12 to maintain
drop-in compatibility with the 8051. If timer 2 is used as a baud rate generator or clock output, its time base is fixed
at divide by 2, regardless of the setting of its timer mode bits.
Timer 2 is a true 16-bit timer/counter that, with a 16-bit capture (RCAP2L and RCAP2H) register, is able to provide
some unique functions like up/down autoreload timer/counter and timer output-clock generation. Timer 2 (registers
TL2 and TH2) is enabled by the T2CON register. Its mode of operation is selected by the T2MOD register.
For operation details, refer to
Section 11: Programmable Timers
in the
Ultra-High-Speed Flash Microcontroller
User’s Guide.
Timed Access
The timed-access function prevents an errant CPU from making accidental changes to certain SFR bits that are
considered vital to proper system operation. This is achieved by using software control when accessing the
following SFR control bits:
SFR
BIT
WDCON.0
RWT
WDCON.1
EWT
WDCON.3
WDIF
WDCON.6
POR
EXIF.0
BGS
ACON.5
PAGES0
ACON.6
PAGES1
ACON.7
PAGEE
ROMSIZE.0
RMS0
ROMSIZE.1
RMS1
ROMSIZE.2
RMS2
ROMSIZE.3
PRAME
FCNTL.0
FC0
FCNTL.1
FC1
FCNTL.2
FC2
FCNTL.3
FC3
FUNCTION
Reset Watchdog Timer
Watchdog Reset Enable
Watchdog Interrupt Flag
Power-On Reset Flag
Bandgap Select
Page Mode Select Bit 0
Page Mode Select Bit 1
Page Mode Enable
Program Memory Size Select Bit 0
Program Memory Size Select Bit 1
Program Memory Size Select Bit 2
Program RAM Enable
Flash Command Bit 0
Flash Command Bit 1
Flash Command Bit 2
Flash Command Bit 3
Before these bits can be altered, the processor must execute the timed-access sequence. This sequence consists
of writing an AAh to the timed access (TA, C7h) register, followed by writing a 55h to the same register within three
machine cycles. This timed sequence of steps allows any of the timed access-protected SFR bits to be altered
相關(guān)PDF資料
PDF描述
DSDK101 Low-Cost Demo Kit Motherboard
E.FL-LP-040 CABLE ; Connector type A:MFD-Titan; Connector type B:MFD-Titan; Length, lead:5m
E15R8-FREQ-OUT14 CRYSTAL OSCILLATOR, CLOCK, 30 MHz - 200 MHz, ECL OUTPUT
E1L51-AW0A4-05 T-1 3/4 SINGLE COLOR LED, WHITE, 5 mm
E1SBA10-9.8304MTR QUARTZ CRYSTAL RESONATOR, 9.8304 MHz
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
DS89C21TMX/NOPB 功能描述:RS-422接口集成電路 RoHS:否 制造商:Texas Instruments 數(shù)據(jù)速率: 工作電源電壓:5 V 電源電流:35 mA 工作溫度范圍: 安裝風(fēng)格:Through Hole 封裝 / 箱體:PDIP-16 封裝:Tube
DS89C386 制造商:NSC 制造商全稱:National Semiconductor 功能描述:Twelve Channel CMOS Differential Line Receiver
DS89C386TMEA 功能描述:總線接收器 RoHS:否 制造商:Texas Instruments 接收機(jī)數(shù)量:4 接收機(jī)信號(hào)類型:Differential 接口類型:EIA/TIA-422-B, V.11 工作電源電壓:3.3 V 最大工作溫度:+ 85 C 最小工作溫度:- 40 C 封裝 / 箱體:TSSOP-16 封裝:Reel
DS89C386TMEA/NOPB 功能描述:總線接收器 RoHS:否 制造商:Texas Instruments 接收機(jī)數(shù)量:4 接收機(jī)信號(hào)類型:Differential 接口類型:EIA/TIA-422-B, V.11 工作電源電壓:3.3 V 最大工作溫度:+ 85 C 最小工作溫度:- 40 C 封裝 / 箱體:TSSOP-16 封裝:Reel
DS89C386TMEAX 制造商:Texas Instruments 功能描述:Twelve Receiver RS-422 48-Pin SSOP T/R