@web-font-path: "roboto-debian.css";
v2.2.0 (RP2040)
Loading...
Searching...
No Matches
async_context_poll.h
/*
* Copyright (c) 2022 Raspberry Pi (Trading) Ltd.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef _PICO_ASYNC_CONTEXT_POLL_H
#define _PICO_ASYNC_CONTEXT_POLL_H
#include "pico/async_context.h"
#include "pico/sem.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct async_context_poll {
async_context_t core;
semaphore_t sem;
} async_context_poll_t;
bool async_context_poll_init_with_defaults(async_context_poll_t *self);
#ifdef __cplusplus
}
#endif
#endif
async_context.h
async_context_poll_init_with_defaults
bool async_context_poll_init_with_defaults(async_context_poll_t *self)
Initialize an async_context_poll instance with default values.
Definition async_context_poll.c:16
sem.h
async_context_poll
Definition async_context_poll.h:28