regmask_t Struct Reference
|
yasimavr
|
Loading...
Searching...
No Matches
regmask_t Struct Reference
Address + bit mask structure. More...
#include <sim_types.h>
Public Member Functions | |
| constexpr regmask_t | operator| (const regmask_t &other) const |
| constexpr bool | operator== (reg_addr_t a) const |
| Returns true if the regmask_t objects have the same address. | |
| constexpr bool | operator!= (reg_addr_t a) const |
| Returns true if the regmask_t objects have a different address. | |
Public Attributes | |
| reg_addr_t | addr |
| bitmask_t | mask |
Detailed Description
Address + bit mask structure.
Member Function Documentation
◆ operator!=()
|
inlineconstexpr |
Returns true if the regmask_t objects have a different address.
◆ operator==()
|
inlineconstexpr |
Returns true if the regmask_t objects have the same address.
◆ operator|()
if the two regmasks have the same address, returns a bitwise OR of the bitmasks. Otherwise returns an invalid object.
Member Data Documentation
◆ addr
| reg_addr_t regmask_t::addr |
◆ mask
| bitmask_t regmask_t::mask |
The documentation for this struct was generated from the following file:
Generated by