Wolfvak bf45ee3900 - added new SPI and CODEC drivers ported from linux, thanks to xerpi
- circle pad simulates dpad keys (up, right, down, left)
- raw touchscreen data is provided but currently unused
- added a simple shared memory region thing
- fixed the 10ms delay to be _after_ the backlights are turned on, thanks to profi again

as always, other stuff I probably forgot about
2019-06-03 02:27:42 +02:00

14 lines
194 B
C
Executable File

#pragma once
#include <types.h>
typedef struct {
u32 *buf;
u8 len;
bool read;
} SPI_XferInfo;
int SPI_DoXfer(u32 dev, SPI_XferInfo *xfer, u32 xfer_cnt);
void SPI_Init(void);