zephyr/modules/fatfs/zfs_diskio.h
Daniel DeGrasse 7981ea0056 fs: fat_fs: make IOCTL call to de-initialize disk in fatfs_unmount()
Make call to de-initialize disk in fatfs_unmount(). This will permit the
disk to be reinitialized when it is mounted with fatfs_mount().

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-06-07 18:16:01 +01:00

22 lines
526 B
C

/*
* Copyright 2024 NXP
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_MODULES_FATFS_ZFS_DISKIO_H_
#define ZEPHYR_MODULES_FATFS_ZFS_DISKIO_H_
/*
* Header file for Zephyr specific portions of the FatFS disk interface.
* These APIs are internal to Zephyr's FatFS VFS implementation
*/
/*
* Values that can be passed to buffer pointer used by disk_ioctl() when
* sending CTRL_POWER IOCTL
*/
#define DISK_IOCTL_POWER_OFF 0x0
#define DISK_IOCTL_POWER_ON 0x1
#endif /* ZEPHYR_MODULES_FATFS_ZFS_DISKIO_H_ */