mirror of
https://gitea.tendokyu.moe/TeamTofuShop/taitools.git
synced 2026-09-26 08:08:00 +03:00
26 lines
562 B
C
26 lines
562 B
C
#pragma once
|
|
#include <windows.h>
|
|
|
|
#include "jvs/jvs-bus.h"
|
|
|
|
struct j9100628a_ops {
|
|
void (*reset)(void *ctx);
|
|
void (*write_led)(void *ctx, uint32_t state);
|
|
void (*poll_card)(void *ctx, char *serial);
|
|
};
|
|
|
|
struct j9100628a {
|
|
struct jvs_node jvs;
|
|
uint8_t addr;
|
|
const struct j9100628a_ops *ops;
|
|
void *ops_ctx;
|
|
};
|
|
|
|
void j9100628a_init(
|
|
struct j9100628a *j9100628a,
|
|
struct jvs_node *next,
|
|
const struct j9100628a_ops *ops,
|
|
void *ops_ctx);
|
|
|
|
struct jvs_node *j9100628a_to_jvs_node(struct j9100628a *j9100628a);
|