synth/mbv/hal/pol0.h
Paul Mathieu 3db383d461 mbv: now with functioning timer interrupts!
And a few other nice things.
The bootloader now has an embedded wozmon!
If you know its offset, you can jump to it from the app.
2025-06-10 23:46:43 -07:00

19 lines
314 B
C

// Platform definitions for pol0
// LED output
#define GPIO0_BASE (0x40000000)
// /dev/ttyUSB1
#define UART0_BASE (0x40600000)
// Interrupt controller
#define INTC_BASE (0x41200000)
// It's uh.. a timer.
#define TIMER0_BASE (0x41c00000)
// IRQs
#define UART0_IRQN (0)
#define TIMER0_IRQN (1)
#define NIRQ (2)