参数资料
型号: ACE1202LMX
厂商: FAIRCHILD SEMICONDUCTOR CORP
元件分类: 微控制器/微处理器
英文描述: Arithmetic Controller Engine (ACEx⑩) for Low Power Applications
中文描述: 8-BIT, EEPROM, 1 MHz, MICROCONTROLLER, PDSO14
封装: PLASTIC, SOIC-14
文件页数: 28/39页
文件大小: 2121K
代理商: ACE1202LMX
28
www.fairchildsemi.com
ACE1202 Product Family Rev. B.1
A
9.0 Multi-Input Wakeup/Interrupt Block
The Multi-Input Wakeup (MIW)/Interrupt contains three memory-mapped
registers associated with this circuit: WKEDG (Wakeup Edge), WKEN
(Wakeup Enable), and WKPND (Wakeup Pending). Each register has
8-bits with each bit corresponding to an input pins as shown in Figure
26. All three registers are initialized to zero upon reset.
The WKEDG register establishes the edge sensitivity for each of
the wake-up input pin: either positive going-edge (0) or negative-
going edge (1).
The WKEN register enables (1) or disables (0) each of the port
pins for the Wakeup/Interrupt function. The wakeup I/Os used for
the Wakeup/Interrupt function must also be configured as an input
pin in its associated port configuration register. However, an
interrupt of the core will not occur unless interrupts are enabled for
the block via bit 7 of the T0CNTRL register (see Figure 19) and the
G (global interrupt enable) bit of the SR is set.
The WKPND register contains the pending flags corresponding to
each of the port pins (1 for wakeup/interrupt pending, 0 for
wakeup/interrupt not pending).
To use the Multi-Input Wakeup/Interrupt circuit, perform the steps isted
below. Performing the steps in the order shown will prevent false
triggering of a Wakeup/Interrupt condition. This same procedure
should be used following any type of reset because the wakeup inputs
are left floating after resets resulting in unknown data on the port inputs.
1. Clear the WKEN register.
- CLR WKEN
2. If necessary, write to the port configuration register to select
the desired port pins to be configured as inputs.
- RBIT 4, PORTGC
3. If necessary, write to the port data register to select the
desired port pins input state.
- SBIT 4, PORTGD
4. Write the WKEDG register to select the desired type of edge
sensitivity for each of the pins used.
- LD WKEDG, #0FFH
5. Clear the WKPND register to cancel any pending bits.
- CLR WKPND
; G4
; Pull-up
; All negative-going edges
6. Set the WKEN bits associated with the pins to be used, thus
enabling those pins for the Wakeup/Interrupt function.
- LD WKEN, #10H
Once the Multi-Input Wakeup/Interrupt function has been config-
ured, a transition sensed on any of the I/O pins will set the
corresponding bit in the WKPND register. The WKPND bits , where
the corresponding enable (WKEN ) bits are set, will bring the device
out of the HALT mode and can also trigger an interrupt if interrupts
are enabled. The interrupt service routine can read the WKPND
register to determine which pin sensed the interrupt.
; Enabling G4
The interrupt service routine or other software should clear the
pending bit. The device will not enter HALT mode as long as a
WKPND pending bit is pending and enabled. The user has the
responsibility of clearing the pending flags before attempting to
enter the HALT mode.
Upon reset, the WKEDG register is configured to select positive-
going edge sensitivity for all wakeup inputs. If the user wishes to
change the edge sensitivity of a port pin, use the following proce-
dure to avoid false triggering of a Wakeup/Interrupt condition.
1. Clear the WKEN bit associated with the pin to disable that pin.
2. Write the WKEDG register to select the new type of edge
sensitivity for the pin.
3. Clear the WKPND bit associated with the pin.
4. Set the WKEN bit associated with the pin to re-enable it.
PORTG provides the user with three fully selectable, edge sensi-
tive interrupts that are all vectored into the same service subrou-
tine. The interrupt from PORTG shares logic with the wakeup
circuitry. The WKEN register allows interrupts from PORTG to be
individually enabled or disabled. The WKEDG register specifies
the trigger condition to be either a positive or a negative edge. The
WKPND register latches in the pending trigger conditions.
Since PORTG is also used for exiting the device from the HALT mode,
the user can elect to exit the HALT mode either with or without the nterrupt
enabled. If the user elects to disable the interrupt, then the device restarts
execution from the point at which it was stopped (first instruction cycle of
the instruction following HALT mode entrance instruction). In the other
case, the device finishes the nstruction that was being executed when the
part was stopped and then branches to the interrupt service routine. The
device then reverts to normal operation.
Data Bus
7
0
WKEN[7:0]
0
7
WKEDG[0:7]
WKPND[0:7]
G7
G0
EDGEI
WKOUT
WKINTEN
11
Figure 27: Multi-input Wakeup (MIW) Block Diagram
Figure 26: Multi-input Wakeup (MIW) Register bit assignments
WKEDG, WKEN, WKPND
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
11
G7
11
G6
G5
G4
G3
G2
G1
G0
11
Available only on the 14-pin package option
12
WKINTEN: Bit 7 of T0CNTRL
相关PDF资料
PDF描述
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
ACE1202M8X 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
ACE1202M8X 功能描述: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