欢迎访问ic37.com |
会员登录 免费注册
发布采购

MC908QC16CDRE 参数 Datasheet PDF下载

MC908QC16CDRE图片预览
型号: MC908QC16CDRE
PDF下载: 下载PDF文件 查看货源
内容描述: M68HC08微控制器 [M68HC08 Microcontrollers]
分类和应用: 微控制器外围集成电路光电二极管时钟
文件页数/大小: 274 页 / 3195 K
品牌: FREESCALE [ FREESCALE SEMICONDUCTOR, INC ]
 浏览型号MC908QC16CDRE的Datasheet PDF文件第77页浏览型号MC908QC16CDRE的Datasheet PDF文件第78页浏览型号MC908QC16CDRE的Datasheet PDF文件第79页浏览型号MC908QC16CDRE的Datasheet PDF文件第80页浏览型号MC908QC16CDRE的Datasheet PDF文件第82页浏览型号MC908QC16CDRE的Datasheet PDF文件第83页浏览型号MC908QC16CDRE的Datasheet PDF文件第84页浏览型号MC908QC16CDRE的Datasheet PDF文件第85页  
Functional Description
When set, the IMASK bit in INTSCR masks the IRQ interrupt request. A latched interrupt request is not
presented to the interrupt priority logic unless IMASK is clear.
NOTE
The interrupt mask (I) in the condition code register (CCR) masks all
interrupt requests, including the IRQ interrupt request.
A falling edge on the IRQ pin can latch an interrupt request into the IRQ latch. An IRQ vector fetch,
software clear, or reset clears the IRQ latch.
RESET
ACK
INTERNAL ADDRESS BUS
IRQ VECTOR
FETCH
DECODER
V
DD
INTERNAL
PULLUP
DEVICE
IRQ
V
DD
D
CLR
Q
SYNCHRONIZER
CK
IRQF
IRQ
INTERRUPT
REQUEST
TO CPU FOR
BIL/BIH
INSTRUCTIONS
IRQ LATCH
IMASK
MODE
HIGH
VOLTAGE
DETECT
TO MODE
SELECT
LOGIC
Figure 7-2. IRQ Module Block Diagram
7.3.1 MODE = 1
If the MODE bit is set, the IRQ pin is both falling edge sensitive and low level sensitive. With MODE set,
both of the following actions must occur to clear the IRQ interrupt request:
• Return of the IRQ pin to a high level. As long as the IRQ pin is low, the IRQ request remains active.
• IRQ vector fetch or software clear. An IRQ vector fetch generates an interrupt acknowledge signal
to clear the IRQ latch. Software generates the interrupt acknowledge signal by writing a 1 to ACK
in INTSCR. The ACK bit is useful in applications that poll the IRQ pin and require software to clear
the IRQ latch. Writing to ACK prior to leaving an interrupt service routine can also prevent spurious
interrupts due to noise. Setting ACK does not affect subsequent transitions on the IRQ pin. A falling
edge that occurs after writing to ACK latches another interrupt request. If the IRQ mask bit, IMASK,
is clear, the CPU loads the program counter with the IRQ vector address.
The IRQ vector fetch or software clear and the return of the IRQ pin to a high level may occur in any order.
The interrupt request remains pending as long as the IRQ pin is low. A reset will clear the IRQ latch and
the MODE control bit, thereby clearing the interrupt even if the pin stays low.
Use the BIH or BIL instruction to read the logic level on the IRQ pin.
MC68HC908QC16 • MC68HC908QC8 • MC68HC908QC4 Data Sheet, Rev. 5
Freescale Semiconductor
81