Add description nonblock open flag 65/288665/2 accepted/tizen/unified/20230223.162155
authorTaeminYeom <taemin.yeom@samsung.com>
Tue, 21 Feb 2023 07:48:29 +0000 (16:48 +0900)
committerTaeminYeom <taemin.yeom@samsung.com>
Thu, 23 Feb 2023 00:32:41 +0000 (09:32 +0900)
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 <taemin.yeom@samsung.com>
include/peripheral_io.h

index 1de9bc0..0e5e947 100644 (file)
@@ -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;
 
 /**