|
Nexus Embedded Platform 1.0.0
Statically assembled reusable embedded mechanisms
|
Bare-metal poll notification with caller-owned storage. More...
#include "nexus/os/wait.h"Go to the source code of this file.
Data Structures | |
| struct | nx_baremetal_notify_t |
| Explicit nonblocking bare-metal notification storage. More... | |
Functions | |
| nx_result_t | nx_baremetal_notify_init (nx_baremetal_notify_t *notification, uint64_t(*now_us)(void *), void *clock_context) |
| Initialize storage before exposing it to any ISR. | |
| nx_wait_port_t | nx_baremetal_notify_port (nx_baremetal_notify_t *notification) |
| Bind the explicit polling notification. | |
Bare-metal poll notification with caller-owned storage.
Definition in file baremetal.h.
| nx_result_t nx_baremetal_notify_init | ( | nx_baremetal_notify_t * | notification, |
| uint64_t(* | now_us )(void *), | ||
| void * | clock_context ) |
Initialize storage before exposing it to any ISR.
| [out] | notification | Unused caller-owned storage |
| [in] | now_us | Monotonic microsecond source, continuing while waiting |
| [in] | clock_context | Clock source context |
| nx_wait_port_t nx_baremetal_notify_port | ( | nx_baremetal_notify_t * | notification | ) |
Bind the explicit polling notification.
| [in] | notification | Initialized storage |