EE was exiting the crane cab, up and onto the crane deck when the EE caught their foot on an operational pedal; in the event the EE grabbed a cab door handle thus swinging the EE into the crane deck. The EE injured the right shoulder and knee in the while exiting up and onto the deck.