10#include <joybus/bus.h>
int joybus_reset(struct joybus *bus, struct joybus_id *response)
Reset the target device attached to the Joybus.
Definition common.c:19
int joybus_identify(struct joybus *bus, struct joybus_id *response)
Identify the target device attached to the Joybus.
Definition common.c:4
int joybus_identify_async(struct joybus *bus, struct joybus_id *response, joybus_transfer_cb callback, void *user_data)
Identify the target device attached to the Joybus, asynchronously.
Definition common.c:10
int joybus_reset_async(struct joybus *bus, struct joybus_id *response, joybus_transfer_cb callback, void *user_data)
Reset the target device attached to the Joybus, asynchronously.
Definition common.c:25
void(* joybus_transfer_cb)(struct joybus *bus, int status, void *user_data)
Function type for transfer completion callbacks.
Definition bus.h:74
Joybus device identification values and utilities.
Represents the 3-byte ID field from an "identify" buffer.
Definition identify.h:98
A Joybus instance.
Definition bus.h:96