FreeRTOS API Queue

Started by tha, December 23, 2021, 06:14:24 AM

Previous topic - Next topic

tha

https://www.freertos.org/pcQueueGetName.html

pcQueueGetName
[Queue Management]

queue.h

const char *pcQueueGetName( QueueHandle_t xQueue )

ค้นหา a queue name จาก the queue's handle.

A queue จะมีเฉพาะ a name ถ้ามันถูกเพิ่มไปยัง the queue registry.

Parameters:

     xQueue          The handle of the queue ที่กำลังถูกสอบถาม.

Returns:

     ถ้า the queue ที่อ้างอิงโดย xQueue อยู่ใน the queue registry, ดังนั้น the text name of the queue จะถูกส่งคืนกลับ, ถ้าเป็น
     อย่างอื่น NULL จะถูกส่งคืนกลับ.