Entrega 3er corte - sistemas embebidos

Committer:
Bethory
Date:
Wed May 30 04:46:28 2018 +0000
Revision:
1:fcdb45ee95b9
Parent:
0:6ad07c9019fd
Entrega Final

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Bethory 0:6ad07c9019fd 1 /* mbed Microcontroller Library
Bethory 0:6ad07c9019fd 2 * Copyright (c) 2017 ARM Limited
Bethory 0:6ad07c9019fd 3 *
Bethory 0:6ad07c9019fd 4 * Licensed under the Apache License, Version 2.0 (the "License");
Bethory 0:6ad07c9019fd 5 * you may not use this file except in compliance with the License.
Bethory 0:6ad07c9019fd 6 * You may obtain a copy of the License at
Bethory 0:6ad07c9019fd 7 *
Bethory 0:6ad07c9019fd 8 * http://www.apache.org/licenses/LICENSE-2.0
Bethory 0:6ad07c9019fd 9 *
Bethory 0:6ad07c9019fd 10 * Unless required by applicable law or agreed to in writing, software
Bethory 0:6ad07c9019fd 11 * distributed under the License is distributed on an "AS IS" BASIS,
Bethory 0:6ad07c9019fd 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Bethory 0:6ad07c9019fd 13 * See the License for the specific language governing permissions and
Bethory 0:6ad07c9019fd 14 * limitations under the License.
Bethory 0:6ad07c9019fd 15 */
Bethory 0:6ad07c9019fd 16
Bethory 0:6ad07c9019fd 17 #ifndef TABLE_CRC_H
Bethory 0:6ad07c9019fd 18 #define TABLE_CRC_H
Bethory 0:6ad07c9019fd 19
Bethory 0:6ad07c9019fd 20 #include <stdint.h>
Bethory 0:6ad07c9019fd 21
Bethory 0:6ad07c9019fd 22 namespace mbed {
Bethory 0:6ad07c9019fd 23 /** \addtogroup drivers */
Bethory 0:6ad07c9019fd 24 /** @{*/
Bethory 0:6ad07c9019fd 25
Bethory 0:6ad07c9019fd 26 #define MBED_CRC_TABLE_SIZE 256
Bethory 0:6ad07c9019fd 27
Bethory 0:6ad07c9019fd 28 extern const uint8_t Table_CRC_7Bit_SD[MBED_CRC_TABLE_SIZE];
Bethory 0:6ad07c9019fd 29 extern const uint8_t Table_CRC_8bit_CCITT[MBED_CRC_TABLE_SIZE];
Bethory 0:6ad07c9019fd 30 extern const uint16_t Table_CRC_16bit_CCITT[MBED_CRC_TABLE_SIZE];
Bethory 0:6ad07c9019fd 31 extern const uint16_t Table_CRC_16bit_IBM[MBED_CRC_TABLE_SIZE];
Bethory 0:6ad07c9019fd 32 extern const uint32_t Table_CRC_32bit_ANSI[MBED_CRC_TABLE_SIZE];
Bethory 0:6ad07c9019fd 33
Bethory 0:6ad07c9019fd 34 /** @}*/
Bethory 0:6ad07c9019fd 35 } // namespace mbed
Bethory 0:6ad07c9019fd 36
Bethory 0:6ad07c9019fd 37 #endif