Sonochan II 0.1

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- Data Structures
- Data Structure Index
- Data Fields

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
GD_DATA_VALUE Union Reference

For different data types is used union. More...

`#include <generic_driver.h>`

## Data Fields
char | data_char
int | data_int
int8_t | data_int8
int16_t | data_int16
int32_t | data_int32
uint | data_uint
uint8_t | data_uint8
uint16_t | data_uint16
uint32_t | data_uint32
float | data_float

## Detailed Description

For different data types is used union.

Because simply protocol do not know what data will receive, there is
4 bytes "space" to save value. Depend on programmer which data type will
use.

Note
  Big endian issue is corrected "on the fly".

## Field Documentation

char GD_DATA_VALUE::data_char

float GD_DATA_VALUE::data_float

int GD_DATA_VALUE::data_int

int16_t GD_DATA_VALUE::data_int16

int32_t GD_DATA_VALUE::data_int32

int8_t GD_DATA_VALUE::data_int8

uint GD_DATA_VALUE::data_uint

uint16_t GD_DATA_VALUE::data_uint16

uint32_t GD_DATA_VALUE::data_uint32

uint8_t GD_DATA_VALUE::data_uint8

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

- /mnt/data/GENTOO_FILES/home/k1ll3r/Dokumenty/Diplomka/Sonochan_II/FW_sdr_widget/sdr-widget/src/generic_driver.h