RDM_BCD_T Struct Reference

The RDM Binary Coded Decimal (BCD) data structure. More...

#include "rdmbcdtypes.h"

Data Fields

uint8_t prec
 
int8_t exp
 
uint8_t flags
 
int8_t sign
 
uint8_t data [32+1]
 

Detailed Description

The RDM Binary Coded Decimal (BCD) data structure.

Examples
c-core/18_core/core18Example_main.c.

Field Documentation

◆ data

uint8_t RDM_BCD_T::data[32+1]

Fraction

◆ exp

int8_t RDM_BCD_T::exp

The exponent in base 10 that the fraction should be adjusted with

◆ flags

uint8_t RDM_BCD_T::flags

For internal use only. Should be set to 0

◆ prec

uint8_t RDM_BCD_T::prec

The number of decimals after the desimal point

◆ sign

int8_t RDM_BCD_T::sign

The sign were 1 indicate a positive numbers and -1 a negative numbers


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