Home
last modified time | relevance | path

Searched refs:xStatus (Results 1 – 7 of 7) sorted by relevance

/hal_espressif-3.4.0/components/freemodbus/port/
Dportevent.c88 BaseType_t xStatus, xHigherPriorityTaskWoken = pdFALSE; in xMBPortEventPost() local
93 xStatus = xQueueSendFromISR(xQueueHdl, (const void*)&eEvent, &xHigherPriorityTaskWoken); in xMBPortEventPost()
98 if (xStatus != pdTRUE) { in xMBPortEventPost()
99 ESP_EARLY_LOGV(MB_PORT_TAG, "%s: Post message failure = %d.", __func__, xStatus); in xMBPortEventPost()
105 xStatus = xQueueSend(xQueueHdl, (const void*)&eEvent, MB_EVENT_QUEUE_TIMEOUT); in xMBPortEventPost()
106 MB_PORT_CHECK((xStatus == pdTRUE), FALSE, "%s: Post message failure.", __func__); in xMBPortEventPost()
Dportserial.c251 BaseType_t xStatus = xTaskCreatePinnedToCore(vUartTask, "uart_queue_task", in xMBPortSerialInit() local
255 if (xStatus != pdPASS) { in xMBPortSerialInit()
260 xStatus); in xMBPortSerialInit()
Dportserial_m.c247 BaseType_t xStatus = xTaskCreatePinnedToCore(vUartTask, "uart_queue_task", in xMBMasterPortSerialInit() local
251 if (xStatus != pdPASS) { in xMBMasterPortSerialInit()
256 xStatus); in xMBMasterPortSerialInit()
/hal_espressif-3.4.0/components/freemodbus/modbus/rtu/
Dmbrtu.c223 BOOL xStatus = FALSE; in xMBRTUReceiveFSM() local
229 xStatus = xMBPortSerialGetByte( ( CHAR * ) & ucByte ); in xMBRTUReceiveFSM()
268 if ( xStatus ) { in xMBRTUReceiveFSM()
280 return xStatus; in xMBRTUReceiveFSM()
Dmbrtu_m.c232 BOOL xStatus = FALSE; in xMBMasterRTUReceiveFSM() local
238 xStatus = xMBMasterPortSerialGetByte( ( CHAR * ) & ucByte ); in xMBMasterRTUReceiveFSM()
284 if ( xStatus ) { in xMBMasterRTUReceiveFSM()
295 return xStatus; in xMBMasterRTUReceiveFSM()
/hal_espressif-3.4.0/components/freemodbus/tcp_slave/port/
Dport_tcp_slave.c105 BaseType_t xStatus = xQueueReceive(xRespQueueHandle, in vxMBTCPPortRespQueueRecv() local
108 MB_PORT_CHECK((xStatus == pdTRUE), NULL, "Could not get respond confirmation."); in vxMBTCPPortRespQueueRecv()
116 BaseType_t xStatus = xQueueSend(xConfig.xRespQueueHandle, in vxMBTCPPortRespQueueSend() local
119 MB_PORT_CHECK((xStatus == pdTRUE), FALSE, "FAIL to send to response queue."); in vxMBTCPPortRespQueueSend()
/hal_espressif-3.4.0/components/freemodbus/tcp_master/port/
Dport_tcp_master.c501 BaseType_t xStatus = xQueueSend(xMbPortConfig.xConnectQueue, (void*)&xSlaveAddrInfo, 100); in xMBTCPPortMasterAddSlaveIp() local
502 MB_PORT_CHECK((xStatus == pdTRUE), FALSE, "FAIL to add slave IP address: [%s].", pcIpStr); in xMBTCPPortMasterAddSlaveIp()
673 …BaseType_t xStatus = xQueueReceive(xMbPortConfig.xConnectQueue, (void*)&xSlaveAddrInfo, pdMS_TO_TI… in vMBTCPPortMasterTask() local
675 if (xStatus != pdTRUE) { in vMBTCPPortMasterTask()