2021-10-03 13:36:05 +03:00
|
|
|
/**
|
|
|
|
* @file furi-hal-ibutton.h
|
|
|
|
* iButton HAL API
|
|
|
|
*/
|
|
|
|
|
2021-08-08 21:03:25 +03:00
|
|
|
#pragma once
|
2021-10-03 13:36:05 +03:00
|
|
|
|
2021-08-08 21:03:25 +03: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
|