2021-10-03 10:36:05 +00:00
|
|
|
/**
|
|
|
|
* @file furi-hal-ibutton.h
|
|
|
|
* iButton HAL API
|
|
|
|
*/
|
|
|
|
|
2021-08-08 18:03:25 +00:00
|
|
|
#pragma once
|
2021-10-03 10:36:05 +00:00
|
|
|
|
2021-08-08 18:03:25 +00:00
|
|
|
#include <stdbool.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
void furi_hal_ibutton_start();
|
|
|
|
|
|
|
|
void furi_hal_ibutton_stop();
|
|
|
|
|
|
|
|
void furi_hal_ibutton_pin_low();
|
|
|
|
|
|
|
|
void furi_hal_ibutton_pin_high();
|
|
|
|
|
|
|
|
bool furi_hal_ibutton_pin_get_level();
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|