Difference between revisions of "Interrupts"

From DSiBrew
Jump to navigation Jump to search
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
ARM7 has some new interrupts.
+
= ARM7 Interrupts =
 
 
=== ARM7 IO REGISTERS ===
 
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
Line 17: Line 15:
 
|}
 
|}
  
 
+
{| class="wikitable" border="1"
 
+
|+ '''ARM7 REG_IE / REG_IF'''
 +
|-
 +
!  BIT
 +
!  DESCRIPTION
 +
|-
 +
|  0-12
 +
|  same as DS
 +
|-
 +
|  13
 +
|  removed GBA-slot interrupt
 +
|-
 +
|  14-27
 +
|  same as DS ?
 +
|-
 +
|  28
 +
|  [[NDMA|NDMA0]] interrupt
 +
|-
 +
|  29
 +
|  [[NDMA|NDMA1]] interrupt
 +
|-
 +
|  30
 +
|  [[NDMA|NDMA2]] interrupt
 +
|-
 +
|  31
 +
|  [[NDMA|NDMA3]] interrupt
 +
|}
 
   
 
   
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
|+ '''REG_IE2 / REG_IF2'''
+
|+ '''ARM7 REG_IE2 / REG_IF2'''
 
|-
 
|-
 
!  BIT
 
!  BIT
Line 60: Line 83:
 
|-
 
|-
 
|  12
 
|  12
|  AES interrupt
+
[[AES Engine]] interrupt
 
|-
 
|-
 
|  13
 
|  13
|  I2C interrupt
+
[[I2C Bus]] interrupt
 
|-
 
|-
 
|  14
 
|  14
 
|  Microphone Extended interrupt
 
|  Microphone Extended interrupt
 +
|-
 +
|  15-31
 +
|  ?
 
|}
 
|}
  
 +
= ARM9 Interrupts =
  
 
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
|+ '''REG_IE / REG_IF'''
+
|+ '''ARM9 REG_IE / REG_IF'''
 
|-
 
|-
 
!  BIT
 
!  BIT
 
!  DESCRIPTION
 
!  DESCRIPTION
 
|-
 
|-
|  0-27
+
|  0-12
 +
|  same as DS
 +
|-
 +
|  13
 +
|  removed GBA-slot interrupt
 +
|-
 +
|  14
 +
|  NDS-slot Card change?
 +
|-
 +
|  15-23
 
|  same as DS
 
|  same as DS
 +
|-
 +
|  24
 +
|  XpertTeak DSP
 +
|-
 +
|  25
 +
|  [[Cameras]]
 +
|-
 +
|  26-27
 +
|  Not used
 
|-
 
|-
 
|  28
 
|  28
|  NDMA0 interrupt
+
[[NDMA|NDMA0]] interrupt
 
|-
 
|-
 
|  29
 
|  29
|  NDMA1 interrupt
+
[[NDMA|NDMA1]] interrupt
 
|-
 
|-
 
|  30
 
|  30
|  NDMA2 interrupt
+
[[NDMA|NDMA2]] interrupt
 
|-
 
|-
 
|  31
 
|  31
|  NDMA3 interrupt
+
[[NDMA|NDMA3]] interrupt
 
|}
 
|}

Latest revision as of 17:19, 16 July 2013

ARM7 Interrupts

ADDRESS WIDTH (bytes) NAME
0x04000218 4 REG_IE2
0x0400021C 4 REG_IF2
ARM7 REG_IE / REG_IF
BIT DESCRIPTION
0-12 same as DS
13 removed GBA-slot interrupt
14-27 same as DS ?
28 NDMA0 interrupt
29 NDMA1 interrupt
30 NDMA2 interrupt
31 NDMA3 interrupt
ARM7 REG_IE2 / REG_IF2
BIT DESCRIPTION
0 GPIO18[0]
1 GPIO18[1]
2 GPIO18[2]
4 GPIO33[0]
5 GPIO33[1]
6 Powerbutton interrupt (GPIO33[2])
7 GPIO33[3]
8 SD card 1
9 SDIO card 1 async
10 SD card 2
11 SDIO card 2 async
12 AES Engine interrupt
13 I2C Bus interrupt
14 Microphone Extended interrupt
15-31 ?

ARM9 Interrupts

ARM9 REG_IE / REG_IF
BIT DESCRIPTION
0-12 same as DS
13 removed GBA-slot interrupt
14 NDS-slot Card change?
15-23 same as DS
24 XpertTeak DSP
25 Cameras
26-27 Not used
28 NDMA0 interrupt
29 NDMA1 interrupt
30 NDMA2 interrupt
31 NDMA3 interrupt