FreeRTOS - Design Patterns for RTOS
Which of the following is the correct FreeRTOS API call for a producer task to send data to a queue?
void producerTask(void *params) {
int data = 10;
// Send data to queue here
}Which of the following is the correct FreeRTOS API call for a producer task to send data to a queue?
void producerTask(void *params) {
int data = 10;
// Send data to queue here
}xQueueSend() to send data from a producer to a queue.xQueueReceive() is for receiving data, xTaskCreate() creates tasks, and vTaskDelay() delays tasks, so they are incorrect here.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions