libpruio  0.6.8
Fast and easy Digital/Analog Input/Output for Beaglebones
pruio_intc.h File Reference

C header file for interrupt controller defines. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  __sysevt_to_channel_map
 Mapping from system event to interrupt channel. More...
 
struct  __channel_to_host_map
 Mapping from interrupt channel to host event. More...
 
struct  __pruss_intc_initdata
 Init data structure for the interrupt controller setting. More...
 

Macros

#define PRU0_PRU1_INTERRUPT   17
 System event PRU-0 -> PRU-1.
 
#define PRU1_PRU0_INTERRUPT   18
 System event PRU-1 -> PRU-0.
 
#define PRU0_ARM_INTERRUPT   19
 System event PRU-0 -> ARM.
 
#define PRU1_ARM_INTERRUPT   20
 System event PRU-1 -> ARM.
 
#define ARM_PRU0_INTERRUPT   21
 System event ARM -> PRU (R31.t30)
 
#define ARM_PRU1_INTERRUPT   22
 System event ARM -> PRU (R31.t31)
 
#define CHANNEL0   0
 ID for channel 0.
 
#define CHANNEL1   1
 ID for channel 1.
 
#define CHANNEL2   2
 ID for channel 2.
 
#define CHANNEL3   3
 ID for channel 3.
 
#define CHANNEL4   4
 ID for channel 4.
 
#define CHANNEL5   5
 ID for channel 5.
 
#define CHANNEL6   6
 ID for channel 6.
 
#define CHANNEL7   7
 ID for channel 7.
 
#define CHANNEL8   8
 ID for channel 8.
 
#define CHANNEL9   9
 ID for channel 9.
 
#define PRU0   0
 ID for PRU-0.
 
#define PRU1   1
 ID for PRU-1.
 
#define PRU_EVTOUT0   2
 ID for event 0.
 
#define PRU_EVTOUT1   3
 ID for event 1.
 
#define PRU_EVTOUT2   4
 ID for event 2.
 
#define PRU_EVTOUT3   5
 ID for event 3.
 
#define PRU_EVTOUT4   6
 ID for event 4.
 
#define PRU_EVTOUT5   7
 ID for event 5.
 
#define PRU_EVTOUT6   8
 ID for event 6.
 
#define PRU_EVTOUT7   9
 ID for event 7.
 
#define PRU0_HOSTEN_MASK   0x0001
 Interrupt host enable mask for PRU-0.
 
#define PRU1_HOSTEN_MASK   0x0002
 Interrupt host enable mask for PRU-1.
 
#define PRU_EVTOUT0_HOSTEN_MASK   0x0004
 Event 0 host enable mask.
 
#define PRU_EVTOUT1_HOSTEN_MASK   0x0008
 Event 1 host enable mask.
 
#define PRU_EVTOUT2_HOSTEN_MASK   0x0010
 Event 2 host enable mask.
 
#define PRU_EVTOUT3_HOSTEN_MASK   0x0020
 Event 3 host enable mask.
 
#define PRU_EVTOUT4_HOSTEN_MASK   0x0040
 Event 4 host enable mask.
 
#define PRU_EVTOUT5_HOSTEN_MASK   0x0080
 Event 5 host enable mask.
 
#define PRU_EVTOUT6_HOSTEN_MASK   0x0100
 Event 6 host enable mask.
 
#define PRU_EVTOUT7_HOSTEN_MASK   0x0200
 Event 7 host enable mask.
 
#define NUM_PRU_HOSTIRQS   8
 Number of PRU host interrupts.
 
#define NUM_PRU_HOSTS   10
 Number of hosts mapping channels.
 
#define NUM_PRU_CHANNELS   10
 Number of PRU interrupt channels.
 
#define NUM_PRU_SYS_EVTS   64
 Number of PRU system events.
 
#define PRUSS0_PRU0_DRAM   0
 ID for PRU-0 data ram.
 
#define PRUSS0_PRU1_DRAM   1
 ID for PRU-1 data ram.
 
#define PRUSS0_PRU0_IRAM   2
 ID for PRU-0 instruction ram.
 
#define PRUSS0_PRU1_IRAM   3
 ID for PRU-1 instruction ram.
 
#define PRUSS0_SRAM   4
 ID for PRUSS shared ram.
 
#define PRU_EVTOUT_0   0
 ID for host interrupt 0.
 
#define PRU_EVTOUT_1   1
 ID for host interrupt 1.
 
#define PRU_EVTOUT_2   2
 ID for host interrupt 2.
 
#define PRU_EVTOUT_3   3
 ID for host interrupt 3.
 
#define PRU_EVTOUT_4   4
 ID for host interrupt 4.
 
#define PRU_EVTOUT_5   5
 ID for host interrupt 5.
 
#define PRU_EVTOUT_6   6
 ID for host interrupt 6.
 
#define PRU_EVTOUT_7   7
 

Typedefs

typedef struct __sysevt_to_channel_map tsysevt_to_channel_map
 Mapping from system event to interrupt channel.
 
typedef struct __channel_to_host_map tchannel_to_host_map
 Mapping from interrupt channel to host event.
 
typedef struct __pruss_intc_initdata tpruss_intc_initdata
 Init data structure for the interrupt controller setting.
 

Detailed Description

C header file for interrupt controller defines.

Header file containing the defines and data types used for the interrupt controller setting. See src/pruio/pruio_intc.bi for details.

Copyright 2018-2023 by Thomas{ dOt ]Freiherr[ aT ]gmx[DoT}net

Since
0.6.0

Definition in file pruio_intc.h.

Macro Definition Documentation

◆ PRU_EVTOUT_7

#define PRU_EVTOUT_7   7

ID for host interrupt 7

Definition at line 86 of file pruio_intc.h.