mirror of
https://github.com/lampmerchant/tashtwenty.git
synced 2024-12-05 14:49:21 +00:00
258 lines
3.3 KiB
PHP
258 lines
3.3 KiB
PHP
;LUT for CRC7 for card commands
|
|
retlw 0x00
|
|
retlw 0x12
|
|
retlw 0x24
|
|
retlw 0x36
|
|
retlw 0x48
|
|
retlw 0x5A
|
|
retlw 0x6C
|
|
retlw 0x7E
|
|
retlw 0x90
|
|
retlw 0x82
|
|
retlw 0xB4
|
|
retlw 0xA6
|
|
retlw 0xD8
|
|
retlw 0xCA
|
|
retlw 0xFC
|
|
retlw 0xEE
|
|
retlw 0x32
|
|
retlw 0x20
|
|
retlw 0x16
|
|
retlw 0x04
|
|
retlw 0x7A
|
|
retlw 0x68
|
|
retlw 0x5E
|
|
retlw 0x4C
|
|
retlw 0xA2
|
|
retlw 0xB0
|
|
retlw 0x86
|
|
retlw 0x94
|
|
retlw 0xEA
|
|
retlw 0xF8
|
|
retlw 0xCE
|
|
retlw 0xDC
|
|
retlw 0x64
|
|
retlw 0x76
|
|
retlw 0x40
|
|
retlw 0x52
|
|
retlw 0x2C
|
|
retlw 0x3E
|
|
retlw 0x08
|
|
retlw 0x1A
|
|
retlw 0xF4
|
|
retlw 0xE6
|
|
retlw 0xD0
|
|
retlw 0xC2
|
|
retlw 0xBC
|
|
retlw 0xAE
|
|
retlw 0x98
|
|
retlw 0x8A
|
|
retlw 0x56
|
|
retlw 0x44
|
|
retlw 0x72
|
|
retlw 0x60
|
|
retlw 0x1E
|
|
retlw 0x0C
|
|
retlw 0x3A
|
|
retlw 0x28
|
|
retlw 0xC6
|
|
retlw 0xD4
|
|
retlw 0xE2
|
|
retlw 0xF0
|
|
retlw 0x8E
|
|
retlw 0x9C
|
|
retlw 0xAA
|
|
retlw 0xB8
|
|
retlw 0xC8
|
|
retlw 0xDA
|
|
retlw 0xEC
|
|
retlw 0xFE
|
|
retlw 0x80
|
|
retlw 0x92
|
|
retlw 0xA4
|
|
retlw 0xB6
|
|
retlw 0x58
|
|
retlw 0x4A
|
|
retlw 0x7C
|
|
retlw 0x6E
|
|
retlw 0x10
|
|
retlw 0x02
|
|
retlw 0x34
|
|
retlw 0x26
|
|
retlw 0xFA
|
|
retlw 0xE8
|
|
retlw 0xDE
|
|
retlw 0xCC
|
|
retlw 0xB2
|
|
retlw 0xA0
|
|
retlw 0x96
|
|
retlw 0x84
|
|
retlw 0x6A
|
|
retlw 0x78
|
|
retlw 0x4E
|
|
retlw 0x5C
|
|
retlw 0x22
|
|
retlw 0x30
|
|
retlw 0x06
|
|
retlw 0x14
|
|
retlw 0xAC
|
|
retlw 0xBE
|
|
retlw 0x88
|
|
retlw 0x9A
|
|
retlw 0xE4
|
|
retlw 0xF6
|
|
retlw 0xC0
|
|
retlw 0xD2
|
|
retlw 0x3C
|
|
retlw 0x2E
|
|
retlw 0x18
|
|
retlw 0x0A
|
|
retlw 0x74
|
|
retlw 0x66
|
|
retlw 0x50
|
|
retlw 0x42
|
|
retlw 0x9E
|
|
retlw 0x8C
|
|
retlw 0xBA
|
|
retlw 0xA8
|
|
retlw 0xD6
|
|
retlw 0xC4
|
|
retlw 0xF2
|
|
retlw 0xE0
|
|
retlw 0x0E
|
|
retlw 0x1C
|
|
retlw 0x2A
|
|
retlw 0x38
|
|
retlw 0x46
|
|
retlw 0x54
|
|
retlw 0x62
|
|
retlw 0x70
|
|
retlw 0x82
|
|
retlw 0x90
|
|
retlw 0xA6
|
|
retlw 0xB4
|
|
retlw 0xCA
|
|
retlw 0xD8
|
|
retlw 0xEE
|
|
retlw 0xFC
|
|
retlw 0x12
|
|
retlw 0x00
|
|
retlw 0x36
|
|
retlw 0x24
|
|
retlw 0x5A
|
|
retlw 0x48
|
|
retlw 0x7E
|
|
retlw 0x6C
|
|
retlw 0xB0
|
|
retlw 0xA2
|
|
retlw 0x94
|
|
retlw 0x86
|
|
retlw 0xF8
|
|
retlw 0xEA
|
|
retlw 0xDC
|
|
retlw 0xCE
|
|
retlw 0x20
|
|
retlw 0x32
|
|
retlw 0x04
|
|
retlw 0x16
|
|
retlw 0x68
|
|
retlw 0x7A
|
|
retlw 0x4C
|
|
retlw 0x5E
|
|
retlw 0xE6
|
|
retlw 0xF4
|
|
retlw 0xC2
|
|
retlw 0xD0
|
|
retlw 0xAE
|
|
retlw 0xBC
|
|
retlw 0x8A
|
|
retlw 0x98
|
|
retlw 0x76
|
|
retlw 0x64
|
|
retlw 0x52
|
|
retlw 0x40
|
|
retlw 0x3E
|
|
retlw 0x2C
|
|
retlw 0x1A
|
|
retlw 0x08
|
|
retlw 0xD4
|
|
retlw 0xC6
|
|
retlw 0xF0
|
|
retlw 0xE2
|
|
retlw 0x9C
|
|
retlw 0x8E
|
|
retlw 0xB8
|
|
retlw 0xAA
|
|
retlw 0x44
|
|
retlw 0x56
|
|
retlw 0x60
|
|
retlw 0x72
|
|
retlw 0x0C
|
|
retlw 0x1E
|
|
retlw 0x28
|
|
retlw 0x3A
|
|
retlw 0x4A
|
|
retlw 0x58
|
|
retlw 0x6E
|
|
retlw 0x7C
|
|
retlw 0x02
|
|
retlw 0x10
|
|
retlw 0x26
|
|
retlw 0x34
|
|
retlw 0xDA
|
|
retlw 0xC8
|
|
retlw 0xFE
|
|
retlw 0xEC
|
|
retlw 0x92
|
|
retlw 0x80
|
|
retlw 0xB6
|
|
retlw 0xA4
|
|
retlw 0x78
|
|
retlw 0x6A
|
|
retlw 0x5C
|
|
retlw 0x4E
|
|
retlw 0x30
|
|
retlw 0x22
|
|
retlw 0x14
|
|
retlw 0x06
|
|
retlw 0xE8
|
|
retlw 0xFA
|
|
retlw 0xCC
|
|
retlw 0xDE
|
|
retlw 0xA0
|
|
retlw 0xB2
|
|
retlw 0x84
|
|
retlw 0x96
|
|
retlw 0x2E
|
|
retlw 0x3C
|
|
retlw 0x0A
|
|
retlw 0x18
|
|
retlw 0x66
|
|
retlw 0x74
|
|
retlw 0x42
|
|
retlw 0x50
|
|
retlw 0xBE
|
|
retlw 0xAC
|
|
retlw 0x9A
|
|
retlw 0x88
|
|
retlw 0xF6
|
|
retlw 0xE4
|
|
retlw 0xD2
|
|
retlw 0xC0
|
|
retlw 0x1C
|
|
retlw 0x0E
|
|
retlw 0x38
|
|
retlw 0x2A
|
|
retlw 0x54
|
|
retlw 0x46
|
|
retlw 0x70
|
|
retlw 0x62
|
|
retlw 0x8C
|
|
retlw 0x9E
|
|
retlw 0xA8
|
|
retlw 0xBA
|
|
retlw 0xC4
|
|
retlw 0xD6
|
|
retlw 0xE0
|
|
retlw 0xF2
|