參數(shù)資料
型號: 12CE673
廠商: Microchip Technology Inc.
英文描述: HookUp/Lead Wire; Conductor Size AWG:18; No. Strands x Strand Size:65 x 36; Jacket Color:Black; Conductor Material:Copper; Jacket Material:Rubber; Leaded Process Compatible:Yes; Number of Conductors:1; Outer Diameter:0.144" RoHS Compliant: Yes
中文描述: 8引腳,8位CMOS微控制器與A / D轉(zhuǎn)換器和EEPROM數(shù)據(jù)存儲器
文件頁數(shù): 56/116頁
文件大?。?/td> 671K
代理商: 12CE673
PIC12CE67X
DS40181B-page 56
Preliminary
1998 Microchip Technology Inc.
9.5.1
TMR0 INTERRUPT
An overflow (FFh
00h) in the TMR0 register will set
flag bit T0IF (INTCON<2>). The interrupt can be
enabled/disabled by setting/clearing enable bit T0IE
(INTCON<5>). (Section 7.0)
9.5.2
INT INTERRUPT
External interrupt on GP2/INT pin is edge triggered:
either rising if bit INTEDG (OPTION<6>) is set, or fall-
ing, if the INTEDG bit is clear. When a valid edge
appears on the GP2/INT pin, flag bit INTF
(INTCON<1>) is set. This interrupt can be disabled by
clearing enable bit INTE (INTCON<4>). Flag bit INTF
must be cleared in software in the interrupt service rou-
tine before re-enabling this interrupt. The INT interrupt
can wake-up the processor from SLEEP, if bit INTE was
set prior to going into SLEEP. The status of global inter-
rupt enable bit GIE decides whether or not the proces-
sor branches to the interrupt vector following wake-up.
See Section 9.8 for details on SLEEP mode.
9.5.3
GPIO INTCON CHANGE
An input change on GP3, GP1 or GP0 sets flag bit
GPIF (INTCON<0>). The interrupt can be enabled/dis-
abled
by
setting/clearing
(INTCON<3>). (Section 5.1)
enable
bit
GPIE
9.6
During an interrupt, only the return PC value is saved
on the stack. Typically, users may wish to save key reg-
isters during an interrupt i.e., W register and STATUS
register. This will have to be implemented in software.
Context Saving During Interrupts
The example:
a)
Stores the W register.
b)
Stores the STATUS register in bank 0.
c)
Executes the ISR code.
d)
Restores the STATUS register (and bank select
bit).
e)
Restores the W register.
Example 9-1 store and restore the STATUS and W
registers. The register, W_TEMP, must be defined in
both banks and must be defined at the same offset
from the bank base address (i.e., if W_TEMP is
defined at 0x20 in bank 0, it must also be defined at
0xA0 in bank 1).
EXAMPLE 9-1:
SAVING STATUS AND W REGISTERS IN RAM
MOVWF W_TEMP ;Copy W to TEMP register, could be bank one or zero
SWAPF STATUS,W ;Swap status to be saved into W
BCF STATUS,RP0 ;Change to bank zero, regardless of current bank
MOVWF STATUS_TEMP ;Save status to bank zero STATUS_TEMP register
:
:(ISR)
:
SWAPF STATUS_TEMP,W ;Swap STATUS_TEMP register into W
;(sets bank to original state)
MOVWF STATUS ;Move W into STATUS register
SWAPF W_TEMP,F ;Swap W_TEMP
SWAPF W_TEMP,W ;Swap W_TEMP into W
相關(guān)PDF資料
PDF描述
12CGQ150 SCHOTTKY RECTIFIER
12CTQ030 12 AMP DUAL SCHOTTKY CENTER TAP RECTIFIERS
12CTQ SCHOTTKY RECTIFIER
12CTQ035-1 SCHOTTKY RECTIFIER
12CTQ035S SCHOTTKY RECTIFIER
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
12CEX57E1A 制造商:GE 功能描述:RELAY
12CGQ150 制造商:International Rectifier 功能描述:Diode Schottky 150V 35A 3-Pin(3+Tab) TO-254AA 制造商:International Rectifier 功能描述:SCHOTTKY 150V 35A 3PIN TO-254AA - Bulk 制造商:International Rectifier 功能描述:SCHOTTKY RECTIFIER CMN CTHD 35A TO-254AA; Diode Type:Schottky; Diode Configuration:Dual Common Cathode; Repetitive Reverse Voltage Vrrm Max:150V; Forward Current If(AV):35A; Forward Voltage VF Max:1.6V; No. of Pins:3 ;RoHS Compliant: No
12CGQ150SCS 制造商:International Rectifier 功能描述:Diode Schottky 150V 35A 3-Pin(3+Tab) TO-254AA 制造商:International Rectifier 功能描述:SCHOTTKY 150V 35A 3PIN TO-254AA - Bulk
12CGQ150SCV 制造商:International Rectifier 功能描述:Diode Schottky 150V 35A 3-Pin(3+Tab) TO-254AA 制造商:Unity Microelectronics Inc 功能描述:SCHOTTKY DIODE, HI-REL, QIRL 制造商:International Rectifier 功能描述:SCHOTTKY 150V 35A 3PIN TO-254AA - Bulk
12CGQ150SCX 制造商:International Rectifier 功能描述:SCHOTTKY 150V 35A 3PIN TO-254AA - Bulk