|
Zephyr Project API 4.4.99
A Scalable Open Source RTOS
|
Value structure. More...
#include <mpipe_value.h>
Data Fields | |
| enum mpipe_value_type | type |
| Type of value, see mpipe_value_type. | |
| union { | |
| bool v_boolean | |
| MPIPE_TYPE_BOOLEAN. More... | |
| int32_t v_int | |
| MPIPE_TYPE_INT. More... | |
| uint32_t v_uint | |
| MPIPE_TYPE_UINT. More... | |
| struct { | |
| union mpipe_value_bound min | |
| Lower bound of the range. More... | |
| union mpipe_value_bound max | |
| Upper bound of the range. More... | |
| union mpipe_value_bound step | |
| Step between two consecutive values of the range. More... | |
| } range | |
| MPIPE_TYPE_INT_RANGE, MPIPE_TYPE_UINT_RANGE. More... | |
| }; | |
| Contents, read through the arm the type selects. | |
Value structure.
One fixed-size tagged union so that every value costs the same and can be stored by value inside the structure that owns it.
| union { ... } mpipe_value |
Contents, read through the arm the type selects.
| union mpipe_value_bound mpipe_value::max |
Upper bound of the range.
| union mpipe_value_bound mpipe_value::min |
Lower bound of the range.
| struct { ... } mpipe_value::range |
MPIPE_TYPE_INT_RANGE, MPIPE_TYPE_UINT_RANGE.
| union mpipe_value_bound mpipe_value::step |
Step between two consecutive values of the range.
| enum mpipe_value_type mpipe_value::type |
Type of value, see mpipe_value_type.
| bool mpipe_value::v_boolean |
MPIPE_TYPE_BOOLEAN.
| int32_t mpipe_value::v_int |
MPIPE_TYPE_INT.
| uint32_t mpipe_value::v_uint |
MPIPE_TYPE_UINT.