參數(shù)資料
型號: SAF-C515A-LM
廠商: SIEMENS A G
元件分類: 微控制器/微處理器
英文描述: 8-Bit CMOS Microcontroller
中文描述: 8-BIT, 18 MHz, MICROCONTROLLER, PQFP80
文件頁數(shù): 27/55頁
文件大?。?/td> 268K
代理商: SAF-C515A-LM
Semiconductor Group
27
1997-08-01
C515
Timer 2 Operating Modes
The timer 2, which is a 16-bit-wide register, can operate as timer, event counter, or gated timer. A
roll-over of the count value in TL2/TH2 from all 1’s to all 0’s sets the timer overflow flag TF2 in SFR
IRCON, which can generate an interrupt. The bits in register T2CON are used to control the timer
2 operation.
Timer Mode: In timer function, the count rate is derived from the oscillator frequency. A prescaler
offers the possibility of selecting a count rate of 1/12 or 1/24 of the oscillator frequency.
Gated Timer Mode: In gated timer function, the external input pin T2 (P1.7) functions as a gate to
the input of timer 2. lf T2 is high, the internal clock input is gated to the timer. T2 = 0 stops the
counting procedure. This facilitates pulse width measurements. The external gate signal is sampled
once every machine cycle.
Event Counter Mode: In the event counter function. the timer 2 is incremented in response to a 1-
to-0 transition at its corresponding external input pin T2 (P1.7). In this function, the external input is
sampled every machine cycle. Since it takes two machine cycles (24 oscillator periods) to recognize
a 1-to-0 transition, the maximum count rate is 1/24 of the oscillator frequency. There are no
restrictions on the duty cycle of the external input signal, but to ensure that a given level is sampled
at least once before it changes, it must be held for at least one full machine cycle.
Reload of Timer 2: Two reload modes are selectable:
In mode 0, when timer 2 rolls over from all 1’s to all 0’s, it not only sets TF2 but also causes the timer
2 registers to be loaded with the 16-bit value in the CRC register, which is preset by software.
In mode 1, a 16-bit reload from the CRC register is caused by a negative transition at the correspon-
ding input pin P1.5/T2EX. This transition will also set flag EXF2 if bit EXEN2 in SFR IEN1 has been
set.
相關PDF資料
PDF描述
SAF-C515C-LM 8-Bit CMOS Microcontroller
SAB-C515-1R24M 8-Bit CMOS Microcontroller
SAB-C515-1RM 8-Bit CMOS Microcontroller
SAB-C515-L24M 8-Bit CMOS Microcontroller
SAB-C515-LM 8-Bit CMOS Microcontroller
相關代理商/技術參數(shù)
參數(shù)描述
SAFC515C8EM 制造商:Infineon Technologies AG 功能描述:8bit microcontrollerSAF-C515C-8EM MQFP80
SAF-C515C-8EM 制造商:Infineon Technologies AG 功能描述:IC 8BIT MCU OTP SMD 制造商:Infineon Technologies AG 功能描述:IC, 8BIT MCU OTP, SMD
SAFC515C-8EM 制造商:Infineon Technologies AG 功能描述:IC 8BIT CPU SMD MQFP80 515
SAF-C515C-8EM CA 功能描述:8位微控制器 -MCU 8 BIT OTP 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
SAFC515C8EM-BC 制造商:Infineon Technologies AG 功能描述:MCU 8-Bit C500 8051 CISC 64KB EPROM 5V 80-Pin MQFP