2021-10-03 13:36:05 +03:00
|
|
|
/**
|
|
|
|
* @file furi-hal-vibro.h
|
|
|
|
* Vibro HAL API
|
|
|
|
*/
|
|
|
|
|
2021-03-08 18:48:14 +03:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stdint.h>
|
2021-08-08 21:03:25 +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
|