ESOS32
ESOSOn32-bitProcessors
Todo List
File esos_cb.h
Reconcile circular buffer routines to be used in tasks and ISRs!
Global ESOS_SEMAPHORE (semaphoreName)

Make sure semaphores are safe in ISRs. Probably need to make semaphore storage and associated macros volatile

Global ESOS_TASK_WAIT_ON_TASKS_MAILBOX_HAS_ROOM_MESSAGE (pstTask, pstMsg)
BRAIN-DEAD implementation. needs to properly parse the message header and computer the data payload size. A bit harder than it first appears
Global ESOS_TASK_WAIT_ON_WRITE1I2C (u8_addr, u8_d1)
Should this be deprecated? #define ESOS_TASK_WAIT_ON_GETI2C( pu8_get, u8_ack2Send ) \ ESOS_TASK_SPAWN_AND_WAIT( (ESOS_TASK_HANDLE)&__stGrandChildTaskI2C, __esos_hw_getI2C, (pu8_get), (u8_ack2Send) )
Global ESOS_TASK_WAIT_THREAD (pfnChild,...)
I THINK THIS SHOULD BE REWRITTEN TO USE THE ESOS TASK STATE VARIABLES INSTEAD OF A CALL TO ESOS_SCHEDULE_TASK. DOESN'T WORK FOR BOTH PARENT AND CHILD TASKS AS WRITTEN!