MXC-A36-Demo/MCU/components/drivers/peripheral/drv_common/drv_common_errno.h

22 lines
857 B
C
Raw Normal View History

#ifndef FR_COMMON_ERRNO_H
#define FR_COMMON_ERRNO_H
#define FR_EPERM 1 // operation not permitted
#define FR_EIO 5 // I/O error
#define FR_ENXIO 6 // no such device or address
#define FR_ENOMEM 12 // out of memory
#define FR_EACCES 13 // permission denied
#define FR_EBUSY 16 // device or resource busy
#define FR_ENODEV 19 // no such device
#define FR_EINVAL 22 // invalid argument
#define FR_ENOSPC 28 // no space left on device
#define FR_ENOSYS 38 // function not implemented/supported
#define FR_ECHRNG 44 // channel number out of range
#define FR_ENODATA 61 // no data available
#define FR_ETIME 62 // timer expired
#define FR_EPROTO 71 // protocol error
#endif // FR_COMMON_ERRNO_H