16 #define PRU0_PRU1_INTERRUPT 17
17 #define PRU1_PRU0_INTERRUPT 18
18 #define PRU0_ARM_INTERRUPT 19
19 #define PRU1_ARM_INTERRUPT 20
20 #define ARM_PRU0_INTERRUPT 21
21 #define ARM_PRU1_INTERRUPT 22
44 #define PRU0_HOSTEN_MASK 0x0001
45 #define PRU1_HOSTEN_MASK 0x0002
46 #define PRU_EVTOUT0_HOSTEN_MASK 0x0004
47 #define PRU_EVTOUT1_HOSTEN_MASK 0x0008
48 #define PRU_EVTOUT2_HOSTEN_MASK 0x0010
49 #define PRU_EVTOUT3_HOSTEN_MASK 0x0020
50 #define PRU_EVTOUT4_HOSTEN_MASK 0x0040
51 #define PRU_EVTOUT5_HOSTEN_MASK 0x0080
52 #define PRU_EVTOUT6_HOSTEN_MASK 0x0100
53 #define PRU_EVTOUT7_HOSTEN_MASK 0x0200
63 #define NUM_PRU_HOSTIRQS 8
64 #define NUM_PRU_HOSTS 10
65 #define NUM_PRU_CHANNELS 10
66 #define NUM_PRU_SYS_EVTS 64
68 #define PRUSS0_PRU0_DRAM 0
69 #define PRUSS0_PRU1_DRAM 1
70 #define PRUSS0_PRU0_IRAM 2
71 #define PRUSS0_PRU1_IRAM 3
79 #define PRU_EVTOUT_0 0
80 #define PRU_EVTOUT_1 1
81 #define PRU_EVTOUT_2 2
82 #define PRU_EVTOUT_3 3
83 #define PRU_EVTOUT_4 4
84 #define PRU_EVTOUT_5 5
85 #define PRU_EVTOUT_6 6
86 #define PRU_EVTOUT_7 7
105 #if defined (__cplusplus)
unsigned int uint32
32 bit unsigned integer data type.
signed char int8
8 bit signed integer data type.
short int16
16 bit signed integer data type.
struct __channel_to_host_map tchannel_to_host_map
Mapping from interrupt channel to host event.
#define NUM_PRU_SYS_EVTS
Number of PRU system events.
struct __sysevt_to_channel_map tsysevt_to_channel_map
Mapping from system event to interrupt channel.
struct __pruss_intc_initdata tpruss_intc_initdata
Init data structure for the interrupt controller setting.
#define NUM_PRU_CHANNELS
Number of PRU interrupt channels.
Mapping from interrupt channel to host event.
int16 channel
The channel number.
int16 host
The host interrupt.
Init data structure for the interrupt controller setting.
uint32 host_enable_bitmask
The mask of enabled host interrupts.
tchannel_to_host_map channel_to_host_map[NUM_PRU_CHANNELS]
Mapping from interrupt channel to host.
tsysevt_to_channel_map sysevt_to_channel_map[NUM_PRU_SYS_EVTS]
Mapping from system event to interrupt channel.
int8 sysevts_enabled[NUM_PRU_SYS_EVTS]
The list of enabled system events.
Mapping from system event to interrupt channel.
int16 sysevt
The number of the system event.
int16 channel
The mapped channel number.