参数资料
型号: ACE1101LEMT8X
厂商: FAIRCHILD SEMICONDUCTOR CORP
元件分类: 微控制器/微处理器
英文描述: Arithmetic Controller Engine (ACEx⑩) for Low Power Applications
中文描述: 8-BIT, EEPROM, 4 MHz, MICROCONTROLLER, PDSO8
封装: PLASTIC, TSSOP-8
文件页数: 22/33页
文件大小: 152K
代理商: ACE1101LEMT8X
22
www.fairchildsemi.com
ACE1101 Rev. C.8
A
5.2 Mode 1: Pulse Width Modulation Mode
In the Pulse Width Modulation (PWM) mode, the timer counts down
at the instruction clock rate. When an underflow occurs, the timer
register is reloaded from T1RA, and decrementing proceeds from
the loaded value. At every underflow interrupt, software should load
the T1RA register with the alternate PWM value.
The timer can be configured to toggle the T1 output bit upon
underflow. This results in the generation of a clock signal on T1 with
the width and duty cycle controlled by the values stored in the T1RA.
A block diagram of the timer operating in the PWM mode is shown
In Figure 15.
There is one interrupt associated with the timer, designated the
Timer1 interrupt. The interrupt is maskable by the enable bit T1EN.
T1 will generate an interrupt with every timer underflow if the timer
interrupt is enabled by T1EN. The interrupt will be simultaneous
with every rising and falling edge of the PWM output. Generating
interrupts only on rising-, or falling edges of T1 is achievable
through appropriate handling of T1EN by the user software.
When an underflow occurs that causes a timer reload from T1RA,
the interrupt pending flag bit T1PNDA is set. A CPU interrupt occurs
if T1EN bit and the G (Global Interrupt enable) bit of the Status
register is set. The interrupt service routine must reset the pending
bit and perform whatever processing is necessary at the interrupt
point.
Figure 15: Pulse Width Modulation Mode
Timer
Underflow
Interrupts
Instruction
Clock
T1
BUS
16-bit Autoreload
Register T1RA
16-bit Timer
Data
Latch
The following steps can be used to operate the timer in the PWM
mode. In this example, the T1 output pin is toggled with every
timer underflow, and the
high
and
low
times for the T1 output
can be set to different values. The T1 output can start out either
high or low; the instructions below are for starting with the T1
output high. (Follow the instructions in parentheses to start the
T1 output low.)
1. Configure the T1 pin as an output by setting bit 2 of
PORTGC.
2. Initialize the T1 pin value to 1 (or 0) by setting (or clearing)
bit 2 of PORTGD.
3. Load the PWM
high
or
low
time into the timer register.
4. Load the PWM
low
or
high
time into the T1RA register.
5. Write the appropriate value to the timer control bits T1C3-
T1C2- T1C1 to select the PWM mode, and to toggle the T1
output with every timer underflow (see Table 11).
6. Set the T1C0 bit to start the timer.
7. Upon every underflow interrupt load T1RA with alternate
values, ON or OFF time.
If the user wishes to generate an interrupt on timer output
transitions, reset the pending flags and then enable the interrupt
using T1EN. The G bit must also be set. The interrupt service
routine must reset the pending flag and perform whatever
processing is desired.
相关PDF资料
PDF描述
ACE1101E Arithmetic Controller Engine (ACEx⑩) for Low Power Applications
ACE1101 Arithmetic Controller Engine For Low Power Applications(低功耗器件运用的算术控制引擎)
ACE1202E Arithmetic Controller Engine (ACEx⑩) for Low Power Applications
ACE12022EM8X Arithmetic Controller Engine (ACEx⑩) for Low Power Applications
ACE12022BEM8X Arithmetic Controller Engine (ACEx⑩) for Low Power Applications
相关代理商/技术参数
参数描述
ACE1101LM8 功能描述:8位微控制器 -MCU SO-8 1.8V-5.5V 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
ACE1101LM8X 功能描述:8位微控制器 -MCU SO-8 1.8V-5.5V T/R 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
ACE1101LMT8 功能描述:8位微控制器 -MCU TSSOP-8 1.8V-5.5V 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
ACE1101LMT8X 功能描述:8位微控制器 -MCU TSSOP-8 1.8-5.5V T/R 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
ACE1101LN 功能描述:8位微控制器 -MCU DIP-8 1.8V-5.5V 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