Wolfvak 70757e3385 - added extremely simple calibration dialog, to be replaced by something prettier/saner/safer at a later point in time
- moved all SPI code to the ARM11
- reimplemented NVRAM reading for the new SPI interface
2019-06-03 02:27:42 +02:00

14 lines
201 B
C
Executable File

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