Loading...
Searching...
No Matches
furi_hal_serial_control.h
1#pragma once
2
3#include "furi_hal_serial_types.h"
4
5#ifdef __cplusplus
6extern "C" {
7#endif
8
10void furi_hal_serial_control_init(void);
11
13void furi_hal_serial_control_deinit(void);
14
20void furi_hal_serial_control_suspend(void);
21
27void furi_hal_serial_control_resume(void);
28
35FuriHalSerialHandle* furi_hal_serial_control_acquire(FuriHalSerialId serial_id);
36
41void furi_hal_serial_control_release(FuriHalSerialHandle* handle);
42
49bool furi_hal_serial_control_is_busy(FuriHalSerialId serial_id);
50
58void furi_hal_serial_control_set_logging_config(FuriHalSerialId serial_id, uint32_t baud_rate);
59
65typedef void (*FuriHalSerialControlExpansionCallback)(void* context);
66
76void furi_hal_serial_control_set_expansion_callback(
77 FuriHalSerialId serial_id,
78 FuriHalSerialControlExpansionCallback callback,
79 void* context);
80
81#ifdef __cplusplus
82}
83#endif
Definition furi_hal_serial_types_i.h:5