Brushless Motor controller to autopilot pwm

I am trying to connect the motor controller pictured to pwm from autopilot (px4). I am trying to figure out how to address ebrake, power switch, etc with zero documentation. Anyone out there worked with e-bikes or something like this that could give me some pointers?

The bike ESC might not use the same signaling (5V PWM). I would try to find documentation so you don’t fry the ESC or the autopilot.