mc68hc901fn Freescale Semiconductor, Inc, mc68hc901fn Datasheet - Page 31

no-image

mc68hc901fn

Manufacturer Part Number
mc68hc901fn
Description
Multi-function Peripheral
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MC68HC901FN
Manufacturer:
FREESCALE
Quantity:
8 831
Interrupt Structure
4.3.3 Interrupt Mask Registers (IMRA, IMRB)
Interrupts are masked for a channel by clearing the appropriate bit in interrupt mask register
A or B (IMRA or IMRB). Even though an enabled channel is masked, the channel will
recognize subsequent interrupts and set its interrupt pending bit. However, the channel is
prevented from requesting interrupt service (IRQ to the processor) as long as the mask bit
for that channel is cleared. If a channel is requesting interrupt service at the time that its
corresponding bit in IMRA or IMRB is cleared, the request will cease, and IRQ will be
negated unless another channel is requesting interrupt service. Later, when the mask bit is
set, any pending interrupt on the channel will be processed according to the channel's
assigned priority. IMRA and IMRB may be read at any time. Figure 4-2 provides a
conceptual circuit of an MFP interrupt channel.
GPIP7-GPIP6 — General Purpose Interrupt Mask
Timer A — Timer A Interrupt Mask
Receiver Buffer Full — Receiver Buffer Full Interrupt Mask
Receiver Error — Receiver Buffer Full Interrupt Mask
Transmitter Buffer Empty — Transmitter Buffer Interrupt Mask
Transmitter Error — Transmitter Error Interrupt Mask
4-8
IMRA REGISTER
RESET
FIELD
ADDR
BIT
1 = Unmask.
0 = Mask.
1 = Unmask.
0 = Mask.
1 = Unmask.
0 = Mask.
1 = Unmask.
0 = Mask.
1 = Unmask.
0 = Mask.
1 = Unmask.
0 = Mask.
GPIP7
7
0
GPIP6
6
0
TIMER A
MC68HC901 USER’S MANUAL
5
0
BUFFER
FULL
RCV
4
0
$13
ERROR
RCV
3
0
BUFFER
EMPTY
XMIT
2
0
ERROR
XMIT
1
0
MOTOROLA
TIMER B
0
0

Related parts for mc68hc901fn