pru: Initial support for the Beaglebone PRU
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
18
src/pru/internal.h
Normal file
18
src/pru/internal.h
Normal file
@@ -0,0 +1,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
|
||||
Reference in New Issue
Block a user