iButton HAL API
More...
#include <stdbool.h>
#include <stdint.h>
Go to the source code of this file.
|
typedef void(* | FuriHalIbuttonEmulateCallback) (void *context) |
|
|
void | furi_hal_ibutton_init (void) |
| Initialize.
|
|
void | furi_hal_ibutton_emulate_start (uint32_t period, FuriHalIbuttonEmulateCallback callback, void *context) |
| Start emulation timer.
|
|
void | furi_hal_ibutton_emulate_set_next (uint32_t period) |
| Update emulation timer period.
|
|
void | furi_hal_ibutton_emulate_stop (void) |
| Stop emulation timer.
|
|
void | furi_hal_ibutton_pin_configure (void) |
| Set the pin to normal mode (open collector), and sets it to float.
|
|
void | furi_hal_ibutton_pin_reset (void) |
| Sets the pin to analog mode, and sets it to float.
|
|
void | furi_hal_ibutton_pin_write (const bool state) |
| iButton write pin
|
|
◆ furi_hal_ibutton_emulate_set_next()
void furi_hal_ibutton_emulate_set_next |
( |
uint32_t | period | ) |
|
Update emulation timer period.
- Parameters
-
◆ furi_hal_ibutton_emulate_start()
void furi_hal_ibutton_emulate_start |
( |
uint32_t | period, |
|
|
FuriHalIbuttonEmulateCallback | callback, |
|
|
void * | context ) |
Start emulation timer.
- Parameters
-
period | timer period |
callback | timer callback |
context | callback context |
◆ furi_hal_ibutton_pin_write()
void furi_hal_ibutton_pin_write |
( |
const bool | state | ) |
|
iButton write pin
- Parameters
-