Nordic stack and drivers for the mbed BLE API

Dependents:   idd_hw5_bleFanProto

Fork of nRF51822 by Nordic Semiconductor

Embed: (wiki syntax)

« Back to documentation index

sfloat_t Struct Reference

sfloat_t Struct Reference
[Glucose Service]

SFLOAT format (IEEE-11073 16-bit FLOAT, meaning 4 bits for exponent (base 10) and 12 bits mantissa) More...

#include <ble_gls.h>

Data Fields

int8_t exponent
 Base 10 exponent, should be using only 4 bits.
int16_t mantissa
 Mantissa, should be using only 12 bits.

Detailed Description

SFLOAT format (IEEE-11073 16-bit FLOAT, meaning 4 bits for exponent (base 10) and 12 bits mantissa)

Definition at line 141 of file ble_gls.h.


Field Documentation

int8_t exponent

Base 10 exponent, should be using only 4 bits.

Definition at line 143 of file ble_gls.h.

int16_t mantissa

Mantissa, should be using only 12 bits.

Definition at line 144 of file ble_gls.h.