Grove Motor Driver (TB6612FNG)

What does exactly and detailed perfom the instruction :
motor.init()
in the stepper motor demo program setup?

Instructions that should have to be sent from the datasheet.