SingingCat 0
application
Data Fields
usb_app_packet Struct Reference

Data Fields

union {
   struct {
      uint32_t   extra
 
   }   ack
 
   struct {
      uint32_t   action
 
      uint32_t   actiondata
 
      uint32_t   datalen
 
   }   action
 
   struct {
      uint32_t   checksum
 
      uint16_t   data_length
 
      uint8_t   header_length
 
   }   data
 
   struct {
      uint32_t   checksum
 
      uint8_t   flags
 
      uint32_t   len
 
   }   done
 
   struct {
      uint8_t   code
 
      uint32_t   extra
 
   }   nack
 
   struct {
      uint32_t   base
 
      uint32_t   flags
 
      uint32_t   size
 
   }   start_upload
 
}; 
 
uint16_t datasize
 
uint16_t headersize
 
uint16_t number
 
uint8_t type
 

Detailed Description

Definition at line 4 of file usb.h.

Field Documentation

◆ action

uint32_t action

Definition at line 33 of file usb.h.

◆ actiondata

uint32_t actiondata

Definition at line 34 of file usb.h.

◆ base

uint32_t base

Definition at line 11 of file usb.h.

◆ checksum

uint32_t checksum

Definition at line 18 of file usb.h.

◆ code

uint8_t code

Definition at line 26 of file usb.h.

◆ data_length

uint16_t data_length

Definition at line 17 of file usb.h.

◆ datalen

uint32_t datalen

Definition at line 35 of file usb.h.

◆ datasize

uint16_t datasize

Definition at line 7 of file usb.h.

◆ extra

uint32_t extra

Definition at line 27 of file usb.h.

◆ flags [1/2]

uint32_t flags

Definition at line 12 of file usb.h.

◆ flags [2/2]

uint8_t flags

Definition at line 23 of file usb.h.

◆ header_length

uint8_t header_length

Definition at line 16 of file usb.h.

◆ headersize

uint16_t headersize

Definition at line 6 of file usb.h.

◆ len

uint32_t len

Definition at line 22 of file usb.h.

◆ number

uint16_t number

Definition at line 8 of file usb.h.

◆ size

uint32_t size

Definition at line 13 of file usb.h.

◆ type

uint8_t type

Definition at line 5 of file usb.h.


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