From: TaeminYeom Date: Tue, 21 Feb 2023 07:48:29 +0000 (+0900) Subject: Add description nonblock open flag X-Git-Tag: accepted/tizen/unified/20230223.162155^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=36023733fefaebac87c463439750151c7234766a;p=platform%2Fcore%2Fapi%2Fperipheral-io.git Add description nonblock open flag PERIPHERAL_OPEN_FLAGS_NONBLOCK is availble for only uart open. So, to prevent to use it in i2c open, add description. Change-Id: I7614a2b9ea1c96dd84069d75a29bb4d5e064d5d4 Signed-off-by: TaeminYeom --- diff --git a/include/peripheral_io.h b/include/peripheral_io.h index 1de9bc0..0e5e947 100644 --- a/include/peripheral_io.h +++ b/include/peripheral_io.h @@ -354,7 +354,8 @@ EXPORT_API int peripheral_i2c_open(int bus, int address, peripheral_i2c_h *i2c); typedef enum { PERIPHERAL_OPEN_FLAGS_PRIVATE = 0, /**< Exclusive access to device */ PERIPHERAL_OPEN_FLAGS_SHARED = 1, /**< Shared access to device */ - PERIPHERAL_OPEN_FLAGS_NONBLOCK = 2, /**< (Since 7.5) Nonblocking read/write flag */ + PERIPHERAL_OPEN_FLAGS_NONBLOCK = 2, /**< Nonblocking read/write flag, + available for only uart (Since 7.5) */ } peripheral_open_flags_e; /**