@@ -22,6 +22,8 @@ Enum to select the storage device to use.
22
22
DEV_SDCARD | SD Card.
23
23
DEV_USB | USB Thumb Drive.
24
24
25
+ <hr />
26
+
25
27
#### ` enum ` [ ` FileSystems ` ] ( #_arduino___p_o_s_i_x_storage_8h_1ac01996562b852a6b36ad87908429ad35 ) <a id =" _arduino___p_o_s_i_x_storage_8h_1ac01996562b852a6b36ad87908429ad35 " class =" anchor " ></a >
26
28
27
29
Enum to select the file system to use.
@@ -31,6 +33,8 @@ Enum to select the file system to use.
31
33
FS_FAT | FAT file system.
32
34
FS_LITTLEFS | LittleFS file system.
33
35
36
+ <hr />
37
+
34
38
#### ` enum ` [ ` MountFlags ` ] ( #_arduino___p_o_s_i_x_storage_8h_1a069889b849809b552adf0513c6db2b85 ) <a id =" _arduino___p_o_s_i_x_storage_8h_1a069889b849809b552adf0513c6db2b85 " class =" anchor " ></a >
35
39
36
40
Enum to select the mount mode to use. The default mode is Read/Write.
@@ -40,6 +44,8 @@ Enum to select the mount mode to use. The default mode is Read/Write.
40
44
MNT_DEFAULT | Default mount mode (Read/Write)
41
45
MNT_RDONLY | Read only mode.
42
46
47
+ <hr />
48
+
43
49
#### ` public int ` [ ` mount ` ] ( #_arduino___p_o_s_i_x_storage_8h_1a22178afb74ae05ab1dcf8c50eb4a9d1f ) ` (const enum ` [ ` StorageDevices ` ] ( #_arduino___p_o_s_i_x_storage_8h_1a97a26676f4f644e3db23bb63b9227546 ) ` deviceName, const enum ` [ ` FileSystems ` ] ( #_arduino___p_o_s_i_x_storage_8h_1ac01996562b852a6b36ad87908429ad35 ) ` fileSystem, const enum ` [ ` MountFlags ` ] ( #_arduino___p_o_s_i_x_storage_8h_1a069889b849809b552adf0513c6db2b85 ) ` mountFlags) ` <a id =" _arduino___p_o_s_i_x_storage_8h_1a22178afb74ae05ab1dcf8c50eb4a9d1f " class =" anchor " ></a >
44
50
45
51
Attach a file system to a device.
@@ -53,6 +59,7 @@ Attach a file system to a device.
53
59
54
60
#### Returns
55
61
On success: 0. On failure: -1 with an error code in the errno variable.
62
+ <hr />
56
63
57
64
#### ` public int ` [ ` umount ` ] ( #_arduino___p_o_s_i_x_storage_8h_1a57b5f0c881dedaf55fe1b9c5fa59e1f8 ) ` (const enum ` [ ` StorageDevices ` ] ( #_arduino___p_o_s_i_x_storage_8h_1a97a26676f4f644e3db23bb63b9227546 ) ` deviceName) ` <a id =" _arduino___p_o_s_i_x_storage_8h_1a57b5f0c881dedaf55fe1b9c5fa59e1f8 " class =" anchor " ></a >
58
65
@@ -63,6 +70,7 @@ Remove the attached file system from a device.
63
70
64
71
#### Returns
65
72
On success: 0. On failure: -1 with an error code in the errno variable.
73
+ <hr />
66
74
67
75
#### ` public int ` [ ` register_hotplug_callback ` ] ( #_arduino___p_o_s_i_x_storage_8h_1a1a914f0970d317b6a74bef4368cbcae8 ) ` (const enum ` [ ` StorageDevices ` ] ( #_arduino___p_o_s_i_x_storage_8h_1a97a26676f4f644e3db23bb63b9227546 ) ` deviceName, void(*)() callbackFunction) ` <a id =" _arduino___p_o_s_i_x_storage_8h_1a1a914f0970d317b6a74bef4368cbcae8 " class =" anchor " ></a >
68
76
@@ -75,6 +83,7 @@ Register a hotplug callback function. Currently only supported for DEV_USB on Po
75
83
76
84
#### Returns
77
85
On success: 0. On failure: -1 with an error code in the errno variable.
86
+ <hr />
78
87
79
88
#### ` public int ` [ ` deregister_hotplug_callback ` ] ( #_arduino___p_o_s_i_x_storage_8h_1ae80d0ace82aad5ef4a130953290efbd7 ) ` (const enum ` [ ` StorageDevices ` ] ( #_arduino___p_o_s_i_x_storage_8h_1a97a26676f4f644e3db23bb63b9227546 ) ` deviceName) ` <a id =" _arduino___p_o_s_i_x_storage_8h_1ae80d0ace82aad5ef4a130953290efbd7 " class =" anchor " ></a >
80
89
@@ -85,6 +94,7 @@ Deregister a previously registered hotplug callback function. Not currently supp
85
94
86
95
#### Returns
87
96
On success: 0. On failure: -1 with an error code in the errno variable.
97
+ <hr />
88
98
89
99
#### ` public int ` [ ` mkfs ` ] ( #_arduino___p_o_s_i_x_storage_8h_1a834ae6d0e65c5b47f9d8932f7ad0c499 ) ` (const enum ` [ ` StorageDevices ` ] ( #_arduino___p_o_s_i_x_storage_8h_1a97a26676f4f644e3db23bb63b9227546 ) ` deviceName, const enum ` [ ` FileSystems ` ] ( #_arduino___p_o_s_i_x_storage_8h_1ac01996562b852a6b36ad87908429ad35 ) ` fileSystem) ` <a id =" _arduino___p_o_s_i_x_storage_8h_1a834ae6d0e65c5b47f9d8932f7ad0c499 " class =" anchor " ></a >
90
100
@@ -97,3 +107,4 @@ Format a device (make file system).
97
107
98
108
#### Returns
99
109
On success: 0. On failure: -1 with an error code in the errno variable.
110
+ <hr />
0 commit comments