mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-30 16:29:12 +00:00
bdba15b366
* iButton: getting started on the worker concept * Hal delay: added global instructions_per_us variable * iButton: one wire slave * iButton: ibutton key setter * iButton: one wire host, use ibutton_hal * iButton\RFID: common pulse decoder concept * iButton: cyfral decoder * iButton: worker thread concept * iButton: metakom decoder * iButton: write key through worker * iButton: worker mode holder * iButton: worker improvements * iButton: Cyfral encoder * iButton: Metakom encoder * lib: pulse protocol helpers * iButton: Metakom decoder * iButton: Cyfral decoder * iButton worker: separate modes * iButton: libs documentation * HAL: iButton gpio modes * iButton worker: rename modes file * iButton worker, hal: move to LL * iButton CLI: worker for reading and emulation commands * iButton HAL: correct init and emulation sequence * iButton cli: moved to plain C * iButton: move to worker, small step to plain C * Libs, one wire: move to plain C * Libs: added forgotten files to compilation * iButton writer: get rid of manual disable/enable irq
30 lines
753 B
C
30 lines
753 B
C
/**
|
|
* @file one_wire_host_timing.h
|
|
*
|
|
* 1-Wire library, timing list
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#define OWH_TIMING_A 9
|
|
#define OWH_TIMING_B 64
|
|
#define OWH_TIMING_C 64
|
|
#define OWH_TIMING_D 14
|
|
#define OWH_TIMING_E 9
|
|
#define OWH_TIMING_F 55
|
|
#define OWH_TIMING_G 0
|
|
#define OWH_TIMING_H 480
|
|
#define OWH_TIMING_I 70
|
|
#define OWH_TIMING_J 410
|
|
|
|
#define OWH_WRITE_1_DRIVE OWH_TIMING_A
|
|
#define OWH_WRITE_1_RELEASE OWH_TIMING_B
|
|
#define OWH_WRITE_0_DRIVE OWH_TIMING_C
|
|
#define OWH_WRITE_0_RELEASE OWH_TIMING_D
|
|
#define OWH_READ_DRIVE 3
|
|
#define OWH_READ_RELEASE OWH_TIMING_E
|
|
#define OWH_READ_DELAY_POST OWH_TIMING_F
|
|
#define OWH_RESET_DELAY_PRE OWH_TIMING_G
|
|
#define OWH_RESET_DRIVE OWH_TIMING_H
|
|
#define OWH_RESET_RELEASE OWH_TIMING_I
|
|
#define OWH_RESET_DELAY_POST OWH_TIMING_J
|