# SFBHWHostRegister Struct Reference

An incomplete cut at host-side simulation of the SFB hardware registers. More...

`#include <SFBHWPinsHost.h>`

## Public Member Functions
| SFBHWHostRegister (u32 address, u32 initVal=0, u32(*toRead)(u32, u32)=0, u32(*toWrite)(u32, u32)=0)
| operator u32 () const
SFBHWHostRegister & | operator= (const u32 val)
SFBHWHostRegister & | operator&= (const u32 val)
SFBHWHostRegister & | operator|= (const u32 val)
## Data Fields
u32 | reg
u32 | addr
u32(* | doRead )(u32 addr, u32 oldval)
u32(* | doWrite )(u32 addr, u32 newval)

## Detailed Description

An incomplete cut at host-side simulation of the SFB hardware registers.

The documentation for this struct was generated from the following file:

- src/include/SFBHWPinsHost.h