COSA
An Object-Oriented Platform for Arduino Programming
MCP7940N::rtcc_t Struct Reference

#include <MCP7940N.hh>

Collaboration diagram for MCP7940N::rtcc_t:
Collaboration graph

Public Attributes

time_t clock
 Current time. More...
 
control_t control
 Device control register. More...
 
int8_t calibration
 Time calibration (in clock cycles). More...
 
uint8_t reserved1
 Reserved - do not use. More...
 
alarm_t alarm0
 Alarm 0 setting (time/configuration). More...
 
uint8_t reserved2
 Reserved - do not use. More...
 
alarm_t alarm1
 Alarm 1 setting (time/configuration). More...
 
uint8_t reserved3
 Reserved - do not use. More...
 
timestamp_t vcc_failed
 Timestamp when Vcc fails. More...
 
timestamp_t vcc_restored
 Timestamp when Vcc restored. More...
 

Detailed Description

The RTCC Memory Map (Table 4-1. pp. 9).

Definition at line 183 of file MCP7940N.hh.

Member Data Documentation

alarm_t MCP7940N::rtcc_t::alarm0

Alarm 0 setting (time/configuration).

Definition at line 188 of file MCP7940N.hh.

alarm_t MCP7940N::rtcc_t::alarm1

Alarm 1 setting (time/configuration).

Definition at line 190 of file MCP7940N.hh.

int8_t MCP7940N::rtcc_t::calibration

Time calibration (in clock cycles).

Definition at line 186 of file MCP7940N.hh.

time_t MCP7940N::rtcc_t::clock

Current time.

Definition at line 184 of file MCP7940N.hh.

control_t MCP7940N::rtcc_t::control

Device control register.

Definition at line 185 of file MCP7940N.hh.

uint8_t MCP7940N::rtcc_t::reserved1

Reserved - do not use.

Definition at line 187 of file MCP7940N.hh.

uint8_t MCP7940N::rtcc_t::reserved2

Reserved - do not use.

Definition at line 189 of file MCP7940N.hh.

uint8_t MCP7940N::rtcc_t::reserved3

Reserved - do not use.

Definition at line 191 of file MCP7940N.hh.

timestamp_t MCP7940N::rtcc_t::vcc_failed

Timestamp when Vcc fails.

Definition at line 192 of file MCP7940N.hh.

timestamp_t MCP7940N::rtcc_t::vcc_restored

Timestamp when Vcc restored.

Definition at line 193 of file MCP7940N.hh.


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