Crontrol phat explorer whit c program and wiringPi lib

Hello everyone, I am a fan of pi for many years, and I use your library from the beginning. Thank you for your work and congratulations.
Today I have a problem and need help:
I have a drv8833 motor driver and I just drive with the python script.
So, ok! now I want to control the driver with a c program and lib wiringpi !
is it possible? I do a lot of research and I did a c prog which controls the engine but i can not
change the speed of motor with PWM. is it possible to control the spedd ? Can you help me or give me some tracks

Did you get anywhere with this? I am about to embark on a similar adventure myself, rather not reinvent the wheel.