class Control4Reg

Defined at line 730 of file ../../src/devices/power/drivers/fusb302/registers.h

CONTROL4 - Additional configuration for automated power role detection.

This register has reserved/undocumented bits. It can only be safely updated

via read/modify/write operations.

After reset, Audio Accessories are not a special case for power role

detection.

Rev 5 datasheet: Table 31 on page 24

Public Members

 field_tog_exit_aud_740

Public Methods

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

If true, power role detection takes Audio Accessories into account.

When this bit is true, automated power role detection succeeds when Ra is

detected on both CC pins, which signals an Audio Accessory.

This bit is only used when the `tog_rd_only` field in

`Control2Reg` is true. It effectively carves out an Ra case that is not

ignored by the power role detection logic.

Defined at line 740 of file ../../src/devices/power/drivers/fusb302/registers.h

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

If true, power role detection takes Audio Accessories into account.

When this bit is true, automated power role detection succeeds when Ra is

detected on both CC pins, which signals an Audio Accessory.

This bit is only used when the `tog_rd_only` field in

`Control2Reg` is true. It effectively carves out an Ra case that is not

ignored by the power role detection logic.

Defined at line 740 of file ../../src/devices/power/drivers/fusb302/registers.h

hwreg::I2cRegisterAddr<Control4Reg> Get ()

Defined at line 742 of file ../../src/devices/power/drivers/fusb302/registers.h

Records