X-Git-Url: https://repo.jachan.dev/pico-vscode.git/blobdiff_plain/ef9d40f66adc2d2d2c99d7eed8ef7097eed25d64..HEAD:/web/docs/sem_8h.html diff --git a/web/docs/sem_8h.html b/web/docs/sem_8h.html index 7226d64..1257c32 100644 --- a/web/docs/sem_8h.html +++ b/web/docs/sem_8h.html @@ -6,7 +6,7 @@ - Raspberry Pi Pico SDK: pico_sync/include/pico/sem.h File Reference + Raspberry Pi Pico SDK: include/pico/sem.h File Reference @@ -40,7 +40,7 @@
#include "pico/lock_core.h"
+
+Include dependency graph for sem.h:
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + +

Go to the source code of this file.

@@ -120,37 +165,37 @@ Data Structures
- - + +

Typedefs

-typedef struct __packed_aligned semaphore semaphore_t
 
+typedef struct semaphore semaphore_t
 
- + - + - + - + - + - + - + - + - +

Functions

void sem_init (semaphore_t *sem, int16_t initial_permits, int16_t max_permits)
void sem_init (semaphore_t *sem, int16_t initial_permits, int16_t max_permits)
 Initialise a semaphore structure. More...
 
int sem_available (semaphore_t *sem)
int sem_available (semaphore_t *sem)
 Return number of available permits on the semaphore. More...
 
bool sem_release (semaphore_t *sem)
bool sem_release (semaphore_t *sem)
 Release a permit on a semaphore. More...
 
void sem_reset (semaphore_t *sem, int16_t permits)
void sem_reset (semaphore_t *sem, int16_t permits)
 Reset semaphore to a specific number of available permits. More...
 
void sem_acquire_blocking (semaphore_t *sem)
void sem_acquire_blocking (semaphore_t *sem)
 Acquire a permit from the semaphore. More...
 
bool sem_acquire_timeout_ms (semaphore_t *sem, uint32_t timeout_ms)
bool sem_acquire_timeout_ms (semaphore_t *sem, uint32_t timeout_ms)
 Acquire a permit from a semaphore, with timeout. More...
 
bool sem_acquire_timeout_us (semaphore_t *sem, uint32_t timeout_us)
bool sem_acquire_timeout_us (semaphore_t *sem, uint32_t timeout_us)
 Acquire a permit from a semaphore, with timeout. More...
 
bool sem_acquire_block_until (semaphore_t *sem, absolute_time_t until)
bool sem_acquire_block_until (semaphore_t *sem, absolute_time_t until)
 Wait to acquire a permit from a semaphore until a specific time. More...
 
bool sem_try_acquire (semaphore_t *sem)
bool sem_try_acquire (semaphore_t *sem)
 Attempt to acquire a permit from a semaphore without blocking. More...
 
@@ -159,4 +204,4 @@ Functions - \ No newline at end of file +