COSA
An Object-Oriented Platform for Arduino Programming
PCF8563::alarm_t Struct Reference

#include <PCF8563.hh>

Collaboration diagram for PCF8563::alarm_t:
Collaboration graph

Public Member Functions

 alarm_t ()
 

Public Attributes

uint8_t minutes
 00-59 Minutes (BCD). More...
 
uint8_t hours
 00-23 Hours (BCD). More...
 
uint8_t date
 01-31 Date (BCD). More...
 
uint8_t day
 00-06 Day (BCD). More...
 

Static Public Attributes

static const uint8_t DISABLE = 0x80
 

Detailed Description

The Alarm setting (pp. 13-14).

Definition at line 63 of file PCF8563.hh.

Constructor & Destructor Documentation

PCF8563::alarm_t::alarm_t ( )
inline

Default constructor will disable all alarm fields. Assign BCD value(s) to enable alarm field(s).

Definition at line 76 of file PCF8563.hh.

Member Data Documentation

uint8_t PCF8563::alarm_t::date

01-31 Date (BCD).

Definition at line 66 of file PCF8563.hh.

uint8_t PCF8563::alarm_t::day

00-06 Day (BCD).

Definition at line 67 of file PCF8563.hh.

const uint8_t PCF8563::alarm_t::DISABLE = 0x80
static

Disable alarm match value.

Definition at line 70 of file PCF8563.hh.

uint8_t PCF8563::alarm_t::hours

00-23 Hours (BCD).

Definition at line 65 of file PCF8563.hh.

uint8_t PCF8563::alarm_t::minutes

00-59 Minutes (BCD).

Definition at line 64 of file PCF8563.hh.


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