8.0 Power Save Modes (Continued) 8.3 MULTI-INPUT WAKEUP The Multi-Input Wakeup feature is used to retur" />
參數(shù)資料
型號(hào): COP8SAC7SLB9
廠商: National Semiconductor
文件頁(yè)數(shù): 20/62頁(yè)
文件大?。?/td> 0K
描述: IC MCU OTP 8BIT 4K 28LAMINATECSP
標(biāo)準(zhǔn)包裝: 1
系列: COP8™ 8SA
核心處理器: COP8
芯體尺寸: 8-位
速度: 10MHz
連通性: Microwire/Plus(SPI)
外圍設(shè)備: POR,PWM,WDT
輸入/輸出數(shù): 24
程序存儲(chǔ)器容量: 4KB(4K x 8)
程序存儲(chǔ)器類型: OTP
RAM 容量: 128 x 8
電壓 - 電源 (Vcc/Vdd): 2.7 V ~ 5.5 V
振蕩器型: 內(nèi)部
工作溫度: 0°C ~ 70°C
封裝/外殼: 28-VFQFN,CSP
包裝: 剪切帶 (CT)
其它名稱: *COP8SAC7SLB9
COP8SAC7SLB9CT
8.0 Power Save Modes (Continued)
8.3 MULTI-INPUT WAKEUP
The Multi-Input Wakeup feature is used to return (wakeup)
the device from either the HALT or IDLE modes. Alternately
Multi-Input Wakeup/Interrupt feature may also be used to
generate up to 8 edge selectable external interrupts.
Figure 20 shows the Multi-Input Wakeup logic.
The Multi-Input Wakeup feature utilizes the L Port. The user
selects which particular L port bit (or combination of L Port
bits) will cause the device to exit the HALT or IDLE modes.
The selection is done through the register WKEN. The reg-
ister WKEN is an 8-bit read/write register, which contains a
control bit for every L port bit. Setting a particular WKEN bit
enables a Wakeup from the associated L port pin.
The user can select whether the trigger condition on the
selected L Port pin is going to be either a positive edge (low
to high transition) or a negative edge (high to low transition).
This selection is made via the register WKEDG, which is an
8-bit control register with a bit assigned to each L Port pin.
Setting the control bit will select the trigger condition to be a
negative edge on that particular L Port pin. Resetting the bit
selects the trigger condition to be a positive edge. Changing
an edge select entails several steps in order to avoid a
Wakeup condition as a result of the edge change. First, the
associated WKEN bit should be reset, followed by the edge
select change in WKEDG. Next, the associated WKPND bit
should be cleared, followed by the associated WKEN bit
being re-enabled.
An example may serve to clarify this procedure. Suppose we
wish to change the edge select from positive (low going high)
to negative (high going low) for L Port bit 5, where bit 5 has
previously been enabled for an input interrupt. The program
would be as follows:
RBIT
5, WKEN
; Disable MIWU
SBIT
5, WKEDG
; Change edge polarity
RBIT
5, WKPND
; Reset pending flag
SBIT
5, WKEN
; Enable MIWU
If the L port bits have been used as outputs and then
changed to inputs with Multi-Input Wakeup/Interrupt, a safety
procedure should also be followed to avoid wakeup condi-
tions. After the selected L port bits have been changed from
output to input but before the associated WKEN bits are
enabled, the associated edge select bits in WKEDG should
be set or reset for the desired edge selects, followed by the
associated WKPND bits being cleared.
This same procedure should be used following reset, since
the L port inputs are left floating as a result of reset.
The occurrence of the selected trigger condition for
Multi-Input Wakeup is latched into a pending register called
WKPND. The respective bits of the WKPND register will be
set on the occurrence of the selected trigger edge on the
corresponding Port L pin. The user has the responsibility of
clearing these pending flags. Since WKPND is a pending
register for the occurrence of selected wakeup conditions,
the device will not enter the HALT mode if any Wakeup bit is
both enabled and pending. Consequently, the user must
clear the pending flags before attempting to enter the HALT
mode.
WKEN and WKEDG are all read/write registers, and are
cleared at reset. WKPND register contains random value
after reset.
DS012838-27
FIGURE 20. Multi-Input Wake Up Logic
COP8SA
Family
www.national.com
26
相關(guān)PDF資料
PDF描述
EFM32TG842F32 MCU 32BIT 32KB FLASH 64-LQFP
COP8SAA7SLB9 IC MCU OTP 8BIT 1K 28LAMINATECSP
C8051F34B-GQ IC 8051 MCU 32K FLASH 32LQFP
COP8SAB7SLB8 IC MCU OTP 8BIT 2K 28LAMINATECSP
P87C51RB2FA,512 IC 80C51 MCU 512 RAM 44PLCC
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
COP8SAC7VEJ7 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
COP8SAC7VEJ9 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
COP8SA-DM 功能描述:MODULE DEBUGGING FOR COP8SA RoHS:是 類別:編程器,開發(fā)系統(tǒng) >> 過(guò)時(shí)/停產(chǎn)零件編號(hào) 系列:- 標(biāo)準(zhǔn)包裝:1 系列:- 傳感器類型:CMOS 成像,彩色(RGB) 傳感范圍:WVGA 接口:I²C 靈敏度:60 fps 電源電壓:5.7 V ~ 6.3 V 嵌入式:否 已供物品:成像器板 已用 IC / 零件:KAC-00401 相關(guān)產(chǎn)品:4H2099-ND - SENSOR IMAGE WVGA COLOR 48-PQFP4H2094-ND - SENSOR IMAGE WVGA MONO 48-PQFP
COP8SA-EPU-1 功能描述:PROGRAMING UNIT FOR COP8SA PARTS RoHS:否 類別:編程器,開發(fā)系統(tǒng) >> 過(guò)時(shí)/停產(chǎn)零件編號(hào) 系列:COP8SA 標(biāo)準(zhǔn)包裝:1 系列:- 傳感器類型:CMOS 成像,彩色(RGB) 傳感范圍:WVGA 接口:I²C 靈敏度:60 fps 電源電壓:5.7 V ~ 6.3 V 嵌入式:否 已供物品:成像器板 已用 IC / 零件:KAC-00401 相關(guān)產(chǎn)品:4H2099-ND - SENSOR IMAGE WVGA COLOR 48-PQFP4H2094-ND - SENSOR IMAGE WVGA MONO 48-PQFP
COP8SA-EPU-2 制造商:Texas Instruments 功能描述:COP8SA EVALUATION KIT