Linduino  1.3.0
Linear Technology Arduino-Compatible Demonstration Board
LT_union_int16_2bytes Union Reference

This union splits one int16_t (16-bit signed integer) or uint16_t (16-bit unsigned integer) into two uint8_t's (8-bit unsigned integers) and vice versa. More...

Detailed Description

This union splits one int16_t (16-bit signed integer) or uint16_t (16-bit unsigned integer) into two uint8_t's (8-bit unsigned integers) and vice versa.

Definition at line 99 of file Linduino.h.

Data Fields

int16_t LT_int16
 16-bit signed integer to be converted to two bytes More...
 
uint16_t LT_uint16
 16-bit unsigned integer to be converted to two bytes More...
 
uint8_t LT_byte [2]
 2 bytes (unsigned 8-bit integers) to be converted to a 16-bit signed or unsigned integer More...
 

Field Documentation

◆ LT_byte

uint8_t LT_union_int16_2bytes::LT_byte[2]

2 bytes (unsigned 8-bit integers) to be converted to a 16-bit signed or unsigned integer

Definition at line 103 of file Linduino.h.

◆ LT_int16

int16_t LT_union_int16_2bytes::LT_int16

16-bit signed integer to be converted to two bytes

Definition at line 101 of file Linduino.h.

◆ LT_uint16

uint16_t LT_union_int16_2bytes::LT_uint16

16-bit unsigned integer to be converted to two bytes

Definition at line 102 of file Linduino.h.


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