File System. More...

Go to the source code of this file.
Data Structures | |
| struct | _fsFILE |
| struct | REGIS |
| struct | UNIT |
Macros | |
| #define | FSMARK 0xDADA |
| #define | BOOTSECTOR 0x0000 |
| #define | FSFM_OFF 0x0000 |
| Format mark. More... | |
| #define | FSDT_OFF 0x0002 |
| date time More... | |
| #define | FSTZ_OFF 0x000A |
| Time zone. More... | |
| #define | FSDN_OFF 0x000E |
| Device number. More... | |
| #define | FSOK 0 |
| #define | FSNOSPACE 1 |
| #define | FSINVALID 2 |
| #define | FSNOTFOUND 3 |
| #define | FSNOCHIP 4 |
| #define | FSEOF 5 |
| #define | FSAPPEND 1 |
| #define | FSRW 0 |
| #define | FSEXIST 2 |
| #define | FSSET 0 |
| #define | FSCUR 1 |
| #define | FSEND 2 |
| #define | REGSPA 1 |
| #define | DEFMAXREGIS (REGSPA+500) |
| #define | UNITSPA (DEFMAXREGIS) |
| #define | DEFMAXUNIT (UNITSPA+11) |
| #define | BADPAGE 0xAA |
| #define | REGCRL_OFF 258 |
| #define | UNICRL_OFF 261 |
| #define | U_ENABLE 0x80 |
| #define | U_DISABLE 0x00 |
| #define | DBREGIS 1 |
| #define | DBUNIT 2 |
Typedefs | |
| typedef _fsFILE * | fsFILE |
Functions | |
| BYTE | FS_Init (void) |
| void | FS_Format (void) |
| BYTE | FS_Open (BYTE file) |
| BYTE | FS_Close (BYTE file) |
| BYTE | FS_AppendRegis (REGIS *data) |
| BYTE | FS_AppendUnit (UNIT *data) |
| void | FS_ZapRegis (void) |
| BYTE | FS_ReadRegis (REGIS *data) |
| BYTE | FS_WriteUnit (UNIT *data) |
| BYTE | FS_ReadUnit (UNIT *data) |
| void | FS_SetBoot (WORD Offset, BYTE *data, BYTE size) |
| void | FS_GetBoot (WORD Offset, BYTE *data, BYTE size) |
| void | FS_Check (void) |
| void | FS_Length (BYTE file, WORD *p) |
| void | FS_WaitReady (void) |
Variables | |
| bank3 WORD | gRcp |
| bank3 WORD | gRnor |
| bank3 WORD | gRcb |
| bank3 WORD | gUcp |
| bank3 WORD | gUnor |
| bank3 WORD | gUcb |
Detailed Description
File System.
This file is part of JADEKU Portable ADQ device for Routines Control.
Copyright (C) 2006-2009, Hernan Monserrat hemonserrat<at>gmail<dot>com
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file fs.h.
Macro Definition Documentation
◆ BADPAGE
◆ BOOTSECTOR
| #define BOOTSECTOR 0x0000 |
◆ DBREGIS
◆ DBUNIT
◆ DEFMAXREGIS
◆ DEFMAXUNIT
◆ FSAPPEND
◆ FSCUR
◆ FSDN_OFF
◆ FSDT_OFF
◆ FSEND
◆ FSEOF
◆ FSEXIST
◆ FSFM_OFF
◆ FSINVALID
◆ FSMARK
◆ FSNOCHIP
◆ FSNOSPACE
◆ FSNOTFOUND
◆ FSOK
◆ FSRW
◆ FSSET
◆ FSTZ_OFF
◆ REGCRL_OFF
◆ REGSPA
◆ U_DISABLE
◆ U_ENABLE
◆ UNICRL_OFF
◆ UNITSPA
| #define UNITSPA (DEFMAXREGIS) |
Typedef Documentation
◆ fsFILE
Function Documentation
◆ FS_AppendRegis()
◆ FS_AppendUnit()
◆ FS_Check()
| void FS_Check | ( | void | ) |
◆ FS_Close()
◆ FS_Format()
| void FS_Format | ( | void | ) |
◆ FS_GetBoot()
◆ FS_Init()
| BYTE FS_Init | ( | void | ) |
◆ FS_Length()
◆ FS_Open()
◆ FS_ReadRegis()
◆ FS_ReadUnit()
◆ FS_SetBoot()
◆ FS_WaitReady()
| void FS_WaitReady | ( | void | ) |
◆ FS_WriteUnit()
◆ FS_ZapRegis()
| void FS_ZapRegis | ( | void | ) |





























1.8.14