Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
CRC16.h@0:2a6d8a096edc, 2014-07-29 (annotated)
- Committer:
- neilt6
- Date:
- Tue Jul 29 20:12:23 2014 +0000
- Revision:
- 0:2a6d8a096edc
Initial commit
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 CRC16_H |
| neilt6 | 0:2a6d8a096edc | 18 | #define CRC16_H |
| neilt6 | 0:2a6d8a096edc | 19 | |
| neilt6 | 0:2a6d8a096edc | 20 | #include "mbed.h" |
| neilt6 | 0:2a6d8a096edc | 21 | |
| neilt6 | 0:2a6d8a096edc | 22 | unsigned short CRC16(const char* data, int length); |
| neilt6 | 0:2a6d8a096edc | 23 | |
| neilt6 | 0:2a6d8a096edc | 24 | #endif |