Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: HttpServer_snapshot_mbed-os
AlarmTimer Class Reference
A class to communicate a AlarmTimer. More...
#include <AlarmTimer.h>
Static Public Member Functions | |
static bool | set (time_t seconds) |
Set alarm interrupt. | |
static void | attach (Callback< void()> func) |
Attach a function to call when an alarm interrupt occurs. |
Detailed Description
A class to communicate a AlarmTimer.
Definition at line 32 of file AlarmTimer.h.
Member Function Documentation
static void attach | ( | Callback< void()> | func ) | [static] |
Attach a function to call when an alarm interrupt occurs.
- Parameters:
-
func pointer to the function to be called
static bool set | ( | time_t | seconds ) | [static] |
Set alarm interrupt.
- Parameters:
-
seconds Alarm time
- Returns:
- Returns true if the function is successful. Returns false if the function fails.
Generated on Wed Jul 13 2022 05:33:37 by
