function test USBMSD(as external strage for PC USB) and USBSerial. Switching between USBMSD and USBSerial(Not work simultaneously)
see /users/kenjiArai/notebook/usb-interface--usbhost-and-usbdevice/
FatFs_Mon/mon.h@1:7a568319eeb7, 2020-04-30 (annotated)
- Committer:
- kenjiArai
- Date:
- Thu Apr 30 23:43:35 2020 +0000
- Revision:
- 1:7a568319eeb7
function test USBMSD(as external strage for PC USB) and USBSerial
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
kenjiArai | 1:7a568319eeb7 | 1 | /* |
kenjiArai | 1:7a568319eeb7 | 2 | * mbed Application program for the mbed |
kenjiArai | 1:7a568319eeb7 | 3 | * FatFs Check program /monitor part |
kenjiArai | 1:7a568319eeb7 | 4 | * |
kenjiArai | 1:7a568319eeb7 | 5 | * Copyright (c) 2015,'18,'19,'20 Kenji Arai / JH1PJL |
kenjiArai | 1:7a568319eeb7 | 6 | * http://www.page.sannet.ne.jp/kenjia/index.html |
kenjiArai | 1:7a568319eeb7 | 7 | * https://os.mbed.com/users/kenjiArai/ |
kenjiArai | 1:7a568319eeb7 | 8 | * Created: May 5th, 2015 |
kenjiArai | 1:7a568319eeb7 | 9 | * Revised: June 14th, 2015 |
kenjiArai | 1:7a568319eeb7 | 10 | * Revised: April 29th, 2020 |
kenjiArai | 1:7a568319eeb7 | 11 | */ |
kenjiArai | 1:7a568319eeb7 | 12 | |
kenjiArai | 1:7a568319eeb7 | 13 | // Function prototypes -------------------------------------------------------- |
kenjiArai | 1:7a568319eeb7 | 14 | void mon(void); |
kenjiArai | 1:7a568319eeb7 | 15 | uint32_t get_disk_freespace(void); |
kenjiArai | 1:7a568319eeb7 | 16 | uint32_t get_data_file_size(const char *const file_name); |