nRF Connect SDK API 0.1.0
|
int sd_card_close | ( | struct fs_file_t * | f_seg_read_entry | ) |
Close the file opened by the sd_card_segment_read_open function.
[in,out] | f_seg_read_entry | Pointer to a file object. After call to this function, the pointer is reset and can be used for another file. |
0 | on success. |
-EPERM | SD card operation is not ongoing. |
-EBUSY | Segment read operation has not started. |
Otherwise,error | from underlying drivers. |