theCore C++ embedded framework
|
Data Structures | |
struct | reg |
Memory-mapped I/O register. More... | |
struct | ro_mut |
Read-only mutability trait. More... | |
struct | rw_mut |
Read-write mutability trait. More... | |
struct | wo_mut |
Write-only mutability trait. More... | |
Functions | |
constexpr uint32_t | generate_unshifted_mask (uint32_t width) |
Generates bitstring of consequent '1's of the given width. More... | |
constexpr uint32_t | generate_mask (uint32_t width, uint32_t offset) |
Generates shifted mask. More... | |
constexpr uint32_t ecl::mmio::generate_unshifted_mask | ( | uint32_t | width | ) |
Generates bitstring of consequent '1's of the given width.
[in] | width | Desired width. Must not be 0. |
constexpr uint32_t ecl::mmio::generate_mask | ( | uint32_t | width, |
uint32_t | offset | ||
) |
Generates shifted mask.
[in] | width | Width of the mask. |
[in] | offset | Offset of the mask. |