|
enum | board { NONE
, ARDUINO_SHIELD
} |
|
enum | alarm_setting {
SECOND
, MINUTE
, HOUR
, DAY
,
WEEKDAY
} |
|
static uint8_t | bcd2dec (uint8_t v) |
|
static uint8_t | dec2bcd (uint8_t v) |
|
Definition at line 728 of file RTC_NXP.h.
◆ ForFutureExtention()
ForFutureExtention::ForFutureExtention |
( |
| ) |
|
◆ ~ForFutureExtention()
virtual ForFutureExtention::~ForFutureExtention |
( |
| ) |
|
|
virtual |
◆ alarm()
Alarm setting
- Parameters
-
digit | to specify which parameter to set: SECOND, MINUTE, HOUR, DAY, WEEKDAY in 'enum alarm_setting'. Set 0x80 to disabling |
Implements RTC_NXP.
◆ alarm_clear()
void ForFutureExtention::alarm_clear |
( |
void |
| ) |
|
|
virtual |
◆ alarm_disable()
void ForFutureExtention::alarm_disable |
( |
void |
| ) |
|
|
virtual |
Alarm interrupt disable
Implements RTC_NXP.
◆ begin()
void ForFutureExtention::begin |
( |
void |
| ) |
|
|
virtual |
◆ int_clear()
uint8_t ForFutureExtention::int_clear |
( |
void |
| ) |
|
|
virtual |
Interrupt clear
Implements RTC_NXP.
◆ oscillator_stop()
bool ForFutureExtention::oscillator_stop |
( |
void |
| ) |
|
|
virtual |
Detector for oscillation stop
- Returns
- true, if the OSF (Oscillator Stop Flag) is set
Implements RTC_NXP.
◆ rtc_time()
time_t ForFutureExtention::rtc_time |
( |
void |
| ) |
|
|
protectedvirtual |
rtc_time
- Returns
- time_t returns RTC time in time_t format
Implements RTC_NXP.
◆ set()
void ForFutureExtention::set |
( |
struct tm * |
now_tm | ) |
|
|
virtual |
set
- Parameters
-
now_tm | struct to set calendar and time in RTC |
Implements RTC_NXP.
The documentation for this class was generated from the following file: