uart: Add nonblocking IO and assorted functions 14/286314/3
authorKarol Lewandowski <k.lewandowsk@samsung.com>
Mon, 2 Jan 2023 16:23:55 +0000 (17:23 +0100)
committerMichal Bloch <m.bloch@samsung.com>
Mon, 13 Feb 2023 11:49:58 +0000 (12:49 +0100)
commite14fc739d7de7a6592fc76051b302910d8169b4b
treefa6bfcc7424947ef81de42b23365b6abfca4578f
parent9cd66279d5e3f088ece7de2226a9cb6b44f892c0
uart: Add nonblocking IO and assorted functions

This commits extends UART API with following:

 * additional nonblocking variants of the peripheral_open_flags_e for use
   in peripheral_open_with_flags():
   - PERIPHERAL_OPEN_FLAGS_PRIVATE_NONBLOCK
   - PERIPHERAL_OPEN_FLAGS_SHARED_NONBLOCK

 * peripheral_uart_drain() and peripheral_uart_flush() API functions

Change-Id: I4fe45ff8a2115e954244affe16818aa5b9710e47
include/peripheral_io.h
packaging/capi-system-peripheral-io.spec
src/common.h
src/peripheral_uart.c