Nugget
Bare-metal libraries and examples for the original PlayStation
Loading...
Searching...
No Matches
common
hardware
irq.h
Go to the documentation of this file.
1
/*
2
3
MIT License
4
5
Copyright (c) 2019 PCSX-Redux authors
6
7
Permission is hereby granted, free of charge, to any person obtaining a copy
8
of this software and associated documentation files (the "Software"), to deal
9
in the Software without restriction, including without limitation the rights
10
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
copies of the Software, and to permit persons to whom the Software is
12
furnished to do so, subject to the following conditions:
13
14
The above copyright notice and this permission notice shall be included in all
15
copies or substantial portions of the Software.
16
17
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
SOFTWARE.
24
25
*/
26
27
#pragma once
28
29
#include <stdint.h>
30
31
enum
IRQ
{
32
IRQ_VBLANK_NUMBER
= 0,
33
IRQ_VBLANK
= 1 <<
IRQ_VBLANK_NUMBER
,
34
IRQ_GPU_NUMBER
= 1,
35
IRQ_GPU
= 1 <<
IRQ_GPU_NUMBER
,
36
IRQ_CDROM_NUMBER
= 2,
37
IRQ_CDROM
= 1 <<
IRQ_CDROM_NUMBER
,
38
IRQ_DMA_NUMBER
= 3,
39
IRQ_DMA
= 1 <<
IRQ_DMA_NUMBER
,
40
IRQ_TIMER0_NUMBER
= 4,
41
IRQ_TIMER0
= 1 <<
IRQ_TIMER0_NUMBER
,
42
IRQ_TIMER1_NUMBER
= 5,
43
IRQ_TIMER1
= 1 <<
IRQ_TIMER1_NUMBER
,
44
IRQ_TIMER2_NUMBER
= 6,
45
IRQ_TIMER2
= 1 <<
IRQ_TIMER2_NUMBER
,
46
IRQ_CONTROLLER_NUMBER
= 7,
47
IRQ_CONTROLLER
= 1 <<
IRQ_CONTROLLER_NUMBER
,
48
IRQ_SIO_NUMBER
= 8,
49
IRQ_SIO
= 1 <<
IRQ_SIO_NUMBER
,
50
IRQ_SPU_NUMBER
= 9,
51
IRQ_SPU
= 1 <<
IRQ_SPU_NUMBER
,
52
IRQ_PIO_NUMBER
= 10,
53
IRQ_PIO
= 1 <<
IRQ_PIO_NUMBER
,
54
};
IRQ
IRQ
Definition
irq.h:31
IRQ_TIMER2
@ IRQ_TIMER2
Definition
irq.h:45
IRQ_DMA
@ IRQ_DMA
Definition
irq.h:39
IRQ_TIMER0
@ IRQ_TIMER0
Definition
irq.h:41
IRQ_GPU
@ IRQ_GPU
Definition
irq.h:35
IRQ_SIO_NUMBER
@ IRQ_SIO_NUMBER
Definition
irq.h:48
IRQ_VBLANK
@ IRQ_VBLANK
Definition
irq.h:33
IRQ_CONTROLLER_NUMBER
@ IRQ_CONTROLLER_NUMBER
Definition
irq.h:46
IRQ_TIMER1_NUMBER
@ IRQ_TIMER1_NUMBER
Definition
irq.h:42
IRQ_PIO
@ IRQ_PIO
Definition
irq.h:53
IRQ_SPU_NUMBER
@ IRQ_SPU_NUMBER
Definition
irq.h:50
IRQ_TIMER1
@ IRQ_TIMER1
Definition
irq.h:43
IRQ_CDROM_NUMBER
@ IRQ_CDROM_NUMBER
Definition
irq.h:36
IRQ_GPU_NUMBER
@ IRQ_GPU_NUMBER
Definition
irq.h:34
IRQ_TIMER2_NUMBER
@ IRQ_TIMER2_NUMBER
Definition
irq.h:44
IRQ_TIMER0_NUMBER
@ IRQ_TIMER0_NUMBER
Definition
irq.h:40
IRQ_CDROM
@ IRQ_CDROM
Definition
irq.h:37
IRQ_DMA_NUMBER
@ IRQ_DMA_NUMBER
Definition
irq.h:38
IRQ_VBLANK_NUMBER
@ IRQ_VBLANK_NUMBER
Definition
irq.h:32
IRQ_CONTROLLER
@ IRQ_CONTROLLER
Definition
irq.h:47
IRQ_SIO
@ IRQ_SIO
Definition
irq.h:49
IRQ_SPU
@ IRQ_SPU
Definition
irq.h:51
IRQ_PIO_NUMBER
@ IRQ_PIO_NUMBER
Definition
irq.h:52
Generated by
1.9.8