mirror of
https://github.com/nasa/fprime.git
synced 2025-12-10 17:47:10 -06:00
For all FPP enums in the framework, set the representing type to the minimum width that can represent the enum's member constants.
16 lines
583 B
Fortran
16 lines
583 B
Fortran
# ======================================================================
|
|
# \title Os/Models/Mutex.fpp
|
|
# \brief FPP type definitions for Os/Mutex.hpp concepts
|
|
# ======================================================================
|
|
|
|
module Os {
|
|
@ FPP shadow-enum representing Os::Mutex::Status
|
|
enum MutexStatus : U8 {
|
|
OP_OK, @< Operation was successful
|
|
ERROR_BUSY, @< Mutex is busy
|
|
ERROR_DEADLOCK, @< Deadlock condition detected
|
|
NOT_SUPPORTED, @< Mutex feature is not supported
|
|
ERROR_OTHER @< All other errors
|
|
}
|
|
}
|