modm API documentation
modm::gui::AsyncEvent Class Reference

#include <modm/ui/gui/types.hpp>

Public Member Functions

 AsyncEvent (uint16_t delayMilliseconds, genericCallback cb, void *cb_data)
 
bool is_expired ()
 

Detailed Description

Asynchronous Event

is_expired() must be called repeatedly for the callback to get called. It is garantueed that the callback will only be called once.

Author
Daniel Krebs

The documentation for this class was generated from the following file: