class BrightnessStickyReg

Defined at line 55 of file ../../src/ui/backlight/drivers/ti-lp8556/ti-lp8556.h

Public Members

 field_is_valid_62
 field_brightness_63

Public Methods

template <, >
typename SelfType::ValueType is_valid ()

This bit is used to distinguish between a zero register value and an unset value.

A zero value indicates that the sticky register has not been set (so a default of 100%

brightness will be used by the bootloader).

With this bit set, a zero brightness value is encoded as 0x1000 to distinguish it from an unset

value.

Defined at line 62 of file ../../src/ui/backlight/drivers/ti-lp8556/ti-lp8556.h

template <, >
SelfType & set_is_valid (typename SelfType::ValueType val)

This bit is used to distinguish between a zero register value and an unset value.

A zero value indicates that the sticky register has not been set (so a default of 100%

brightness will be used by the bootloader).

With this bit set, a zero brightness value is encoded as 0x1000 to distinguish it from an unset

value.

Defined at line 62 of file ../../src/ui/backlight/drivers/ti-lp8556/ti-lp8556.h

template <, >
typename SelfType::ValueType brightness ()

NOLINTEND(misc-non-private-member-variables-in-classes)

Defined at line 63 of file ../../src/ui/backlight/drivers/ti-lp8556/ti-lp8556.h

template <, >
SelfType & set_brightness (typename SelfType::ValueType val)

Defined at line 63 of file ../../src/ui/backlight/drivers/ti-lp8556/ti-lp8556.h

hwreg::RegisterAddr<BrightnessStickyReg> Get ()

Defined at line 65 of file ../../src/ui/backlight/drivers/ti-lp8556/ti-lp8556.h

Records