DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

ST10R272 View Datasheet(PDF) - STMicroelectronics

Part Name
Description
Manufacturer
ST10R272
ST-Microelectronics
STMicroelectronics 
ST10R272 Datasheet PDF : 77 Pages
First Prev 21 22 23 24 25 26 27 28 29 30 Next Last
ST10R272L - MULTIPLY-ACCUMULATE UNIT (MAC)
of repetition that remains to complete the sequence. If the Repeat Unit is used in the interrupt
routine, MRW must be saved by the user and restored before the end of the interrupt routine.
Note
The Repeat Count should be used with caution. In this case MR should be written as
0. In general MR should not be set by the user otherwise correct instruction
processing can not be guaranteed.
MAC interrupt
The MAC can generate an interrupt according to the value of the status flags C (carry), SV
(overflow), E (extension) or SL (limit) of the MSW. The MAC interrupt is globally enabled when
the MIE flag in MCW is set. When it is enabled the flags C, SV, E or SL can triggered a MAC
interrupt when they are set provided that the corresponding mask flag CM, VM, EM or LM in
MCW is also set. A MAC interrupt request set the MIR flag in MSW, this flag must be reset by
the user during the interrupt routine otherwise the interrupt processing restarts when
returning from the interrupt routine.
The MAC interrupt is implemented as a Class B hardware trap (trap number Ah - trap priority
I). The associated Trap Flag in the TFR register is MACTRP, bit #6 of the TFR (Remember
that this flag must also be reset by the user in the case of an MAC interrupt request).
As the MAC status flags are updated (or eventually written by software) during the Execute
stage of the pipeline, the response time of a MAC interrupt request is 3 instruction cycles (see
Figure 3). It is the number of instruction cycles required between the time the request is sent
and the time the first instruction located at the interrupt vector location enters the pipeline.
Note that the IP value stacked after a MAC interrupt does not point to the instruction that
triggers the interrupt.
Response Time
FETCH
N
DECODE
N-1
EXECUTE N-2
WRITEBACK N-3
N+1
N+2
N+3
N+4
I1
I2
N
N+1
N+2
TRAP (1) TRAP (2) I1
N-1
N
N+1
N+2
TRAP (1) TRAP (2)
N-2
N-1
N
N+1
N+2
TRAP (1)
MAC Interrupt Request
Figure 7 Pipeline diagram for MAC interrupt response time
21/77
1

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]