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: 99dae2fe54dcbd9079397eb322761cfcc9c46ba3 (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