libknx
Public Member Functions | Public Attributes | Friends | List of all members
knx::dpt_19::data Class Reference

Data container for this dpt. More...

#include <dpt_types.hpp>

Public Member Functions

bool operator== (const data &other)
 Compare.
 
 data ()
 Set to zero.
 

Public Attributes

struct {
   unsigned int   year: 8
 Add 1900 to get real year.
 
   unsigned int   res0: 4
 do not use
 
   unsigned int   month: 4
 January is 1, February 2, ...
 
   unsigned int   res1: 3
 do not use
 
   unsigned int   day_of_month: 5
 From 1st to 31st day.
 
   unsigned int   day_of_week: 3
 Monday is 1, Tuesday is 2, ..
 
   unsigned int   hour_of_day: 5
 As usual.
 
   unsigned int   res2: 2
 do not use
 
   unsigned int   minutes: 6
 Minutes till 59.
 
   unsigned int   res3: 2
 do not use
 
   unsigned int   seconds: 6
 Seconds till 59.
 
   unsigned int   f: 1
 Fault with 1 is true.
 
   unsigned int   wd: 1
 Set to 1 if it is a working day.
 
   unsigned int   nwd: 1
 Indicates if wd field is valid. 1 means not valid.
 
   unsigned int   ny: 1
 Set to one if year is not valid.
 
   unsigned int   nd: 1
 Set to one if day and month are not valid.
 
   unsigned int   ndow: 1
 Set to one if day of week is not valid.
 
   unsigned int   nt: 1
 Set to one if time is not valid.
 
   unsigned int   suti: 1
 Summer time field. Add one hour if set to one.
 
   unsigned int   clq: 1
 Quality of clock. 1 says with external signal.
 
   unsigned int   res4: 7
 do not use
 
storage
 Data storage.
 

Friends

KNX_IMPORT_EXPORT friend std::ostream & operator<< (std::ostream &os, const data &data)
 Output formatting.
 

Detailed Description

Data container for this dpt.


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