|
80-0206-R Datasheet, PDF (26/49 Pages) List of Unclassifed Manufacturers – Speech Recognition Processor | |||
|
◁ |
RSC-4128
Data Sheet
The interrupt vector is generated as a 20-bit address. The low 16 bits are derived from the execution table above,
and the high 4 bits are selected as a normal code fetch as described in the âMemory Addressingâ section.
Specifically, the âcb1â bit is not touched by the interrupt.
If the corresponding mask register bit is clear, the âirqâ bit will not cause an interrupt. However, it can be polled by
reading the âirqâ register.
âirqâ bits can be cleared by writing a â0â to the corresponding bit at register FE (the âirqâ register). âirqâ bits cannot
be set by writing to register FE. Writing a â1â to that register is a NO-OP.
The âirqâ bits must be cleared within the interrupt handler by an explicit write to the âirqâ register rather than by an
implicit interrupt acknowledge.
PLEASE NOTE:
Clear interrupts this way â
mov irq, #bitmask
; CORRECT
Not this way â
And irq, #bitmask
; INCORRECT
The âandâ instruction is not a single action. The âandâ instruction is a read-modify-write action. If an interrupt
occurs during an âand irqâ operation the interrupt will be cleared before it is seen, possibly disabling the interrupt
until the system is reset. Because one cannot directly set or clear bits in the âirqâ register, use âmov irqâ as a safe
and effective single action to clear bits in the âirqâ register. Use it the way you would use an âandâ instruction to
operate on other registers.
NOTE: Bit2 and Bit5 of the âirqâ register should always be written as â1â when clearing other âirqâ bits, to avoid
conflicts with the Technology code use of these bits.
In Idle mode, Timer2 continues to operate even when the rest of the RSC-4128 is powered-down. An overflow
from Timer2 will set the corresponding âirqâ flag even when there is no clock input to the processor. Note that the
Timer2 âirqâ bit (register FE.Bit1) must be cleared prior to powering down to allow the wakeup interrupt request to
occur. This may also lead to normal interrupt processing once the processor is active, if the Timer 2 âimrâ bit is set
(register FD.Bit1). This interrupt response is unique from, and may be in addition to, the T2 Wakeup.
26
P/N 80-0206-R
© 2006 Sensory Inc.
|
▷ |