Added usb video example

This commit is contained in:
Gericom
2025-12-14 10:47:56 +01:00
parent 3bb550c12e
commit 8b47512f92
29 changed files with 1883 additions and 2 deletions

View File

@@ -0,0 +1,19 @@
#pragma once
#include <libtwl/ipc/ipcFifoSystem.h>
class IpcService
{
const u32 _ipcChannel;
protected:
explicit IpcService(u32 ipcChannel)
: _ipcChannel(ipcChannel) { }
void SendResponseMessage(u32 data) const
{
ipc_sendFifoMessage(_ipcChannel, data);
}
public:
virtual void Start();
virtual void OnMessageReceived(u32 data) = 0;
};