Sygaldry
Loading...
Searching...
No Matches
sygaldry::sygsp::ICM20948Registers< Serif >::BitFieldState< name, BitField, value > Struct Template Reference
Inheritance diagram for sygaldry::sygsp::ICM20948Registers< Serif >::BitFieldState< name, BitField, value >:
sygaldry::sygsp::ICM20948Registers< Serif >::BitField< name, Register, mask_ > sygaldry::sygsp::ICM20948Registers< Serif >::Register< name, addr_, bank_, reset_ >

Public Types

using This = BitFieldState< name, BitField, value >
 

Static Public Member Functions

static constexpr const char * state_name ()
 
static void set ()
 
- Static Public Member Functions inherited from sygaldry::sygsp::ICM20948Registers< Serif >::BitField< name, Register, mask_ >
static constexpr const char * field_name ()
 
static uint8_t read_field ()
 
- Static Public Member Functions inherited from sygaldry::sygsp::ICM20948Registers< Serif >::Register< name, addr_, bank_, reset_ >
static constexpr const char * register_name ()
 
static void select_bank ()
 
static uint8_t read ()
 
static void write (uint8_t value)
 

Additional Inherited Members

- Static Public Attributes inherited from sygaldry::sygsp::ICM20948Registers< Serif >::BitField< name, Register, mask_ >
static constexpr uint8_t mask = mask_
 
- Static Public Attributes inherited from sygaldry::sygsp::ICM20948Registers< Serif >::Register< name, addr_, bank_, reset_ >
static constexpr uint8_t address = addr_
 
static constexpr uint8_t bank = bank_
 
static constexpr uint8_t after_reset = reset_
 

Detailed Description

template<typename Serif>
template<string_literal name, typename BitField, uint8_t value>
struct sygaldry::sygsp::ICM20948Registers< Serif >::BitFieldState< name, BitField, value >

Base class for bit field states with no archetypical semantic e.g. where there are several allowed states.

Template Parameters
BitFieldThe struct defining the register and bit field for which this state is valid.
valueThe value for this allowed state of the field.

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