Electronic Components Datasheet Search
  English  ▼

X  

VR4102 Datasheet(PDF) 162 Page - NEC

Part # VR4102
Description  64/32-bit Microprocessor
PDF  701 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NEC [NEC]
Direct Link  http://www.nec.com/
Logo NEC - NEC

VR4102 Datasheet(HTML) 162 Page - NEC

Back Button VR4102 Datasheet HTML 158Page - NEC VR4102 Datasheet HTML 159Page - NEC VR4102 Datasheet HTML 160Page - NEC VR4102 Datasheet HTML 161Page - NEC VR4102 Datasheet HTML 162Page - NEC VR4102 Datasheet HTML 163Page - NEC VR4102 Datasheet HTML 164Page - NEC VR4102 Datasheet HTML 165Page - NEC VR4102 Datasheet HTML 166Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 162 / 701 page
background image
CHAPTER 6 EXCEPTION PROCESSING
162
6.3.4 Compare Register (11)
The Compare register causes a timer interrupt; it maintains a stable value that does not change on its own.
When the value of the Count register (see 6.3.3) equals the value of the Compare register, the IP(7) bit in the
Cause register is set. This causes an interrupt as soon as the interrupt is enabled.
Writing a value to the Compare register, as a side effect, clears the timer interrupt request.
For diagnostic purposes, the Compare register is a read/write register. Normally, this register should be only
used for a write. Figure 6-4 shows the format of the Compare register.
Figure 6-4. Compare Register Format
32
0
31
Compare
Compare: Value that is compared with the count value of the Count register
6.3.5 Status Register (12)
The Status register is a read/write register that contains the operating mode, interrupt enabling, and the
diagnostic states of the processor. Figure 5-5 shows the format of the Status register. Figure 5-6 shows the details
of the Diagnostic Status (DS) field. All DS field bits other than the TS bit are writable.
Figure 6-5. Status Register Format
29 28 27 26 25 24
16 15
8
7
6
5
4
3
2
1
0
31
0
CU0
0
RE
DS
IM (7:0)
KX SX UX
KSU
ERL
1
2
1
3
9
EXL
IE
8
1
1
1
2
1
1
1
CU0
: Enables/disables the use of the coprocessor (1
o Enabled, 0 o Disabled).
CP0 can be used by the kernel at all times.
0
: Reserved for future use. Write 0 in a write operation. When this bit is read, 0 is read.
RE
: Enables/disables reversing of the endian setting in User mode (0
o Disabled, 1 o Enabled). This bit
must be set to 0 since the VR4102 supports the little-endian order only.
DS
: Diagnostic Status field (see Figure 6-6).
IM
: Interrupt Mask field used to enable/disable interrupts (0
o Disabled, 1 o Enabled). This field consists
of 8 bits that are used to control eight interrupts. The bits are assigned to interrupts as follows:
IM7
: Masks a timer interrupt.
IM(6:2) : Mask ordinary interrupts (Int(4:0)
Note). However, Int4Note never occur in the VR4102.
IM(1:0) : Mask software interrupts or Cause register IP(1:0).
Note
Int(4:0) are internal signals of the VR4100 CPU core. For details about connection to the on-
chip peripheral units, refer to Chapter 14.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com