COSA
An Object-Oriented Platform for Arduino Programming
|
#include <DS3231.hh>
Public Types | |
enum | { ONCE_PER_SEC = 0x0f, WHEN_SEC_MATCH = 0x0e, WHEN_MIN_SEC_MATCH = 0x0c, WHEN_TIME_MATCH = 0x08, WHEN_DATE_TIME_MATCH = 0x00, WHEN_DAY_TIME_MATCH = 0x10 } |
Public Member Functions | |
void | to_binary () |
void | to_bcd () |
Public Attributes | |
uint8_t | seconds |
uint8_t | minutes |
uint8_t | hours |
union { | |
uint8_t day | |
uint8_t date | |
}; | |
Alarm1 register sub-set type and mask bits (Table 2, pp. 12).
anonymous enum |
|
inline |
|
inline |
union { ... } |