diff options
author | Karel Kočí <cynerd@email.cz> | 2015-11-11 15:26:01 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2015-11-11 15:26:13 +0100 |
commit | 4e773191d447ac434536262a6f204dd991d4ad77 (patch) | |
tree | fd3e56c5e7478286f21aa1e808999a1a80179a9f /tasks.h | |
parent | 96d4026f492b56ac67779ab8e74ed4c483337ec7 (diff) | |
download | avr-ioe-4e773191d447ac434536262a6f204dd991d4ad77.tar.gz avr-ioe-4e773191d447ac434536262a6f204dd991d4ad77.tar.bz2 avr-ioe-4e773191d447ac434536262a6f204dd991d4ad77.zip |
tmp
Diffstat (limited to 'tasks.h')
-rw-r--r-- | tasks.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -25,6 +25,15 @@ int8_t taskDelayTillT(int8_t *boolean, uin16_t us); void taskDelayTillF(int8_t (*fnc)(void)); void taskDelayTillFT(int8_t (*fnc)(void), uint16_t us); +struct Mutex { +}; +void takeMutex(void); +int8_t takeMutexT(uint16_t timeout); +void giveMutex(void); + +struct Semaphore { +}; + #else /* CONFIG_IOE_TASKS */ #define taskDelay(US) _delay_us(US) |