common/Hardware/Common.Hardware.SIRT/SIRTConstants.cs
2026-04-23 17:50:07 +02:00

34 lines
964 B
C#

namespace Common.Hardware.SIRT
{
public class SIRTConstants
{
public const byte W_PAM = 0x81;
public const byte R_PAM = 0x82;
public const byte W_REG = 0x84;
public const byte R_REG = 0x87;
public const byte MIN_LEN = 12;
public const byte PC_SIRT = 0x55;
public const byte SIRT_PC = 0xFF;
public const byte MSG_END = 0x16;
public const byte DIR_IX = 0;
public const byte CMD_IX = 1;
public const byte P1_IX = 2;
public const byte P2_IX = 3;
public const byte ADDR_IX = 4;
public const byte LEN_IX = 8;
public const byte DATA_IX = 9;
public const byte ACKN_ANSW = 0x12;
public const byte FROM_AIR = 0x11;
public const byte LAT = 0x01;
public const byte BUP = 0x00;
public const byte DEBUG = 0x0B;
public const byte SEMI = 0x08;
public const byte ENC_KEY_LEN = 16;
}
}