Paul's baseline branch
Fork of SDFileSystem by
SDCRC.h@29:3636c9ed935d, 2017-06-01 (annotated)
- Committer:
- WiredHome
- Date:
- Thu Jun 01 11:38:17 2017 +0000
- Revision:
- 29:3636c9ed935d
- Parent:
- 22:3fa5eaf48e81
change an allocation.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
neilt6 | 18:2286a4e7fa31 | 1 | /* SD/MMC File System Library |
neilt6 | 22:3fa5eaf48e81 | 2 | * Copyright (c) 2016 Neil Thiessen |
neilt6 | 18:2286a4e7fa31 | 3 | * |
neilt6 | 18:2286a4e7fa31 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
neilt6 | 18:2286a4e7fa31 | 5 | * you may not use this file except in compliance with the License. |
neilt6 | 18:2286a4e7fa31 | 6 | * You may obtain a copy of the License at |
neilt6 | 18:2286a4e7fa31 | 7 | * |
neilt6 | 18:2286a4e7fa31 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
neilt6 | 18:2286a4e7fa31 | 9 | * |
neilt6 | 18:2286a4e7fa31 | 10 | * Unless required by applicable law or agreed to in writing, software |
neilt6 | 18:2286a4e7fa31 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
neilt6 | 18:2286a4e7fa31 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
neilt6 | 18:2286a4e7fa31 | 13 | * See the License for the specific language governing permissions and |
neilt6 | 18:2286a4e7fa31 | 14 | * limitations under the License. |
neilt6 | 18:2286a4e7fa31 | 15 | */ |
neilt6 | 18:2286a4e7fa31 | 16 | |
neilt6 | 18:2286a4e7fa31 | 17 | #ifndef SD_CRC_H |
neilt6 | 18:2286a4e7fa31 | 18 | #define SD_CRC_H |
neilt6 | 18:2286a4e7fa31 | 19 | |
neilt6 | 18:2286a4e7fa31 | 20 | #include "mbed.h" |
neilt6 | 18:2286a4e7fa31 | 21 | |
neilt6 | 18:2286a4e7fa31 | 22 | namespace SDCRC |
neilt6 | 18:2286a4e7fa31 | 23 | { |
neilt6 | 18:2286a4e7fa31 | 24 | |
neilt6 | 18:2286a4e7fa31 | 25 | char crc7(const char* data, int length); |
neilt6 | 18:2286a4e7fa31 | 26 | unsigned short crc16(const char* data, int length); |
neilt6 | 18:2286a4e7fa31 | 27 | |
neilt6 | 18:2286a4e7fa31 | 28 | } |
neilt6 | 18:2286a4e7fa31 | 29 | |
neilt6 | 18:2286a4e7fa31 | 30 | #endif |