class Control1Reg

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

CONTROL1 - Configures the BMC PHY. Most bits apply to the Rx (receiver).

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

via read/modify/write operations.

After reset, all SOP' / SOP" messages are dropped, and the BIST Carrier Mode

pattern is disabled.

Rev 5 datasheet: Table 23 on page 22

Public Members

 field_ensop2db_400
 field_ensop1db_405
 field_bist_mode2_410
 field_rx_flush_415
 field_ensop2_421
 field_ensop1_427

Public Methods

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

If false, SOP" (double-prime) debug messages are silently dropped.

The USB PD spec does not standardize any SOP" debug messages.

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

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

If false, SOP" (double-prime) debug messages are silently dropped.

The USB PD spec does not standardize any SOP" debug messages.

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

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

If false, SOP' (prime) debug messages are silently dropped.

The USB PD spec does not standardize any SOP' debug messages.

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

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

If false, SOP' (prime) debug messages are silently dropped.

The USB PD spec does not standardize any SOP' debug messages.

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

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

If true, the transmitter will send the BIST Carrier Mode pattern.

This helps implement usbpd3.1 6.4.3.1 "BIST Carrier Mode".

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

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

If true, the transmitter will send the BIST Carrier Mode pattern.

This helps implement usbpd3.1 6.4.3.1 "BIST Carrier Mode".

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

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

Set to true by the driver to start flushing the receiver FIFO.

The hardware sets this bit to false when it's done flushing the FIFO.

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

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

Set to true by the driver to start flushing the receiver FIFO.

The hardware sets this bit to false when it's done flushing the FIFO.

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

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

If false, SOP" (prime) messages are silently dropped.

SOP" messages are only exchanged between the Source and a Cable Plug. They

are not used in Source / Sink communication.

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

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

If false, SOP" (prime) messages are silently dropped.

SOP" messages are only exchanged between the Source and a Cable Plug. They

are not used in Source / Sink communication.

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

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

If false, SOP' (prime) messages are silently dropped.

SOP' messages are only exchanged between the Source and a Cable Plug. They

are not used in Source / Sink communication.

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

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

If false, SOP' (prime) messages are silently dropped.

SOP' messages are only exchanged between the Source and a Cable Plug. They

are not used in Source / Sink communication.

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

hwreg::I2cRegisterAddr<Control1Reg> Get ()

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

Records