X-Git-Url: http://sigrok.org/gitweb/?p=libsigrok.git;a=blobdiff_plain;f=src%2Fhardware%2Fsysclk-lwla%2Flwla.h;h=bf5318d1e64d4c7c7cd21d0ea5a89f43d2121aa4;hp=35e33f79ef8a8cf48069559cfb26925467f9abd5;hb=ca314e060f653e6a0b5ec0f58914bac4d426217f;hpb=c8e789fa0c7264f8356b0446367cc1252fadfe4c diff --git a/src/hardware/sysclk-lwla/lwla.h b/src/hardware/sysclk-lwla/lwla.h index 35e33f79..bf5318d1 100644 --- a/src/hardware/sysclk-lwla/lwla.h +++ b/src/hardware/sysclk-lwla/lwla.h @@ -69,8 +69,7 @@ struct sr_usb_dev_inst; */ #define PACKET_SIZE (5000 * 4 * 5) -/** LWLA protocol command ID codes. - */ +/** LWLA protocol command ID codes. */ enum command_id { CMD_READ_REG = 1, CMD_WRITE_REG = 2, @@ -89,22 +88,19 @@ enum status_flag { STATUS_MEM_AVAIL = 1 << 6, }; -/** LWLA1034 run-length encoding states. - */ +/** LWLA1034 run-length encoding states. */ enum rle_state { RLE_STATE_DATA, RLE_STATE_LEN }; -/** Register address/value pair. - */ +/** Register address/value pair. */ struct regval { unsigned int reg; uint32_t val; }; -/** LWLA sample acquisition and decompression state. - */ +/** LWLA sample acquisition and decompression state. */ struct acquisition_state { uint64_t samples_max; /* maximum number of samples to process */ uint64_t samples_done; /* number of samples sent to the session bus */