参数资料
型号: ACE1202LM8X
厂商: FAIRCHILD SEMICONDUCTOR CORP
元件分类: 微控制器/微处理器
英文描述: Arithmetic Controller Engine (ACEx⑩) for Low Power Applications
中文描述: 8-BIT, EEPROM, 1 MHz, MICROCONTROLLER, PDSO8
封装: PLASTIC, SOIC-8
文件页数: 19/39页
文件大小: 2121K
代理商: ACE1202LM8X
19
www.fairchildsemi.com
ACE1202 Product Family Rev. B.1
A
5.0 Timer 1
Timer 1 is a versatile 16-bit timer that can operate in one of four
modes:
Pulse Width Modulation
(PWM) mode, which generates
pulses of a specified width and duty cycle
External Event Counter
mode, which counts occurrences
of an external event
Standard Input Capture
mode, which measures the
elapsed time between occurrences of external events
Difference Input Capture
mode, which automatically
measures the difference between edges
Timer 1 contains a 16-bit timer/counter register (TMR1), a 16-bit
auto-reload/capture register (T1RA), and an 8-bit control register
(T1CNTRL). All register are memory-mapped for simple access
through the core with both the 16-bit registers organized as a pair
of 8-bit register bytes {TMR1HI, TMR1LO} and {T1RAHI, T1RALO}.
Depending on the operating mode, the timer contains an external
input or output (T1) that is multiplexed with the I/O pin G2. By
12 and 13.
default, the TMR1 is reset to 0xFFFF, T1RA is reset to 0x0000,
and T1CNTRL is reset to 0x00.
The timer can be started or stopped through the T1CNTRL
register bit T1C0. When running, the timer counts down (decre-
ments) every clock cycle. Depending on the operating mode, the
timer
s clock is either the instruction clock or a transition on the T1
input. In addition, occurrences of timer underflow (transitions from
0x0000 to 0xFFFF/T1RA value) can either generate an interrupt
and/or toggle the T1 output pin.
Timer 1
s interrupt (TMRI1) can be enabled by interrupt enable
(T1EN) bit in the T1CNTRL register. When the timer interrupt is
enabled, depending on the operating mode, the source of the
interrupt is a timer underflow and/or a timer capture.
5.1 Timer control bits
Reading and writing to the T1CNTRL register controls the timer
s
operation. By writing to the control bits, the user can enable or
disable the timer interrupts, set the mode of operation, and start or
stop the timer. The T1CNTRL register bits are described in Tables
Table 12: TIMER1 Control Register (T1CNTRL)
T1CNTRL Register
Name
Function
Bit 7
T1C3
Timer TIMER1 control bit 3 (see Table 13)
Bit 6
T1C2
Timer TIMER1 control bit 2 (see Table 13)
Bit 5
T1C1
Timer TIMER1 control bit 1 (see Table 13)
Bit 4
T1C0
Timer TIMER1 run: 1 = Start timer, 0 = Stop timer;
or Timer TIMER1 underflow interrupt pending flag
in input capture mode
Bit 3
T1PND
Timer1 interrupt pending flag: 1 = Timer1 interrupt
pending, 0 = Timer1 interrupt not pending
Bit 2
T1EN
Timer1 interrupt enable bit: 1 = Timer1 interrupt enabled,
0 = Timer1 interrupt disabled
Bit 1
M4S1
Capture type: 0 = Pulse capture, 1 = Cycle capture (see Table 13)
Bit 0
-----------
Reserved
Table 13: TIMER1 Operating Modes
T1
C3
T1
C2
T1
C1
M4
S1
Timer Mode
Source
Interrupt A
Timer Counts On
0
0
0
x
MODE 2
TIMER1 Underflow
T1 Pos. Edge
0
0
1
x
MODE 2
TIMER1 Underflow
T1 Neg. Edge
1
0
1
x
MODE 1 T1 Toggle
Autoreload T1RA
Instruction Clock
1
0
0
x
MODE 1 No T1 Toggle
Autoreload T1RA
Instruction Clock
0
1
0
x
MODE 3 Captures: T1 Pos. edge
Pos. T1 Edge
Instruction Clock
0
1
1
x
MODE 3 Captures: T1 Neg. Edge
Neg. T1 Edge
Instruction Clock
1
1
0
0
MODE 4 Difference Capture
Pos. to Neg.
Instruction Clock
1
1
0
1
MODE 4 Difference Capture
Pos. to Pos.
Instruction Clock
1
1
1
0
MODE 4 Difference Capture
Neg. to Pos.
Instruction Clock
1
1
1
1
MODE 4 Difference Capture
Neg. to Neg.
Instruction Clock
相关PDF资料
PDF描述
ACE1202LMX Arithmetic Controller Engine (ACEx⑩) for Low Power Applications
ACE1202LN Arithmetic Controller Engine (ACEx⑩) for Low Power Applications
ACE1202LN14 Arithmetic Controller Engine (ACEx⑩) for Low Power Applications
ACE1202M Arithmetic Controller Engine (ACEx⑩) for Low Power Applications
ACE1202M8 Arithmetic Controller Engine (ACEx⑩) for Low Power Applications
相关代理商/技术参数
参数描述
ACE1202LMX 制造商:FAIRCHILD 制造商全称:Fairchild Semiconductor 功能描述:Arithmetic Controller Engine (ACEx⑩) for Low Power Applications
ACE1202LN 功能描述:8位微控制器 -MCU arithmetic Controllr Engine RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
ACE1202LN14 功能描述:8位微控制器 -MCU arithmetic Controllr Engine RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
ACE1202M 功能描述:8位微控制器 -MCU arithmetic Controllr Engine RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
ACE1202M8 功能描述:8位微控制器 -MCU arithmetic Controllr Engine RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT