Hi, i am using atmel studio 6 with Freertos v7 for my custom board which contains AT32uc3a0512. In my project i want synchronization between tasks for that i should block a task by taking unavailable binary semaphore then isr should release that same semaphore this is common for this concept.
I have doubt in creating binary semaphore with unavailable state in freertos, is this possible or it always created with available state.
volatile xSemaphoreHandle sem_PDCA = NULL; vSemaphoreCreateBinary(sem_PDCA);
Above crates available state of semaphore because it did not block the task after starting task it continues the execution, please anyone tell me hoe to create empty state of semaphore.