Zth (libzth)
Loading...
Searching...
No Matches
regs.h File Reference
#include <libzth/macros.h>
#include <libzth/util.h>

Go to the source code of this file.

Classes

struct  zth::Register< T, Addr, Fields >
 Helper class to read/write (bitfields in) hardware registers. More...
 

Namespaces

namespace  zth
 

Macros

#define ZTH_REG_BITFIELDS(...)   __VA_ARGS__
 
#define ZTH_REG_DEFINE(T, name, addr, fields...)
 Define a hardware reference helper class, with bitfields.
 

Macro Definition Documentation

◆ ZTH_REG_BITFIELDS

#define ZTH_REG_BITFIELDS (   ...)    __VA_ARGS__

Definition at line 90 of file regs.h.