Fix cliplight setting being saved twice to -cfg files, closes FS#7857
[kugel-rb.git] / flash / uart_boot / client.h
bloba5df8c35d642567b3f34110f1e6f69622194709a
1 #ifndef _CLIENT_H
2 #define _CLIENT_H
5 // setup function for monitor download
6 int DownloadMonitor(tUartHandle serial_handle, bool bRecorder, char* szFilename);
7 int DownloadArchosMonitor(tUartHandle serial_handle, char* szFilename);
9 // target functions using the Monitor Protocol
10 UINT8 ReadByte(tUartHandle serial_handle, UINT32 addr);
11 int WriteByte(tUartHandle serial_handle, UINT32 addr, UINT8 byte);
12 int ReadByteMultiple(tUartHandle serial_handle, UINT32 addr, UINT32 size, UINT8* pBuffer);
13 int WriteByteMultiple(tUartHandle serial_handle, UINT32 addr, UINT32 size, UINT8* pBuffer);
14 int FlashByteMultiple(tUartHandle serial_handle, UINT32 addr, UINT32 size, UINT8* pBuffer);
15 UINT16 ReadHalfword(tUartHandle serial_handle, UINT32 addr);
16 int WriteHalfword(tUartHandle serial_handle, UINT32 addr, UINT16 halfword);
17 int SetTargetBaudrate(tUartHandle serial_handle, long lClock, long lBaudrate);
18 int Execute(tUartHandle serial_handle, UINT32 addr, bool bReturns);
21 #endif