class Switches0Reg

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

SWITCHES0 - Controls most CC (Configuration Channel) circuit switches.

After reset, both CC pins will be connected to pull-down resistors, and none

of them will be connected to the measure block.

Rev 5 datasheet: Table 18 on page 20

Public Members

 field_pu_en2_175
 field_pu_en1_176
 field_vconn_cc2_177
 field_vconn_cc1_178
 field_meas_cc2_179
 field_meas_cc1_180
 field_pdwn2_181
 field_pdwn1_182

Public Methods

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

Read/written by {Set}SwitchBlockConfigFor() and {Set}MeasureConfigChannelPinSwitch().

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

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

Read/written by {Set}SwitchBlockConfigFor() and {Set}MeasureConfigChannelPinSwitch().

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

hwreg::I2cRegisterAddr<Switches0Reg> Get ()

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

SwitchBlockConfig SwitchBlockConfigFor (usb_pd::ConfigChannelPinId cc_pin_id)

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

Switches0Reg & SetSwitchBlockConfig (usb_pd::ConfigChannelPinId cc_pin_id, SwitchBlockConfig connection)

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

usb_pd::ConfigChannelPinSwitch MeasureBlockInput ()

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

Switches0Reg & SetMeasureBlockInput (usb_pd::ConfigChannelPinSwitch input)

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

Records