nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ sd_card_close()

int sd_card_close ( struct fs_file_t *  f_seg_read_entry)

Close the file opened by the sd_card_segment_read_open function.

Parameters
[in,out]f_seg_read_entryPointer to a file object. After call to this function, the pointer is reset and can be used for another file.
Return values
0on success.
-EPERMSD card operation is not ongoing.
-EBUSYSegment read operation has not started.
Otherwise,errorfrom underlying drivers.