libyggdrasil  v1.0.0
registers.hpp File Reference

Zero-cost abstraction for accessing registers and bits/bitfields within them. More...

#include <cpp/common/types.hpp>
#include <cpp/common/attributes.hpp>
#include <type_traits>
Include dependency graph for registers.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  bsp::BitField< BaseAddress, SizeType, From, To >
 Bitfield abstraction. Provides a way to read from, write to and pass around bitfields within registers as if they were normal variables. More...
 
struct  bsp::Register< BaseAddress, Offset, SizeType >
 MMIO Register abstraction. Gives access to bitfields within the register as well as a reference to the register value itself. More...
 

Namespaces

 bsp
 

Detailed Description

Zero-cost abstraction for accessing registers and bits/bitfields within them.

Author
Fabian Weber, Nikolaij Saegesser