Flipper Zero Firmware
Loading...
Searching...
No Matches
expansion.h
Go to the documentation of this file.
1
5#pragma once
6
7#include <furi_hal_serial_types.h>
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
16#define RECORD_EXPANSION "expansion"
17
21typedef struct Expansion Expansion;
22
34void expansion_enable(Expansion* instance);
35
51void expansion_disable(Expansion* instance);
52
69void expansion_set_listen_serial(Expansion* instance, FuriHalSerialId serial_id);
70
71#ifdef __cplusplus
72}
73#endif
void expansion_disable(Expansion *instance)
Disable support for expansion modules.
Definition expansion.c:241
void expansion_set_listen_serial(Expansion *instance, FuriHalSerialId serial_id)
Enable support for expansion modules on designated serial port.
Definition expansion.c:253
void expansion_enable(Expansion *instance)
Enable support for expansion modules.
Definition expansion.c:229
Definition expansion.c:40