Home
last modified time | relevance | path

Searched refs:expectSize (Results 1 – 2 of 2) sorted by relevance

/drivers/hdf_core/adapter/platform/uart/
Duart_wm.c116 static int32_t HalUartRecv(uint8_t uartId, uint8_t *data, uint32_t expectSize, in HalUartRecv() argument
121 uint32_t expectLen = expectSize; in HalUartRecv()
126 if (data == NULL || expectSize == 0 || recvSize == NULL) { in HalUartRecv()
135 if (recvedLen >= expectSize) { in HalUartRecv()
Duart_bes.c228 static int32_t HalUartRecv(uint8_t uartId, void *data, uint32_t expectSize, in HalUartRecv() argument
235 int32_t expectLen = (int32_t)expectSize; in HalUartRecv()
251 if (recvedLen >= expectSize) { in HalUartRecv()