class TypeCPortStateMachine
Defined at line 39 of file ../../src/devices/power/drivers/fusb302/typec-port-state-machine.h
Implements the Type C Port Config Channel state machine.
typec2.2 4.5.2 "CC Functional and Behavioral Requirements"
Public Methods
void TypeCPortStateMachine (Fusb302 & device, inspect::Node inspect_root)
`device` must remain alive throughout the new instance's lifetime.
Defined at line 43 of file ../../src/devices/power/drivers/fusb302/typec-port-state-machine.h
void TypeCPortStateMachine (const TypeCPortStateMachine & )
Defined at line 47 of file ../../src/devices/power/drivers/fusb302/typec-port-state-machine.h
TypeCPortStateMachine & operator= (const TypeCPortStateMachine & )
Defined at line 48 of file ../../src/devices/power/drivers/fusb302/typec-port-state-machine.h
void ~TypeCPortStateMachine ()
Defined at line 50 of file ../../src/devices/power/drivers/fusb302/typec-port-state-machine.h
const char * StateToString (TypeCPortState state)
Defined at line 66 of file ../../src/devices/power/drivers/fusb302/typec-port-state-machine.cc
Protected Methods
void EnterState (TypeCPortState state)
Defined at line 17 of file ../../src/devices/power/drivers/fusb302/typec-port-state-machine.cc
void ExitState (TypeCPortState state)
Defined at line 30 of file ../../src/devices/power/drivers/fusb302/typec-port-state-machine.cc
TypeCPortState NextState (TypeCPortInput input, TypeCPortState current_state)
Defined at line 32 of file ../../src/devices/power/drivers/fusb302/typec-port-state-machine.cc