4180 Hover Vehicle Project / Mbed 2 deprecated hoverboad_project

Dependencies:   mbed wave_player Servo 4DGL-uLCD-SE LSM9DS1_Library_cal HC_SR04_Ultrasonic_Library

Committer:
msafwan3
Date:
Wed Apr 29 22:42:25 2020 +0000
Revision:
3:bf0c46975248
Parent:
0:808403b99108
removed rtos

Who changed what in which revision?

UserRevisionLine numberNew contents of line
msafwan3 0:808403b99108 1 /* mbed Microcontroller Library
msafwan3 0:808403b99108 2 * Copyright (c) 2006-2012 ARM Limited
msafwan3 0:808403b99108 3 *
msafwan3 0:808403b99108 4 * Permission is hereby granted, free of charge, to any person obtaining a copy
msafwan3 0:808403b99108 5 * of this software and associated documentation files (the "Software"), to deal
msafwan3 0:808403b99108 6 * in the Software without restriction, including without limitation the rights
msafwan3 0:808403b99108 7 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
msafwan3 0:808403b99108 8 * copies of the Software, and to permit persons to whom the Software is
msafwan3 0:808403b99108 9 * furnished to do so, subject to the following conditions:
msafwan3 0:808403b99108 10 *
msafwan3 0:808403b99108 11 * The above copyright notice and this permission notice shall be included in
msafwan3 0:808403b99108 12 * all copies or substantial portions of the Software.
msafwan3 0:808403b99108 13 *
msafwan3 0:808403b99108 14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
msafwan3 0:808403b99108 15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
msafwan3 0:808403b99108 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
msafwan3 0:808403b99108 17 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
msafwan3 0:808403b99108 18 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
msafwan3 0:808403b99108 19 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
msafwan3 0:808403b99108 20 * SOFTWARE.
msafwan3 0:808403b99108 21 */
msafwan3 0:808403b99108 22 #ifndef MBED_FATDIRHANDLE_H
msafwan3 0:808403b99108 23 #define MBED_FATDIRHANDLE_H
msafwan3 0:808403b99108 24
msafwan3 0:808403b99108 25 #include "DirHandle.h"
msafwan3 0:808403b99108 26
msafwan3 0:808403b99108 27 using namespace mbed;
msafwan3 0:808403b99108 28
msafwan3 0:808403b99108 29 class FATDirHandle : public DirHandle {
msafwan3 0:808403b99108 30
msafwan3 0:808403b99108 31 public:
msafwan3 0:808403b99108 32 FATDirHandle(const FATFS_DIR &the_dir);
msafwan3 0:808403b99108 33 virtual int closedir();
msafwan3 0:808403b99108 34 virtual struct dirent *readdir();
msafwan3 0:808403b99108 35 virtual void rewinddir();
msafwan3 0:808403b99108 36 virtual off_t telldir();
msafwan3 0:808403b99108 37 virtual void seekdir(off_t location);
msafwan3 0:808403b99108 38
msafwan3 0:808403b99108 39 private:
msafwan3 0:808403b99108 40 FATFS_DIR dir;
msafwan3 0:808403b99108 41 struct dirent cur_entry;
msafwan3 0:808403b99108 42
msafwan3 0:808403b99108 43 };
msafwan3 0:808403b99108 44
msafwan3 0:808403b99108 45 #endif