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] |

The RDM Binary Coded Decimal (BCD) data structure.

Definition at line 64 of file rdmbcdtypes.h.

uint8_t RDM_BCD_T::data[32+1] |

Fraction

Definition at line 70 of file rdmbcdtypes.h.

int8_t RDM_BCD_T::exp |

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

Definition at line 67 of file rdmbcdtypes.h.

uint8_t RDM_BCD_T::flags |

For internal use only. Should be set to 0

Definition at line 68 of file rdmbcdtypes.h.

uint8_t RDM_BCD_T::prec |

The number of decimals after the desimal point

Definition at line 66 of file rdmbcdtypes.h.

int8_t RDM_BCD_T::sign |

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

Definition at line 69 of file rdmbcdtypes.h.

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