Knight KE
/
Game_Master
游戏王对战板,目前code还是空的
mbed-os/drivers/TableCRC.h@0:9b3d4731edbb, 2018-06-21 (annotated)
- Committer:
- WFKnight
- Date:
- Thu Jun 21 13:51:43 2018 +0000
- Revision:
- 0:9b3d4731edbb
UART, RTOS, LED
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
WFKnight | 0:9b3d4731edbb | 1 | /* mbed Microcontroller Library |
WFKnight | 0:9b3d4731edbb | 2 | * Copyright (c) 2017 ARM Limited |
WFKnight | 0:9b3d4731edbb | 3 | * |
WFKnight | 0:9b3d4731edbb | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
WFKnight | 0:9b3d4731edbb | 5 | * you may not use this file except in compliance with the License. |
WFKnight | 0:9b3d4731edbb | 6 | * You may obtain a copy of the License at |
WFKnight | 0:9b3d4731edbb | 7 | * |
WFKnight | 0:9b3d4731edbb | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
WFKnight | 0:9b3d4731edbb | 9 | * |
WFKnight | 0:9b3d4731edbb | 10 | * Unless required by applicable law or agreed to in writing, software |
WFKnight | 0:9b3d4731edbb | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
WFKnight | 0:9b3d4731edbb | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
WFKnight | 0:9b3d4731edbb | 13 | * See the License for the specific language governing permissions and |
WFKnight | 0:9b3d4731edbb | 14 | * limitations under the License. |
WFKnight | 0:9b3d4731edbb | 15 | */ |
WFKnight | 0:9b3d4731edbb | 16 | |
WFKnight | 0:9b3d4731edbb | 17 | #ifndef TABLE_CRC_H |
WFKnight | 0:9b3d4731edbb | 18 | #define TABLE_CRC_H |
WFKnight | 0:9b3d4731edbb | 19 | |
WFKnight | 0:9b3d4731edbb | 20 | #include <stdint.h> |
WFKnight | 0:9b3d4731edbb | 21 | |
WFKnight | 0:9b3d4731edbb | 22 | namespace mbed { |
WFKnight | 0:9b3d4731edbb | 23 | /** \addtogroup drivers */ |
WFKnight | 0:9b3d4731edbb | 24 | /** @{*/ |
WFKnight | 0:9b3d4731edbb | 25 | |
WFKnight | 0:9b3d4731edbb | 26 | #define MBED_CRC_TABLE_SIZE 256 |
WFKnight | 0:9b3d4731edbb | 27 | |
WFKnight | 0:9b3d4731edbb | 28 | extern const uint8_t Table_CRC_7Bit_SD[MBED_CRC_TABLE_SIZE]; |
WFKnight | 0:9b3d4731edbb | 29 | extern const uint8_t Table_CRC_8bit_CCITT[MBED_CRC_TABLE_SIZE]; |
WFKnight | 0:9b3d4731edbb | 30 | extern const uint16_t Table_CRC_16bit_CCITT[MBED_CRC_TABLE_SIZE]; |
WFKnight | 0:9b3d4731edbb | 31 | extern const uint16_t Table_CRC_16bit_IBM[MBED_CRC_TABLE_SIZE]; |
WFKnight | 0:9b3d4731edbb | 32 | extern const uint32_t Table_CRC_32bit_ANSI[MBED_CRC_TABLE_SIZE]; |
WFKnight | 0:9b3d4731edbb | 33 | |
WFKnight | 0:9b3d4731edbb | 34 | /** @}*/ |
WFKnight | 0:9b3d4731edbb | 35 | } // namespace mbed |
WFKnight | 0:9b3d4731edbb | 36 | |
WFKnight | 0:9b3d4731edbb | 37 | #endif |