Welcome to mirror list, hosted at ThFree Co, Russian Federation.

furi_hal_vibro.h « furi_hal_include « targets « firmware - github.com/ClusterM/flipperzero-firmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fa5a54c681cd2770ac3cbc8c94f39ab15ec00ef9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/**
 * @file furi_hal_vibro.h
 * Vibro HAL API
 */

#pragma once

#include <stdbool.h>
#include <stdint.h>
#include <furi_hal_resources.h>

#ifdef __cplusplus
extern "C" {
#endif

/** Initialize vibro
 */
void furi_hal_vibro_init();

/** Turn on/off vibro
 *
 * @param[in]  value  new state
 */
void furi_hal_vibro_on(bool value);

#ifdef __cplusplus
}
#endif