aboutsummaryrefslogtreecommitdiffstats
path: root/src/pru/internal.h
blob: b279f3d0c07a2fb34cfcdf223644ce24ec7908f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef __PRU_INTERNAL_H
#define __PRU_INTERNAL_H
// Local definitions for PRU code

#define IEP_IRQ        0
#define GOT_ARM_IRQ    1
#define WAKE_ARM_IRQ   2

#define IEP_EVENT      7
#define GOT_ARM_EVENT  17
#define WAKE_ARM_EVENT 16

#define R31_IRQ_OFFSET 30

// console.c
void console_init(void);

#endif // internal.h