en-us_commands:reference:irtcalarmenabled
This is an old revision of the document!
Table of Contents
IrtcAlarmEnabled()
IrtcAlarmEnabled() checks whether the specified alarm is enabled.
bool IrtcAlarmEnabled(uint8_t alarm, bool& enabled)
Commands
| Command | Arguments | Return Value | Operation |
|---|---|---|---|
IrtcAlarmEnabled(alarm, enabled) | uint8_t alarmbool& enabled | bool | Checks whether the specified alarm is enabled. |
Example
bool IrtcAlarmEnable(uint8_t alarm, bool enable = true); bool IrtcAlarmEnabled(uint8_t alarm, bool& enabled); bool IrtcAlarmTriggered(uint8_t alarm, bool& triggered, bool clear = true);
Precautions
Run each device's corresponding Begin command first. Check I²C addresses and pin sharing; if the bool return value is false, inspect wiring and power.
en-us_commands/reference/irtcalarmenabled.1788785567.txt.gz · Last modified: by 127.0.0.1
