aboutsummaryrefslogtreecommitdiff
path: root/src/SPI.h
diff options
context:
space:
mode:
authorNadia Holmquist Pedersen <nadia@nhp.sh>2020-06-03 13:54:28 +0200
committerNadia Holmquist Pedersen <nadia@nhp.sh>2020-06-03 13:54:28 +0200
commitf9f366e296a68be0aa2eb7bfd0552da31896a18c (patch)
treef52760d5505b84074a9c1b50b4fe16e40035ba06 /src/SPI.h
parentb746c0b7279d1f5b4bcfd02c115b09d583e9df4f (diff)
parentd6332f96f162849ad0dde2738cacd3fae6e76e5d (diff)
Merge remote-tracking branch 'remotes/upstream/master' into feature/qt-platform
# Conflicts: # src/frontend/qt_sdl/CMakeLists.txt # src/frontend/qt_sdl/Platform.cpp # src/frontend/qt_sdl/main.cpp
Diffstat (limited to 'src/SPI.h')
-rw-r--r--src/SPI.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/SPI.h b/src/SPI.h
index 086de1a..21734c4 100644
--- a/src/SPI.h
+++ b/src/SPI.h
@@ -29,6 +29,7 @@ void SetupDirectBoot();
u8 GetConsoleType();
u8 GetWifiVersion();
u8 GetRFVersion();
+u8* GetWifiMAC();
}
@@ -38,6 +39,9 @@ namespace SPI_TSC
void SetTouchCoords(u16 x, u16 y);
void MicInputFrame(s16* data, int samples);
+u8 Read();
+void Write(u8 val, u32 hold);
+
}
namespace SPI
@@ -50,7 +54,6 @@ void DeInit();
void Reset();
void DoSavestate(Savestate* file);
-u16 ReadCnt();
void WriteCnt(u16 val);
u8 ReadData();