Connecting a Flight Controller to the tb6612 Motor Shield?

So i am trying to drive an Osepp TB6612 motor shield and two DC motors with a Kakute f4 flight controller running Ardupilot, i know i can produce the pwm signal on the motor outputs of the fc, but is it possible for the fc to produce the DIR signal at all? Im new to arduino anything so im not even sure what the DIR signal looks like and i havent found anything useful online so far.

Short story short, what is a DIR signal, and is it possible to produce with a Kakute f4 and Ardupilot?

DIR = direction. High for one direction, low for the other (CW or CCW depends on the rest of your wiring).

If you can produce a PWM signal, I'd expect you can produce a simple high/low signal as well.