CHERIoT RTOS
A compartmentalised RTOS for CHERIoT hardware
Loading...
Searching...
No Matches
OpenTitanUart::Interrupts Struct Reference
Inheritance diagram for OpenTitanUart::Interrupts:
Collaboration diagram for OpenTitanUart::Interrupts:

Public Member Functions

 BITPACK_MEMBER_ADD_ENUM_BOOL_CLEARED_ASSERTED (TransmitWatermark, 0)
 BITPACK_MEMBER_ADD_ENUM_BOOL_CLEARED_ASSERTED (ReceiveWatermark, 1)
 BITPACK_MEMBER_ADD_ENUM_BOOL_CLEARED_ASSERTED (TransmitDone, 2)
 BITPACK_MEMBER_ADD_ENUM_BOOL_CLEARED_ASSERTED (ReceiveOverflowError, 3)
 BITPACK_MEMBER_ADD_ENUM_BOOL_CLEARED_ASSERTED (ReceiveFrameError, 4)
 BITPACK_MEMBER_ADD_ENUM_BOOL_CLEARED_ASSERTED (ReceiveBreakError, 5)
 BITPACK_MEMBER_ADD_ENUM_BOOL_CLEARED_ASSERTED (ReceiveTimeout, 6)
 BITPACK_MEMBER_ADD_ENUM_BOOL_CLEARED_ASSERTED (ReceiveParityError, 7)
 BITPACK_MEMBER_ADD_ENUM_BOOL_CLEARED_ASSERTED (TransmitEmpty, 8)
Public Member Functions inherited from Bitpack< uint32_t >
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.

Public Attributes

 BITPACK_USUAL_PREFIX

Additional Inherited Members

Public Types inherited from Bitpack< uint32_t >
using Storage
 Expose the underlying storage type.
Protected Member Functions inherited from Bitpack< uint32_t >
constexpr auto member (this Self &&self)
 Build a Field::Proxy of an explicitly given type and info.

Detailed Description

Definition at line 26 of file platform-uart.hh.

Member Data Documentation

◆ BITPACK_USUAL_PREFIX

OpenTitanUart::Interrupts::BITPACK_USUAL_PREFIX

Definition at line 28 of file platform-uart.hh.


The documentation for this struct was generated from the following file: