Copie RTK
Copie RTK
Copie RTK
Program Semafor
//Functii RTK
//Laboratorul 2
RTKernelInit(prioritateTaskMain);
//initializare tastatura
RTKeybrdInit();
//creare task now si retinerea lui intr-un handler pentru a putea fi folosit de functii
RTKCreateTask(void *Cod_Task(void), unsigned int Prioritate_Task, unsigned int Stiva_task, char *Nume_Task);
RTKSuspend(TaskHandle Handler_task);
RTKResume(TaskHandle Handler_Task);
//Returnarea dimensiunii stivei intr-o variabila dimensiuneStiva dintr-un task retinut in Handler_Task
//Returnarea starii unui task intr-o variabila Stare_Task dintr-un task retinut in Handler_Task
//Laboratorul 3-4
RTKSetTime(Time Timp_nou);
Time Timp_actual = RTKGetTime();
RTKDelay(Duration Intarziere);
RTKDelayUntil(Time Moment_Impus);
RTKSignal(Semaphore Semaf);
//Laboratorul 5-6
RTKClearMailbox(Mailbox Cutie_Postala);
//Laboratorul 8-9