A re-written SDFileSystem library with improved compatibility, CRC support, and card removal/replacement support.

Dependencies:   FATFileSystem

Dependents:   xadow_m0_SD_Hello roam_v1 roam_v2 Polytech_tours ... more

Committer:
neilt6
Date:
Thu Aug 27 21:50:40 2015 +0000
Revision:
18:2286a4e7fa31
Child:
22:3fa5eaf48e81
Updated FATFileSystem and implemented minor improvements

Who changed what in which revision?

UserRevisionLine numberNew contents of line
neilt6 18:2286a4e7fa31 1 /* SD/MMC File System Library
neilt6 18:2286a4e7fa31 2 * Copyright (c) 2015 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