27 lines
745 B
C
27 lines
745 B
C
#ifndef __USB_COMMAND_GET_DEBUG_BUFFER_H__
|
|
#define __USB_COMMAND_GET_DEBUG_BUFFER_H__
|
|
|
|
// Includes:
|
|
|
|
#include "usb_interfaces/usb_interface_generic_hid.h"
|
|
|
|
// Variables:
|
|
|
|
extern uint8_t DebugBuffer[USB_GENERIC_HID_OUT_BUFFER_LENGTH];
|
|
|
|
// Functions:
|
|
|
|
void UsbCommand_GetDebugBuffer(void);
|
|
|
|
void SetDebugBufferUint8(uint32_t offset, uint8_t value);
|
|
void SetDebugBufferUint16(uint32_t offset, uint16_t value);
|
|
void SetDebugBufferUint32(uint32_t offset, uint32_t value);
|
|
|
|
void SetDebugBufferInt8(uint32_t offset, int8_t value);
|
|
void SetDebugBufferInt16(uint32_t offset, int16_t value);
|
|
void SetDebugBufferInt32(uint32_t offset, int32_t value);
|
|
|
|
void SetDebugBufferFloat(uint32_t offset, float value);
|
|
|
|
#endif
|