Difference between revisions of "GPIO:BindInterrupt"
Jump to navigation
Jump to search
(did you even look at the exheader?) |
|||
(5 intermediate revisions by 3 users not shown) | |||
Line 94: | Line 94: | ||
See also [[ARM11 Interrupts]]. | See also [[ARM11 Interrupts]]. | ||
− | =Interrupts | + | =Interrupts bound by modules= |
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! Module | ! Module | ||
− | ! | + | ! Bound interrupts (bitmask) |
|- | |- | ||
− | | [[Codec_Services| | + | | [[Codec_Services|codec]] |
| 0x8 | | 0x8 | ||
+ | |- | ||
+ | | [[HID_Services|hid]] | ||
+ | | 0x100 | ||
+ | |- | ||
+ | | [[IR_Services|ir]] | ||
+ | | 0x40 | ||
+ | |- | ||
+ | | [[MCU_Services|mcu]] | ||
+ | | 0x8000 | ||
|} | |} | ||
+ | |||
+ | See [[GPIO:BindInterrupt#Supported_values]] for the bitmask <-> IRQ number correspondence table. |
Latest revision as of 15:19, 25 September 2016
Request[edit]
Index Word | Description |
---|---|
0 | Header code [0x00090082] |
1 | u32, interrupt bitmask |
2 | s32, priority |
3 | Must be value 0x00000000, otherwise error 0xD9001830 |
4 | Handle syncObject |
Response[edit]
Index Word | Description |
---|---|
0 | Header code |
1 | Result code |
Description[edit]
This binds an interrupt in gpio-module's interrupt ACL to the specified syncObject (using svcBindInterrupt).
Supported values[edit]
Bitmask | Interrupt |
---|---|
0x2 | 0x63 |
0x4 | 0x60 |
0x8 | 0x64 |
0x10 | 0x66 |
0x40 | 0x68 |
0x80 | 0x69 |
0x100 | 0x6A |
0x200 | 0x6B |
0x400 | 0x6C |
0x800 | 0x6D |
0x1000 | 0x6E |
0x2000 | 0x6F |
0x4000 | 0x70 |
0x8000 | 0x71 |
0x10000 | 0x72 |
0x20000 | 0x73 |
See also ARM11 Interrupts.
Interrupts bound by modules[edit]
Module | Bound interrupts (bitmask) |
---|---|
codec | 0x8 |
hid | 0x100 |
ir | 0x40 |
mcu | 0x8000 |
See GPIO:BindInterrupt#Supported_values for the bitmask <-> IRQ number correspondence table.