This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | ssem_post(x) x++; |
post operation, should only be called in disabled() state. More... | |
#define | ssem_signal(x) ssem_post(x) |
alias of ssem_port(), for thomas. More... | |
#define | ssem_wait(x) x--;while(x<0) |
spinlock wait, does not return a propper value. More... | |
#define | ssem_trywait(x) (x<0) |
tests if a ssem_wait() might block. More... | |
#define | ssem_getvalue(x, i) (*i=x) |
reads the semaphore value. More... | |
#define | ssem_init(x, i, v) (x=v) |
to fulfill posix conventions. Quite useless for CubeOS, but anyway ... More... | |
#define | ssem_destroy(x) (0) |
to fulfill posix conventions. Quite useless for CubeOS, but anyway ... More... | |
Typedefs | |
typedef int | ssem_t |
Definition in file ssem.h.
|
to fulfill posix conventions. Quite useless for CubeOS, but anyway ...
|
|
reads the semaphore value.
|
|
to fulfill posix conventions. Quite useless for CubeOS, but anyway ...
|
|
post operation, should only be called in disabled() state.
|
|
alias of ssem_port(), for thomas.
Definition at line 32 of file ssem.h. Referenced by _I2C_slave_handler, and GenerateStop. |
|
tests if a ssem_wait() might block.
|
|
spinlock wait, does not return a propper value.
Definition at line 33 of file ssem.h. Referenced by I2C_slprocess, and I2C_Start_I2C_Transfer. |
|
|