Logo
Explore Help
Register Sign In
MirrorBackup/GodMode9
1
0
Fork 0
You've already forked GodMode9
forked from Mirror/GodMode9
Code Pull Requests Activity
GodMode9/arm11/source/hw/spi.h

14 lines
194 B
C
Raw Normal View History

- 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-04-18 16:39:45 -03:00
#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);
Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 12ms Template: 0ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API