Loading...
Searching...
No Matches
expansion_worker.h
Go to the documentation of this file.
1
11#pragma once
12
13#include <furi_hal_serial_types.h>
14
19
27typedef void (*ExpansionWorkerCallback)(void* context);
28
35ExpansionWorker* expansion_worker_alloc(FuriHalSerialId serial_id);
36
43
59 ExpansionWorker* instance,
61 void* context);
62
69
void expansion_worker_start(ExpansionWorker *instance)
Start the expansion module worker.
Definition expansion_worker.c:403
void expansion_worker_set_callback(ExpansionWorker *instance, ExpansionWorkerCallback callback, void *context)
Set the module disconnect callback.
Definition expansion_worker.c:395
void expansion_worker_free(ExpansionWorker *instance)
Delete an expansion worker instance.
Definition expansion_worker.c:388
void(* ExpansionWorkerCallback)(void *context)
Worker callback type.
Definition expansion_worker.h:27
void expansion_worker_stop(ExpansionWorker *instance)
Stop the expansion module worker.
Definition expansion_worker.c:407
ExpansionWorker * expansion_worker_alloc(FuriHalSerialId serial_id)
Create an expansion worker instance.
Definition expansion_worker.c:374
Definition expansion_worker.c:38