Low-level register I2C helpers and bit-packing operations for the TLV320DAC3100.
Summary
Functions
Assembles Headphone PGA gain and mute control byte (Page 1, Registers 40 & 41 / 0x28 & 0x29).
Assembles HP driver power control configuration byte (Page 1, Register 31 / 0x1F).
Reads a config byte from a register on a specific page of the TLV320DAC3100 over I2C.
Assembles Speaker PGA gain and mute control byte (Page 1, Register 42 / 0x2A).
Iterates over a list of {page, reg, val} tuples and writes them sequentially over I2C.
Writes a config byte to a register on a specific page of the TLV320DAC3100 over I2C.
Functions
Assembles Headphone PGA gain and mute control byte (Page 1, Registers 40 & 41 / 0x28 & 0x29).
Assembles HP driver power control configuration byte (Page 1, Register 31 / 0x1F).
Reads a config byte from a register on a specific page of the TLV320DAC3100 over I2C.
Assembles Speaker PGA gain and mute control byte (Page 1, Register 42 / 0x2A).
Iterates over a list of {page, reg, val} tuples and writes them sequentially over I2C.
Writes a config byte to a register on a specific page of the TLV320DAC3100 over I2C.