@@ -22,6 +22,7 @@ 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 />
25
26
#### ` 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
27
27
28
Enum to select the file system to use.
@@ -31,6 +32,7 @@ Enum to select the file system to use.
31
32
FS_FAT | FAT file system.
32
33
FS_LITTLEFS | LittleFS file system.
33
34
35
+ <hr />
34
36
#### ` 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
37
36
38
Enum to select the mount mode to use. The default mode is Read/Write.
@@ -40,6 +42,7 @@ Enum to select the mount mode to use. The default mode is Read/Write.
40
42
MNT_DEFAULT | Default mount mode (Read/Write)
41
43
MNT_RDONLY | Read only mode.
42
44
45
+ <hr />
43
46
#### ` 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
47
45
48
Attach a file system to a device.
@@ -53,7 +56,7 @@ Attach a file system to a device.
53
56
54
57
#### Returns
55
58
On success: 0. On failure: -1 with an error code in the errno variable.
56
-
59
+ < hr />
57
60
#### ` 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
61
59
62
Remove the attached file system from a device.
@@ -63,7 +66,7 @@ Remove the attached file system from a device.
63
66
64
67
#### Returns
65
68
On success: 0. On failure: -1 with an error code in the errno variable.
66
-
69
+ < hr />
67
70
#### ` 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
71
69
72
Register a hotplug callback function. Currently only supported for DEV_USB on Portenta C33.
@@ -75,7 +78,7 @@ Register a hotplug callback function. Currently only supported for DEV_USB on Po
75
78
76
79
#### Returns
77
80
On success: 0. On failure: -1 with an error code in the errno variable.
78
-
81
+ < hr />
79
82
#### ` 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
83
81
84
Deregister a previously registered hotplug callback function. Not currently supported on any platform.
@@ -85,7 +88,7 @@ Deregister a previously registered hotplug callback function. Not currently supp
85
88
86
89
#### Returns
87
90
On success: 0. On failure: -1 with an error code in the errno variable.
88
-
91
+ < hr />
89
92
#### ` 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
93
91
94
Format a device (make file system).
@@ -97,3 +100,4 @@ Format a device (make file system).
97
100
98
101
#### Returns
99
102
On success: 0. On failure: -1 with an error code in the errno variable.
103
+ <hr />
0 commit comments