usbpd

Module protocol_layer

Source
Expand description

The protocol layer is controlled by the policy engine, and commands the PHY layer.

Handles

  • construction of messages,
  • message timers and timeouts,
  • message retry counters,
  • reset operation,
  • error handling,
  • state behaviour.

At this point in time, the protocol layer does not support extended messages.

Modules§

message
Definitions of message content.

Structs§

ProtocolLayer
The USB PD protocol layer.

Enums§

Error
Errors that can occur in the protocol layer.