Wheefun I/O Library  0.0.5
Useful I/O Primitives.
Public Attributes | List of all members
wfio_bcd8_t Union Reference

A type corresponding to a single byte BCD value. More...

#include <bcd.h>

Public Attributes

struct {
   wfio_uint8_t   lo:4
 
   wfio_uint8_t   hi:4
 
digits
 The literal encoding of this wfio_bcd8_t.
 
wfio_uint8_t ui
 The raw 16-bit unsigned integer representation of this number.
 
wfio_sint8_t si
 The raw 16-bit signed integer representation of this number.
 

Detailed Description

A type corresponding to a single byte BCD value.

A value in this domain encodes a value 0-99 in an unsigned context.

Since
0.0.1

Member Data Documentation

◆ hi

wfio_uint8_t wfio_bcd8_t::hi

The high digit of this wfio_bcd8_t

◆ lo

wfio_uint8_t wfio_bcd8_t::lo

The low digit of this wfio_bcd8_t


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