A re-written SDFileSystem library with improved compatibility, CRC support, and card removal/replacement support.
Fork of SDFileSystem by
CRC7.h@6:55a26a56046a, 2014-08-01 (annotated)
- Committer:
- neilt6
- Date:
- Fri Aug 01 14:45:21 2014 +0000
- Revision:
- 6:55a26a56046a
- Parent:
- 0:2a6d8a096edc
Added the option to disable CRC, and enable 16-bit frames for data read/write operations
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
neilt6 | 0:2a6d8a096edc | 1 | /* SD/MMC File System Library |
neilt6 | 0:2a6d8a096edc | 2 | * Copyright (c) 2014 Neil Thiessen |
neilt6 | 0:2a6d8a096edc | 3 | * |
neilt6 | 0:2a6d8a096edc | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
neilt6 | 0:2a6d8a096edc | 5 | * you may not use this file except in compliance with the License. |
neilt6 | 0:2a6d8a096edc | 6 | * You may obtain a copy of the License at |
neilt6 | 0:2a6d8a096edc | 7 | * |
neilt6 | 0:2a6d8a096edc | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
neilt6 | 0:2a6d8a096edc | 9 | * |
neilt6 | 0:2a6d8a096edc | 10 | * Unless required by applicable law or agreed to in writing, software |
neilt6 | 0:2a6d8a096edc | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
neilt6 | 0:2a6d8a096edc | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
neilt6 | 0:2a6d8a096edc | 13 | * See the License for the specific language governing permissions and |
neilt6 | 0:2a6d8a096edc | 14 | * limitations under the License. |
neilt6 | 0:2a6d8a096edc | 15 | */ |
neilt6 | 0:2a6d8a096edc | 16 | |
neilt6 | 0:2a6d8a096edc | 17 | #ifndef CRC7_H |
neilt6 | 0:2a6d8a096edc | 18 | #define CRC7_H |
neilt6 | 0:2a6d8a096edc | 19 | |
neilt6 | 0:2a6d8a096edc | 20 | #include "mbed.h" |
neilt6 | 0:2a6d8a096edc | 21 | |
neilt6 | 0:2a6d8a096edc | 22 | char CRC7(const char* data, int length); |
neilt6 | 0:2a6d8a096edc | 23 | |
neilt6 | 0:2a6d8a096edc | 24 | #endif |