東北大学学友会準加盟団体 From The Earth の高高度ロケットFTE-06(通称:海豚)にて使用したソフトウェアです.ご自由にお使いください.このプログラムによって生じた損害について当団体は一切責任を負いません.また,各モジュールのライブラリは当団体が作成したものではないので再配布は禁止します.
Dependencies: mbed FATFileSystem
Fork of FTE-06 by
SDFileSystem/SDCRC.h@22:b2e90f18ea55, 2017-08-14 (annotated)
- Committer:
- mizuki_akaike
- Date:
- Mon Aug 14 04:55:38 2017 +0000
- Revision:
- 22:b2e90f18ea55
im920???????
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mizuki_akaike | 22:b2e90f18ea55 | 1 | /* SD/MMC File System Library |
mizuki_akaike | 22:b2e90f18ea55 | 2 | * Copyright (c) 2016 Neil Thiessen |
mizuki_akaike | 22:b2e90f18ea55 | 3 | * |
mizuki_akaike | 22:b2e90f18ea55 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
mizuki_akaike | 22:b2e90f18ea55 | 5 | * you may not use this file except in compliance with the License. |
mizuki_akaike | 22:b2e90f18ea55 | 6 | * You may obtain a copy of the License at |
mizuki_akaike | 22:b2e90f18ea55 | 7 | * |
mizuki_akaike | 22:b2e90f18ea55 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
mizuki_akaike | 22:b2e90f18ea55 | 9 | * |
mizuki_akaike | 22:b2e90f18ea55 | 10 | * Unless required by applicable law or agreed to in writing, software |
mizuki_akaike | 22:b2e90f18ea55 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
mizuki_akaike | 22:b2e90f18ea55 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
mizuki_akaike | 22:b2e90f18ea55 | 13 | * See the License for the specific language governing permissions and |
mizuki_akaike | 22:b2e90f18ea55 | 14 | * limitations under the License. |
mizuki_akaike | 22:b2e90f18ea55 | 15 | */ |
mizuki_akaike | 22:b2e90f18ea55 | 16 | |
mizuki_akaike | 22:b2e90f18ea55 | 17 | #ifndef SD_CRC_H |
mizuki_akaike | 22:b2e90f18ea55 | 18 | #define SD_CRC_H |
mizuki_akaike | 22:b2e90f18ea55 | 19 | |
mizuki_akaike | 22:b2e90f18ea55 | 20 | #include "mbed.h" |
mizuki_akaike | 22:b2e90f18ea55 | 21 | |
mizuki_akaike | 22:b2e90f18ea55 | 22 | namespace SDCRC |
mizuki_akaike | 22:b2e90f18ea55 | 23 | { |
mizuki_akaike | 22:b2e90f18ea55 | 24 | |
mizuki_akaike | 22:b2e90f18ea55 | 25 | char crc7(const char* data, int length); |
mizuki_akaike | 22:b2e90f18ea55 | 26 | unsigned short crc16(const char* data, int length); |
mizuki_akaike | 22:b2e90f18ea55 | 27 | |
mizuki_akaike | 22:b2e90f18ea55 | 28 | } |
mizuki_akaike | 22:b2e90f18ea55 | 29 | |
mizuki_akaike | 22:b2e90f18ea55 | 30 | #endif |