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