Line No. | Rev | Author | Line |
---|---|---|---|
1 | 32 | kaklik | /****************************************************************************** |
2 | * |
||
3 | * Microchip Memory Disk Drive File System |
||
4 | * |
||
5 | ****************************************************************************** |
||
6 | * FileName: TEMPLATEFILE.h |
||
7 | * Dependencies: GenericTypeDefs.h |
||
8 | * FSconfig.h |
||
9 | * FSDefs.h |
||
10 | * Processor: PIC18/PIC24/dsPIC30/dsPIC33 |
||
11 | * Compiler: C18/C30 |
||
12 | * Company: Microchip Technology, Inc. |
||
13 | * |
||
14 | * Software License Agreement |
||
15 | * |
||
16 | * The software supplied herewith by Microchip Technology Incorporated |
||
17 | * (the Company) for its PICmicro® Microcontroller is intended and |
||
18 | * supplied to you, the Companys customer, for use solely and |
||
19 | * exclusively on Microchip PICmicro Microcontroller products. The |
||
20 | * software is owned by the Company and/or its supplier, and is |
||
21 | * protected under applicable copyright laws. All rights are reserved. |
||
22 | * Any use in violation of the foregoing restrictions may subject the |
||
23 | * user to criminal sanctions under applicable laws, as well as to |
||
24 | * civil liability for the breach of the terms and conditions of this |
||
25 | * license. |
||
26 | * |
||
27 | * THIS SOFTWARE IS PROVIDED IN AN AS IS CONDITION. NO WARRANTIES, |
||
28 | * WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED |
||
29 | * TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A |
||
30 | * PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE COMPANY SHALL NOT, |
||
31 | * IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR |
||
32 | * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER. |
||
33 | * |
||
34 | *****************************************************************************/ |
||
35 | |||
36 | |||
37 | /*************************************************************************/ |
||
38 | /* Note: This file is included as a template of a header file for */ |
||
39 | /* a new physical layer. It is designed to go with */ |
||
40 | /* "FS Phys Interface Template.c" */ |
||
41 | /*************************************************************************/ |
||
42 | |||
43 | //DOM-IGNORE-BEGIN |
||
44 | /******************************************************************** |
||
45 | Change History: |
||
46 | Rev Description |
||
47 | ---- ----------------------- |
||
48 | 1.2.4 - 1.2.6 No Change |
||
49 | ********************************************************************/ |
||
50 | //DOM-IGNORE-END |
||
51 | |||
52 | #include "GenericTypeDefs.h" |
||
53 | #include "FSconfig.h" |
||
54 | #include "FSDefs.h" |
||
55 | |||
56 | #define FALSE 0 |
||
57 | #define TRUE !FALSE |
||
58 | |||
59 | /****************************************************************/ |
||
60 | /* YOUR CODE HERE */ |
||
61 | /* Add any defines here */ |
||
62 | /****************************************************************/ |
||
63 | |||
64 | #define INITIALIZATION_VALUE 0x55 |
||
65 | |||
66 | |||
67 | /***************************************************************/ |
||
68 | /* END OF YOUR CODE */ |
||
69 | /***************************************************************/ |
||
70 | |||
71 | |||
72 | BYTE MDD_TEMPLATE_InitIO(void); |
||
73 | BYTE MDD_TEMPLATE_MediaDetect(void); |
||
74 | MEDIA_INFORMATION * MDD_TEMPLATE_MediaInitialize(void); |
||
75 | BYTE MDD_TEMPLATE_SectorRead(DWORD sector_addr, BYTE* buffer); |
||
76 | BYTE MDD_TEMPLATE_SectorWrite(DWORD sector_addr, BYTE* buffer, BYTE allowWriteToZero); |
||
77 | extern BYTE gDataBuffer[]; |
||
78 | extern BYTE gFATBuffer[]; |
||
79 | extern DISK gDiskData; |
||
80 | |||
81 | |||
82 | /****************************************************************/ |
||
83 | /* YOUR CODE HERE */ |
||
84 | /* Add prototypes for any custom functions here */ |
||
85 | /****************************************************************/ |
||
86 | |||
87 | |||
88 | /***************************************************************/ |
||
89 | /* END OF YOUR CODE */ |
||
90 | /***************************************************************/ |
||
91 | |||
92 |
Powered by WebSVN v2.8.3