COSA
An Object-Oriented Platform for Arduino Programming
|
#include <MCP7940N.hh>
Public Member Functions | |
control_t (uint8_t value=0) | |
Public Attributes | |
uint8_t | as_uint8 |
Unsigned byte access. More... | |
struct { | |
uint8_t sqwfs:2 | |
< Bitfield access. More... | |
uint8_t crstrim:1 | |
Coarse Trim Mode Enable bit. More... | |
uint8_t extosc:1 | |
External Oscillator Input bit. More... | |
uint8_t alm0en:1 | |
Alarm 0 Module Enable. More... | |
uint8_t alm1en:1 | |
Alarm 1 Module Enable. More... | |
uint8_t sqwen:1 | |
Square-Ware Enable. More... | |
uint8_t out:1 | |
Output Control. More... | |
}; | |
The RTCC control register bitfields (pp. 26).
Definition at line 60 of file MCP7940N.hh.
|
inline |
Definition at line 71 of file MCP7940N.hh.
struct { ... } |
uint8_t MCP7940N::control_t::alm0en |
Alarm 0 Module Enable.
Definition at line 66 of file MCP7940N.hh.
uint8_t MCP7940N::control_t::alm1en |
Alarm 1 Module Enable.
Definition at line 67 of file MCP7940N.hh.
uint8_t MCP7940N::control_t::as_uint8 |
Unsigned byte access.
Definition at line 61 of file MCP7940N.hh.
uint8_t MCP7940N::control_t::crstrim |
Coarse Trim Mode Enable bit.
Definition at line 64 of file MCP7940N.hh.
uint8_t MCP7940N::control_t::extosc |
External Oscillator Input bit.
Definition at line 65 of file MCP7940N.hh.
uint8_t MCP7940N::control_t::out |
Output Control.
Definition at line 69 of file MCP7940N.hh.
uint8_t MCP7940N::control_t::sqwen |
Square-Ware Enable.
Definition at line 68 of file MCP7940N.hh.
uint8_t MCP7940N::control_t::sqwfs |