mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-30 16:29:12 +00:00
4d6b170769
* Fixing compiler warnings with -Wextra * More warnings suppression, WIP * Even more warning fixes * Added new lines at end of text files. * Padding fix * Additional fixes to warnings on different build configurations; added -Wextra to default build pipeline * Fixes for Secplus v1 * -additional warnings * +-Wredundant-decls fixes * FuriHal: print stack overflow task name in console * FuriHal: add missing include Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
28 lines
721 B
C
28 lines
721 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
|