2021-10-03 10:36:05 +00:00
|
|
|
/**
|
2022-01-05 16:10:18 +00:00
|
|
|
* @file furi_hal_vibro.h
|
2021-10-03 10:36:05 +00:00
|
|
|
* Vibro HAL API
|
|
|
|
*/
|
|
|
|
|
2021-03-08 15:48:14 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stdint.h>
|
2022-01-05 16:10:18 +00:00
|
|
|
#include <furi_hal_resources.h>
|
2021-03-08 15:48:14 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2021-10-03 10:36:05 +00:00
|
|
|
/** Initialize vibro
|
|
|
|
*/
|
2024-03-19 14:43:52 +00:00
|
|
|
void furi_hal_vibro_init(void);
|
2021-03-08 15:48:14 +00:00
|
|
|
|
2021-10-03 10:36:05 +00:00
|
|
|
/** Turn on/off vibro
|
|
|
|
*
|
|
|
|
* @param[in] value new state
|
|
|
|
*/
|
2021-08-08 18:03:25 +00:00
|
|
|
void furi_hal_vibro_on(bool value);
|
2021-03-08 15:48:14 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|