add communication controller register interface

This commit is contained in:
2024-11-05 13:01:57 +01:00
parent 8e62de5cdf
commit e8cfbbdab0
3 changed files with 205 additions and 0 deletions

View File

@ -21,6 +21,7 @@
#include "ehrenberg/devices/i2s.h"
#include "ehrenberg/devices/camera.h"
#include "ehrenberg/devices/dma.h"
#include "ehrenberg/devices/msg_if.h"
#define PERIPH(TYPE, ADDR) ((volatile TYPE*) (ADDR))
@ -35,6 +36,7 @@
#define i2s PERIPH(i2s_t, APB_BASE+0x90000)
#define camera PERIPH(camera_t, APB_BASE+0xA0000)
#define dma PERIPH(dma_t, APB_BASE+0xB0000)
#define msgif PERIPH(msgif_t, APB_BASE+0xC0000)
#define XIP_START_LOC 0xE0040000