Motion Master 6.0.0-alpha.86
Next-generation motion control software
Loading...
Searching...
No Matches
mm::node::somanet::IcHausField Struct Reference

One field of a register — a named piece of it, with what the datasheet calls it. More...

#include <ic_haus_registers.h>

Collaboration diagram for mm::node::somanet::IcHausField:
[legend]

Public Attributes

std::string_view name
 The datasheet's own name, e.g. "GC_M".
 
std::string_view bits
 
std::string_view description
 The datasheet's own one-line description of the field.
 

Detailed Description

One field of a register — a named piece of it, with what the datasheet calls it.

Member Data Documentation

◆ bits

std::string_view mm::node::somanet::IcHausField::bits

The field's bit slice as the register map prints it, e.g. "1:0" — empty where the map prints a bare name. This is the slice of the field the byte carries, not the field's position within the byte: GC_M(1:0) occupies bits 7:6 of address 0x00 and says "1:0" because those are the field's own two bits. A multi-byte field is how a value wider than a register is spread across several, which is why RESABZ reads "7:0" at 0x13 and "15:8" at 0x14.

◆ description

std::string_view mm::node::somanet::IcHausField::description

The datasheet's own one-line description of the field.

◆ name

std::string_view mm::node::somanet::IcHausField::name

The datasheet's own name, e.g. "GC_M".


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