mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-24 13:52:38 +03: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
28 lines
720 B
C
28 lines
720 B
C
/**
|
|
* @file ibutton_key_command.h
|
|
*
|
|
* List of misc commands for Dallas and blanks
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#define RW1990_1_CMD_WRITE_RECORD_FLAG 0xD1
|
|
#define RW1990_1_CMD_READ_RECORD_FLAG 0xB5
|
|
#define RW1990_1_CMD_WRITE_ROM 0xD5
|
|
|
|
#define RW1990_2_CMD_WRITE_RECORD_FLAG 0x1D
|
|
#define RW1990_2_CMD_READ_RECORD_FLAG 0x1E
|
|
#define RW1990_2_CMD_WRITE_ROM 0xD5
|
|
|
|
#define TM2004_CMD_READ_STATUS 0xAA
|
|
#define TM2004_CMD_READ_MEMORY 0xF0
|
|
#define TM2004_CMD_WRITE_ROM 0x3C
|
|
#define TM2004_CMD_FINALIZATION 0x35
|
|
#define TM2004_ANSWER_READ_MEMORY 0xF5
|
|
|
|
#define TM01_CMD_WRITE_RECORD_FLAG 0xC1
|
|
#define TM01_CMD_WRITE_ROM 0xC5
|
|
#define TM01_CMD_SWITCH_TO_CYFRAL 0xCA
|
|
#define TM01_CMD_SWITCH_TO_METAKOM 0xCB
|
|
|
|
#define DS1990_CMD_READ_ROM 0x33 |