COSA
An Object-Oriented Platform for Arduino Programming
MCP7940N::alarm_t::config_t Union Reference

#include <MCP7940N.hh>

Collaboration diagram for MCP7940N::alarm_t::config_t:
Collaboration graph

Public Member Functions

 config_t (uint8_t value=0)
 

Public Attributes

uint8_t as_uint8
 < Day, alarm configuration and status. More...
 
struct {
   uint8_t   day:3
 < Bitfield access. More...
 
   uint8_t   triggered:1
 Alarm Interrupt Flag. More...
 
   uint8_t   when:3
 Alarm Match. More...
 
   uint8_t   polarity:1
 Alarm Pin (MFP) Polarity. More...
 
}; 
 

Detailed Description

Alarm configuration/status register (part of day value, pp. 11)

Definition at line 121 of file MCP7940N.hh.

Constructor & Destructor Documentation

MCP7940N::alarm_t::config_t::config_t ( uint8_t  value = 0)
inline

Definition at line 129 of file MCP7940N.hh.

Member Data Documentation

struct { ... }
uint8_t MCP7940N::alarm_t::config_t::as_uint8

< Day, alarm configuration and status.

Unsigned byte access.

Definition at line 122 of file MCP7940N.hh.

uint8_t MCP7940N::alarm_t::config_t::day

< Bitfield access.

Day in BCD (1-7).

Definition at line 124 of file MCP7940N.hh.

uint8_t MCP7940N::alarm_t::config_t::polarity

Alarm Pin (MFP) Polarity.

Definition at line 127 of file MCP7940N.hh.

uint8_t MCP7940N::alarm_t::config_t::triggered

Alarm Interrupt Flag.

Definition at line 125 of file MCP7940N.hh.

uint8_t MCP7940N::alarm_t::config_t::when

Alarm Match.

Definition at line 126 of file MCP7940N.hh.


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