0
1.6kviews
Operation and significance of OSInit(); , OSSemPend(); , OSSemPost(); , OSTaskCreate(); , OSMboxPost(); , OSMboxPend();
1 Answer
written 5.3 years ago by |
(a) OSInit();
This function initialize uCOS - II . It doesn't require any arguments and doesn't return any value.
(b) OSSemPend();
This function is used when a task:
(i) wants exclusive access to a resource.
(ii) synchronize the activities with ISR/task.
(iii) waits for an event to occur.