Select one of the symbols to view example projects that use it.
 
Outline
...
...
...
...
...
...
#define FX_FILE_H
_fx_file_allocate(FX_FILE *, ULONG);
#define _fx_file_allocate
_fx_file_attributes_read(FX_MEDIA *, CHAR *, UINT *);
_fx_file_attributes_set(FX_MEDIA *, CHAR *, UINT);
_fx_file_best_effort_allocate(FX_FILE *, ULONG, ULONG *);
_fx_file_close(FX_FILE *);
_fx_file_create(FX_MEDIA *, CHAR *);
_fx_file_date_time_set(FX_MEDIA *, CHAR *, UINT, UINT, UINT, UINT, UINT, UINT);
_fx_file_delete(FX_MEDIA *, CHAR *);
_fx_file_open(FX_MEDIA *, FX_FILE *, CHAR *, UINT);
_fx_file_read(FX_FILE *, void *, ULONG, ULONG *);
_fx_file_relative_seek(FX_FILE *, ULONG, UINT);
#define _fx_file_relative_seek
_fx_file_rename(FX_MEDIA *, CHAR *, CHAR *);
_fx_file_seek(FX_FILE *, ULONG);
_fx_file_truncate(FX_FILE *, ULONG);
_fx_file_truncate_release(FX_FILE *, ULONG);
#define _fx_file_seek
#define _fx_file_truncate
#define _fx_file_truncate_release
_fx_file_write(FX_FILE *, void *, ULONG);
_fx_file_write_notify_set(FX_FILE *, void (*)(FX_FILE *));
_fx_file_extended_allocate(FX_FILE *, ULONG64);
_fx_file_extended_best_effort_allocate(FX_FILE *, ULONG64, ULONG64 *);
_fx_file_extended_relative_seek(FX_FILE *, ULONG64, UINT);
_fx_file_extended_seek(FX_FILE *, ULONG64);
_fx_file_extended_truncate(FX_FILE *, ULONG64);
_fx_file_extended_truncate_release(FX_FILE *, ULONG64);
_fxe_file_allocate(FX_FILE *, ULONG);
_fxe_file_attributes_read(FX_MEDIA *, CHAR *, UINT *);
_fxe_file_attributes_set(FX_MEDIA *, CHAR *, UINT);
_fxe_file_best_effort_allocate(FX_FILE *, ULONG, ULONG *);
_fxe_file_close(FX_FILE *);
_fxe_file_create(FX_MEDIA *, CHAR *);
_fxe_file_date_time_set(FX_MEDIA *, CHAR *, UINT, UINT, UINT, UINT, UINT, UINT);
_fxe_file_delete(FX_MEDIA *, CHAR *);
_fxe_file_open(FX_MEDIA *, FX_FILE *, CHAR *, UINT, UINT);
_fxe_file_read(FX_FILE *, void *, ULONG, ULONG *);
_fxe_file_relative_seek(FX_FILE *, ULONG, UINT);
_fxe_file_rename(FX_MEDIA *, CHAR *, CHAR *);
_fxe_file_seek(FX_FILE *, ULONG);
_fxe_file_truncate(FX_FILE *, ULONG);
_fxe_file_truncate_release(FX_FILE *, ULONG);
_fxe_file_write(FX_FILE *, void *, ULONG);
_fxe_file_write_notify_set(FX_FILE *, void (*)(FX_FILE *));
_fxe_file_extended_allocate(FX_FILE *, ULONG64);
_fxe_file_extended_best_effort_allocate(FX_FILE *, ULONG64, ULONG64 *);
_fxe_file_extended_relative_seek(FX_FILE *, ULONG64, UINT);
_fxe_file_extended_seek(FX_FILE *, ULONG64);
_fxe_file_extended_truncate(FX_FILE *, ULONG64);
_fxe_file_extended_truncate_release(FX_FILE *, ULONG64);
Files
loading...
CodeScopeSTM32 Libraries and Samplesfilexcommon/inc/fx_file.h
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/**************************************************************************/ /* */ /* Copyright (c) Microsoft Corporation. All rights reserved. */ /* */ /* This software is licensed under the Microsoft Software License */ /* Terms for Microsoft Azure RTOS. Full text of the license can be */ /* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ /* and in the root directory of this software. */ /* */... /**************************************************************************/ ... /**************************************************************************/ /**************************************************************************/ /** */ /** FileX Component */ /** */ /** File */ /** */... /**************************************************************************/ /**************************************************************************/ ... /**************************************************************************/ /* */ /* COMPONENT DEFINITION RELEASE */ /* */ /* fx_file.h PORTABLE C */ /* 6.1 */ /* AUTHOR */ /* */ /* William E. Lamie, Microsoft Corporation */ /* */ /* DESCRIPTION */ /* */ /* This file defines the FileX File component constants, data */ /* definitions, and external references. It is assumed that fx_api.h */ /* (and fx_port.h) have already been included. */ /* */ /* RELEASE HISTORY */ /* */ /* DATE NAME DESCRIPTION */ /* */ /* 05-19-2020 William E. Lamie Initial Version 6.0 */ /* 09-30-2020 William E. Lamie Modified comment(s), and */ /* added conditional to */ /* disable one line function, */ /* resulting in version 6.1 */ /* */... /**************************************************************************/ #ifndef FX_FILE_H #define FX_FILE_H /* Define the external File component function prototypes. */ #ifndef FX_DISABLE_ONE_LINE_FUNCTION UINT _fx_file_allocate(FX_FILE *file_ptr, ULONG size); #else #define _fx_file_allocate(f, s) _fx_file_extended_allocate(f, (ULONG64)s); #endif /* FX_DISABLE_ONE_LINE_FUNCTION */ UINT _fx_file_attributes_read(FX_MEDIA *media_ptr, CHAR *file_name, UINT *attributes_ptr); UINT _fx_file_attributes_set(FX_MEDIA *media_ptr, CHAR *file_name, UINT attributes); UINT _fx_file_best_effort_allocate(FX_FILE *file_ptr, ULONG size, ULONG *actual_size_allocated); UINT _fx_file_close(FX_FILE *file_ptr); UINT _fx_file_create(FX_MEDIA *media_ptr, CHAR *file_name); UINT _fx_file_date_time_set(FX_MEDIA *media_ptr, CHAR *file_name, UINT year, UINT month, UINT day, UINT hour, UINT minute, UINT second); UINT _fx_file_delete(FX_MEDIA *media_ptr, CHAR *file_name); UINT _fx_file_open(FX_MEDIA *media_ptr, FX_FILE *file_ptr, CHAR *file_name, UINT open_type); UINT _fx_file_read(FX_FILE *file_ptr, VOID *buffer_ptr, ULONG request_size, ULONG *actual_size); #ifndef FX_DISABLE_ONE_LINE_FUNCTION UINT _fx_file_relative_seek(FX_FILE *file_ptr, ULONG byte_offset, UINT seek_from); #else #define _fx_file_relative_seek(f, b, sf) _fx_file_extended_relative_seek(f, (ULONG64)b, sf); #endif /* FX_DISABLE_ONE_LINE_FUNCTION */ UINT _fx_file_rename(FX_MEDIA *media_ptr, CHAR *old_file_name, CHAR *new_file_name); #ifndef FX_DISABLE_ONE_LINE_FUNCTION UINT _fx_file_seek(FX_FILE *file_ptr, ULONG byte_offset); UINT _fx_file_truncate(FX_FILE *file_ptr, ULONG size); UINT _fx_file_truncate_release(FX_FILE *file_ptr, ULONG size);/* ... */ #else #define _fx_file_seek(f, b) _fx_file_extended_seek(f, (ULONG64)b) #define _fx_file_truncate(f, s) _fx_file_extended_truncate(f, (ULONG64)s); #define _fx_file_truncate_release(f, s) _fx_file_extended_truncate_release(f, (ULONG64)s); /* ... */#endif /* FX_DISABLE_ONE_LINE_FUNCTION */ UINT _fx_file_write(FX_FILE *file_ptr, VOID *buffer_ptr, ULONG size); UINT _fx_file_write_notify_set(FX_FILE *file_ptr, VOID (*file_write_notify)(FX_FILE *)); UINT _fx_file_extended_allocate(FX_FILE *file_ptr, ULONG64 size); UINT _fx_file_extended_best_effort_allocate(FX_FILE *file_ptr, ULONG64 size, ULONG64 *actual_size_allocated); UINT _fx_file_extended_relative_seek(FX_FILE *file_ptr, ULONG64 byte_offset, UINT seek_from); UINT _fx_file_extended_seek(FX_FILE *file_ptr, ULONG64 byte_offset); UINT _fx_file_extended_truncate(FX_FILE *file_ptr, ULONG64 size); UINT _fx_file_extended_truncate_release(FX_FILE *file_ptr, ULONG64 size); UINT _fxe_file_allocate(FX_FILE *file_ptr, ULONG size); UINT _fxe_file_attributes_read(FX_MEDIA *media_ptr, CHAR *file_name, UINT *attributes_ptr); UINT _fxe_file_attributes_set(FX_MEDIA *media_ptr, CHAR *file_name, UINT attributes); UINT _fxe_file_best_effort_allocate(FX_FILE *file_ptr, ULONG size, ULONG *actual_size_allocated); UINT _fxe_file_close(FX_FILE *file_ptr); UINT _fxe_file_create(FX_MEDIA *media_ptr, CHAR *file_name); UINT _fxe_file_date_time_set(FX_MEDIA *media_ptr, CHAR *file_name, UINT year, UINT month, UINT day, UINT hour, UINT minute, UINT second); UINT _fxe_file_delete(FX_MEDIA *media_ptr, CHAR *file_name); UINT _fxe_file_open(FX_MEDIA *media_ptr, FX_FILE *file_ptr, CHAR *file_name, UINT open_type, UINT file_control_block_size); UINT _fxe_file_read(FX_FILE *file_ptr, VOID *buffer_ptr, ULONG request_size, ULONG *actual_size); UINT _fxe_file_relative_seek(FX_FILE *file_ptr, ULONG byte_offset, UINT seek_from); UINT _fxe_file_rename(FX_MEDIA *media_ptr, CHAR *old_file_name, CHAR *new_file_name); UINT _fxe_file_seek(FX_FILE *file_ptr, ULONG byte_offset); UINT _fxe_file_truncate(FX_FILE *file_ptr, ULONG size); UINT _fxe_file_truncate_release(FX_FILE *file_ptr, ULONG size); UINT _fxe_file_write(FX_FILE *file_ptr, VOID *buffer_ptr, ULONG size); UINT _fxe_file_write_notify_set(FX_FILE *file_ptr, VOID (*file_write_notify)(FX_FILE *)); UINT _fxe_file_extended_allocate(FX_FILE *file_ptr, ULONG64 size); UINT _fxe_file_extended_best_effort_allocate(FX_FILE *file_ptr, ULONG64 size, ULONG64 *actual_size_allocated); UINT _fxe_file_extended_relative_seek(FX_FILE *file_ptr, ULONG64 byte_offset, UINT seek_from); UINT _fxe_file_extended_seek(FX_FILE *file_ptr, ULONG64 byte_offset); UINT _fxe_file_extended_truncate(FX_FILE *file_ptr, ULONG64 size); UINT _fxe_file_extended_truncate_release(FX_FILE *file_ptr, ULONG64 size); /* ... */ #endif...