|
libnile
|
#include <stdbool.h>#include <stdint.h>#include <wonderful.h>#include <ws/cart/rtc.h>#include "nilefs/ff.h"#include "nilefs/diskio.h"Go to the source code of this file.
Macros | |
| #define | NILEFS_CARD_CID_SIZE 16 |
Functions | |
| void | nilefs_eject (void) |
| Eject the currently inserted TF card. | |
| bool | nilefs_read_card_cid (void __far *buff) |
| Read the TF card's CID. | |
| uint32_t | nilefs_read_card_sector_count (void) |
| Read the TF card's size, in 512-byte sectors. | |
| uint32_t | nilefs_convert_rtc_datetime_to_fat (ws_cart_rtc_datetime_t *datetime) |
| Convert an RTC timestamp to a FAT timestamp. | |
The nilefs library provides FAT filesystem access to the removable storage card provided by nileswan.
More information is available in the FatFs documentation, which this library is based on: http://elm-chan.org/fsw/ff/
Definition in file nilefs.h.
| uint32_t nilefs_convert_rtc_datetime_to_fat | ( | ws_cart_rtc_datetime_t * | datetime | ) |
Convert an RTC timestamp to a FAT timestamp.
| datetime | RTC timestamp. |
| void nilefs_eject | ( | void | ) |
Eject the currently inserted TF card.
| bool nilefs_read_card_cid | ( | void __far * | buff | ) |
Read the TF card's CID.
| buff | Pointer to 16-byte memory region. |
| uint32_t nilefs_read_card_sector_count | ( | void | ) |
Read the TF card's size, in 512-byte sectors.