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

Public Types

using This = BitTrigger< name, Register, mask >
 

Static Public Member Functions

static void trigger ()
 
- 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
 
- 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 Register, uint8_t mask>
struct sygaldry::sygsp::ICM20948Registers< Serif >::BitTrigger< name, Register, mask >

Base class for single-bit fields where a set bit triggers an immediate action and an unset bit has no particular meaning or influence.

Template Parameters
RegisterThe struct defining the register (address, bank, etc.) for this bit field.
maskThe mask for the single bit, which is also used to set the bit.

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