Brody Kellish / ltc2991_lib

Dependents:   ece495_firmware

Fork of ltc2991_test by Logan Rooper

Embed: (wiki syntax)

« Back to documentation index

LT_union_float_4bytes Union Reference

LT_union_float_4bytes Union Reference

This union splits one float into four uint8_t's (8-bit unsigned integers) and vice versa. More...

#include <Linduino.h>

Data Fields

float LT_float
 float to be converted to four bytes
uint8_t LT_byte [4]
 4 bytes (unsigned 8-bit integers) to be converted to a float

Detailed Description

This union splits one float into four uint8_t's (8-bit unsigned integers) and vice versa.

Definition at line 126 of file Linduino.h.


Field Documentation

uint8_t LT_byte[4]

4 bytes (unsigned 8-bit integers) to be converted to a float

Definition at line 129 of file Linduino.h.

float LT_float

float to be converted to four bytes

Definition at line 128 of file Linduino.h.