參數(shù)資料
型號(hào): 8051F330
廠商: Electronic Theatre Controls, Inc.
英文描述: Mixed Signal ISP Flash MCU Family
中文描述: 混合信號(hào)ISP的閃存微控制器系列
文件頁數(shù): 177/214頁
文件大小: 2408K
代理商: 8051F330
第1頁第2頁第3頁第4頁第5頁第6頁第7頁第8頁第9頁第10頁第11頁第12頁第13頁第14頁第15頁第16頁第17頁第18頁第19頁第20頁第21頁第22頁第23頁第24頁第25頁第26頁第27頁第28頁第29頁第30頁第31頁第32頁第33頁第34頁第35頁第36頁第37頁第38頁第39頁第40頁第41頁第42頁第43頁第44頁第45頁第46頁第47頁第48頁第49頁第50頁第51頁第52頁第53頁第54頁第55頁第56頁第57頁第58頁第59頁第60頁第61頁第62頁第63頁第64頁第65頁第66頁第67頁第68頁第69頁第70頁第71頁第72頁第73頁第74頁第75頁第76頁第77頁第78頁第79頁第80頁第81頁第82頁第83頁第84頁第85頁第86頁第87頁第88頁第89頁第90頁第91頁第92頁第93頁第94頁第95頁第96頁第97頁第98頁第99頁第100頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁第141頁第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁第154頁第155頁第156頁第157頁第158頁第159頁第160頁第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁第170頁第171頁第172頁第173頁第174頁第175頁第176頁當(dāng)前第177頁第178頁第179頁第180頁第181頁第182頁第183頁第184頁第185頁第186頁第187頁第188頁第189頁第190頁第191頁第192頁第193頁第194頁第195頁第196頁第197頁第198頁第199頁第200頁第201頁第202頁第203頁第204頁第205頁第206頁第207頁第208頁第209頁第210頁第211頁第212頁第213頁第214頁
Rev. 1.4
177
C8051F330/1/2/3/4/5
18. Timers
Each MCU includes four counter/timers: two are 16-bit counter/timers compatible with those found in the
standard 8051, and two are 16-bit auto-reload timer for use with the ADC, SMBus, or for general purpose
use. These timers can be used to measure time intervals, count external events and generate periodic
interrupt requests. Timer 0 and Timer 1 are nearly identical and have four primary modes of operation.
Timer 2 and Timer 3 offer 16-bit and split 8-bit timer functionality with auto-reload
Timers 0 and 1 may be clocked by one of five sources, determined by the Timer Mode Select bits (T1M
T0M) and the Clock Scale bits (SCA1
SCA0). The Clock Scale bits define a pre-scaled clock from which
Timer 0 and/or Timer 1 may be clocked (See SFR Definition 18.3 for pre-scaled clock selection).
Timer 0/1 may then be configured to use this pre-scaled clock signal or the system clock. Timer 2 and
Timer 3 may be clocked by the system clock, the system clock divided by 12, or the external oscillator
clock source divided by 8.
Timer 0 and Timer 1 may also be operated as counters. When functioning as a counter, a counter/timer
register is incremented on each high-to-low transition at the selected input pin (T0 or T1). Events with a fre-
quency of up to one-fourth the system clock frequency can be counted. The input signal need not be peri-
odic, but it should be held at a given level for at least two full system clock cycles to ensure the level is
properly sampled.
18.1. Timer 0 and Timer 1
Each timer is implemented as a 16-bit register accessed as two separate bytes: a low byte (TL0 or TL1)
and a high byte (TH0 or TH1). The Counter/Timer Control register (TCON) is used to enable Timer 0 and
Timer 1 as well as indicate status. Timer 0 interrupts can be enabled by setting the ET0 bit in the IE regis-
ter (Section “
9.3.5. Interrupt Register Descriptions
” on page
91
); Timer 1 interrupts can be enabled by
setting the ET1 bit in the IE register (
Section 9.3.5
). Both counter/timers operate in one of four primary
modes selected by setting the Mode Select bits T1M1
T0M0 in the Counter/Timer Mode register (TMOD).
Each timer can be configured independently. Each operating mode is described below.
18.1.1. Mode 0: 13-bit Counter/Timer
Timer 0 and Timer 1 operate as 13-bit counter/timers in Mode 0. The following describes the configuration
and operation of Timer 0. However, both timers operate identically, and Timer 1 is configured in the same
manner as described for Timer 0.
The TH0 register holds the eight MSBs of the 13-bit counter/timer. TL0 holds the five LSBs in bit positions
TL0.4
TL0.0. The three upper bits of TL0 (TL0.7
TL0.5) are indeterminate and should be masked out or
ignored when reading. As the 13-bit timer register increments and overflows from 0x1FFF (all ones) to
0x0000, the timer overflow flag TF0 (TCON.5) is set and an interrupt will occur if Timer 0 interrupts are
enabled.
Timer 0 and Timer 1 Modes:
13-bit counter/timer
16-bit counter/timer
8-bit counter/timer with auto-
reload
Two 8-bit counter/timers (Timer 0
only)
Timer 2 Modes:
Timer 3 Modes:
16-bit timer with auto-reload
16-bit timer with auto-reload
Two 8-bit timers with auto-reload
Two 8-bit timers with auto-reload
相關(guān)PDF資料
PDF描述
80546KF 64-bit Intel Xeon Processor MP with up to 8MB L3 Cache
8085AH 8 BIT HMOS MICROPROCESSORS
8085AH-1 8 BIT HMOS MICROPROCESSORS
8085AH-2 8 BIT HMOS MICROPROCESSORS
8087 MATH COPROCESSOR
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
8051F362-GM 制造商: 功能描述: 制造商:undefined 功能描述:
8052 功能描述:連接線 24AWG 1C 404ft 1/2 POUND SPOOL RoHS:否 制造商:Belden Wire & Cable 絞合:19 x 32 電壓額定值:1 kV 長度:1000 ft 線規(guī) - 美國線規(guī)(AWG):20 絕緣材料:Tetraflouroethylene (TFE) 最大溫度:+ 200 C 類型:High Temperature, High Voltage 外殼顏色:Blue (Light) 系列:83027
805200 制造商:BOSTIK 功能描述:EVO-STIK 528 ADHESIVE 500ML
8052-0-0 制造商:Belden Inc 功能描述:SINGLE CONDUCTOR WIRE ROHS COMPLIANT:NO
805-2000 制造商:Xantrex Technology Inc 功能描述:INVERTER/CHARGER, 2KW, 117V; No. of Outputs:1; Input Voltage Max:16VDC; Output Power:2kW; Output Voltage:117VAC; Output Current:17A; Length:145mm; Width:285mm; Height:450mm; Input Voltage:10V DC to 16V DC; Weight:24lb ;RoHS Compliant: NA