Loading...
Searching...
No Matches
furi_hal_ibutton.h File Reference

iButton HAL API More...

#include <stdbool.h>
#include <stdint.h>

Go to the source code of this file.

Typedefs

typedef void(* FuriHalIbuttonEmulateCallback) (void *context)
 

Functions

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
 

Detailed Description

iButton HAL API

Function Documentation

◆ furi_hal_ibutton_emulate_set_next()

void furi_hal_ibutton_emulate_set_next ( uint32_t period)

Update emulation timer period.

Parameters
periodnew timer period

◆ furi_hal_ibutton_emulate_start()

void furi_hal_ibutton_emulate_start ( uint32_t period,
FuriHalIbuttonEmulateCallback callback,
void * context )

Start emulation timer.

Parameters
periodtimer period
callbacktimer callback
contextcallback context

◆ furi_hal_ibutton_pin_write()

void furi_hal_ibutton_pin_write ( const bool state)

iButton write pin

Parameters
statetrue / false