theCore C++ embedded framework
mmio.hpp File Reference

Memory mapped I/O abstractions. More...

#include <limits>
Include dependency graph for mmio.hpp:
This graph shows which files directly or indirectly include this file:

Data Structures

struct  ecl::mmio::ro_mut
 Read-only mutability trait. More...
 
struct  ecl::mmio::wo_mut
 Write-only mutability trait. More...
 
struct  ecl::mmio::rw_mut
 Read-write mutability trait. More...
 
struct  ecl::mmio::reg< Mut, addr, offset, width >
 Memory-mapped I/O register. More...
 

Namespaces

 ecl
 
 ecl::mmio
 

Functions

constexpr uint32_t ecl::mmio::generate_unshifted_mask (uint32_t width)
 Generates bitstring of consequent '1's of the given width. More...
 
constexpr uint32_t ecl::mmio::generate_mask (uint32_t width, uint32_t offset)
 Generates shifted mask. More...
 

Detailed Description

Memory mapped I/O abstractions.

Taken from https://github.com/kensmith/cppmmio