|
M5Unit-RTC 0.1.0 git rev:26c1349
|
Settings for begin. More...
#include <unit_PCF8563.hpp>
Public Attributes | |
| int16_t | int_pin {-1} |
| GPIO pin connected to PCF8563 INT pin (-1: not connected) | |
| bool | polling {true} |
| true: poll IRQ status via I2C in update(), false: use hardware interrupt via int_pin | |
| pcf8563::ClockOutput | clkout {pcf8563::ClockOutput::None} |
| CLKOUT pin output frequency (default: disabled) | |
| uint32_t | polling_interval {500} |
| Polling interval in milliseconds for IRQ status check in update() | |
| irq_callback_t | on_alarm {nullptr} |
| Callback invoked from update() when alarm fires (nullptr: disabled) | |
| irq_callback_t | on_timer {nullptr} |
| Callback invoked from update() when timer fires (nullptr: disabled) | |
Settings for begin.