Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of ltc2991_test by
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...
#include <Linduino.h>
Data Fields | |
int16_t | LT_int16 |
16-bit signed integer to be converted to two bytes | |
uint16_t | LT_uint16 |
16-bit unsigned integer to be converted to two bytes | |
uint8_t | LT_byte [2] |
2 bytes (unsigned 8-bit integers) to be converted to a 16-bit signed or unsigned integer |
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 100 of file Linduino.h.
Field Documentation
uint8_t LT_byte[2] |
2 bytes (unsigned 8-bit integers) to be converted to a 16-bit signed or unsigned integer
Definition at line 104 of file Linduino.h.
int16_t LT_int16 |
16-bit signed integer to be converted to two bytes
Definition at line 102 of file Linduino.h.
uint16_t LT_uint16 |
16-bit unsigned integer to be converted to two bytes
Definition at line 103 of file Linduino.h.
Generated on Wed Jul 13 2022 18:29:42 by
