libjoybus
Joybus implementation for 32-bit MCUs
Loading...
Searching...
No Matches
joybus Struct Reference

A Joybus instance. More...

#include <bus.h>

Data Fields

const struct joybus_api * api
 The backend API implementation for this Joybus instance.
enum joybus_mode mode
 The operating mode of this Joybus instance (host or target).
uint32_t freq
 The frequency of the bus, in Hz.
struct joybus_target * targets
 The targets attached to this Joybus instance, in attachment order.
struct joybus_target * active_target
 The target that claimed the command being received, if any.
uint8_t command_buffer [JOYBUS_BLOCK_SIZE]
uint8_t response_buffer [JOYBUS_BLOCK_SIZE]
struct joybus_host_op host_op

Detailed Description

A Joybus instance.


The documentation for this struct was generated from the following file: