?? fat16_config.h
字號:
/* * Copyright (c) 2006-2007 by Roland Riegel <feedback@roland-riegel.de> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */#include "fsdefs.h"#ifndef FAT16_CONFIG_H#define FAT16_CONFIG_G/** * \addtogroup fat16 * * @{ *//** * \file * FAT16 configuration. *//** * \ingroup fat16_config * Controls FAT16 write support. * * Set to 1 to enable FAT16 write support, set to 0 to disable it. */#define FAT16_WRITE_SUPPORT 1/** * \ingroup fat16_config * Controls FAT16 date and time support. * * Set to 1 to enable FAT16 date and time stamping support. */#define FAT16_DATETIME_SUPPORT 0/** * \ingroup fat16_config * Determines the function used for retrieving current date and time. * * Define this to the function call which shall be used to retrieve * current date and time. * * \note Used only when FAT16_DATETIME_SUPPORT is 1. * * \param[out] year Pointer to a \c uint16_t which receives the current year. * \param[out] month Pointer to a \c uint8_t which receives the current month. * \param[out] day Pointer to a \c uint8_t which receives the current day. * \param[out] hour Pointer to a \c uint8_t which receives the current hour. * \param[out] min Pointer to a \c uint8_t which receives the current minute. * \param[out] sec Pointer to a \c uint8_t which receives the current sec. */#define fat16_get_datetime(year, month, day, hour, min, sec) \ get_datetime(year, month, day, hour, min, sec)/* forward declaration for the above */void get_datetime(uint16_t* year, uint8_t* month, uint8_t* day, uint8_t* hour, uint8_t* min, uint8_t* sec);/** * \ingroup fat16_config * Maximum number of filesystem handles. */#define FAT16_FS_COUNT 1/** * \ingroup fat16_config * Maximum number of file handles. */#define FAT16_FILE_COUNT 1/** * \ingroup fat16_config * Maximum number of directory handles. */#define FAT16_DIR_COUNT 2/** * @} */#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -