1
0
mirror of synced 2024-11-23 21:40:58 +01:00
bananatools/board/vfd-frame.h

21 lines
316 B
C
Raw Permalink Normal View History

2024-10-06 20:37:20 +02:00
#pragma once
#include <windows.h>
#include <stddef.h>
#include <stdint.h>
#include "hook/iobuf.h"
enum {
VFD_SYNC_BYTE = 0x1B,
VFD_SYNC_BYTE2 = 0x1A,
};
bool vfd_frame_sync(struct const_iobuf *src);
HRESULT vfd_frame_encode(
struct iobuf *dest,
const void *ptr,
size_t nbytes);