Control Surface main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
Classes | Public Attributes | List of all members
BulkTX< Derived, MessageTypeT, MaxPacketSizeV >::Writing Struct Reference

Detailed Description

template<class Derived, class MessageTypeT, uint16_t MaxPacketSizeV>
struct BulkTX< Derived, MessageTypeT, MaxPacketSizeV >::Writing

State for writing outgoing USB-MIDI data.

Definition at line 89 of file BulkTX.hpp.

+ Collaboration diagram for BulkTX< Derived, MessageTypeT, MaxPacketSizeV >::Writing:

Classes

struct  Buffer
 

Public Attributes

struct BulkTX::Writing::Buffer buffers [2]
 
interrupt_atomic< Buffer * > active_writebuffer {&buffers[0]}
 
interrupt_atomic< Buffer * > sending {nullptr}
 
interrupt_atomic< Buffer * > send_later {nullptr}
 
interrupt_atomic< Buffer * > send_now {nullptr}
 
interrupt_atomic< uint32_t > error {0}
 
uint16_t packet_size = MaxPacketSize
 

Member Data Documentation

◆ buffers

template<class Derived , class MessageTypeT , uint16_t MaxPacketSizeV>
struct BulkTX::Writing::Buffer buffers[2]

◆ active_writebuffer

template<class Derived , class MessageTypeT , uint16_t MaxPacketSizeV>
interrupt_atomic<Buffer *> active_writebuffer {&buffers[0]}

Definition at line 94 of file BulkTX.hpp.

◆ sending

template<class Derived , class MessageTypeT , uint16_t MaxPacketSizeV>
interrupt_atomic<Buffer *> sending {nullptr}

Definition at line 95 of file BulkTX.hpp.

◆ send_later

template<class Derived , class MessageTypeT , uint16_t MaxPacketSizeV>
interrupt_atomic<Buffer *> send_later {nullptr}

Definition at line 96 of file BulkTX.hpp.

◆ send_now

template<class Derived , class MessageTypeT , uint16_t MaxPacketSizeV>
interrupt_atomic<Buffer *> send_now {nullptr}

Definition at line 97 of file BulkTX.hpp.

◆ error

template<class Derived , class MessageTypeT , uint16_t MaxPacketSizeV>
interrupt_atomic<uint32_t> error {0}

Definition at line 98 of file BulkTX.hpp.

◆ packet_size

template<class Derived , class MessageTypeT , uint16_t MaxPacketSizeV>
uint16_t packet_size = MaxPacketSize

Definition at line 99 of file BulkTX.hpp.


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