|
|
| BITPACK_MEMBER_ADD_ENUM_BOOL_CLEARED_ASSERTED (TransmitFull, 0) |
|
| BITPACK_MEMBER_ADD_ENUM_BOOL_CLEARED_ASSERTED (ReceiveFull, 1) |
|
| BITPACK_MEMBER_ADD_ENUM_BOOL_CLEARED_ASSERTED (TransmitEmpty, 2) |
|
| BITPACK_MEMBER_ADD_ENUM_BOOL_CLEARED_ASSERTED (TransmitIdle, 3) |
|
| BITPACK_MEMBER_ADD_ENUM_BOOL_CLEARED_ASSERTED (ReceiveIdle, 4) |
|
| BITPACK_MEMBER_ADD_ENUM_BOOL_CLEARED_ASSERTED (ReceiveEmpty, 5) |
| constexpr | Bitpack () |
| | Construct a Bitpack value with an underlying Storage of all zero bits.
|
| constexpr Self && | operator= (this Self &&self, const std::remove_cvref_t< Self > &b) |
| | Assign a whole Bitpack at once given a non-volatile Bitpack of the same (or convertible, including derived) type.
|
| constexpr bool | operator== (this Self &&self, const std::remove_cvref_t< Self > &b) |
| | Compare Bitpack-s for equality (reflecting that of Storage).
|
| constexpr auto | operator<=> (this Self &&self, const std::remove_cvref_t< Self > &b) |
| | Spaceship operator on Bitpack-s (reflecing that of Storage).
|
| constexpr | operator Storage () const |
| | Extract the underlying Storage value.
|
| constexpr Storage | raw () const |
| | A shorter way of spelling static_cast<Storage>(...).
|
| const auto | read (this Self &&self) |
| | Return a snapshot of the underlying Storage.
|
| constexpr FieldType | get (this Self &&self) |
| | Fetch the value of a field in this Bitpack based on the field type.
|
| constexpr std::remove_cvref_t< Self > | with (this Self &&self, FieldType v) |
| | Compute a new Bitpack value with an updated field of a given type.
|
| constexpr void | set (this Self &&self, FieldType v) |
| | Compute a new Bitpack value with an updated field of a given type.
|
| constexpr void | alter (this Self &&self, auto &&f) |
| | Convenience function for unconditionally changing several sub-fields at once.
|
| constexpr void | assign_from (this Self &&self, auto &&f) |
| | Convenience function for unconditionally assigning an entire Bitpack from a computed value.
|
Definition at line 81 of file platform-uart.hh.