Pull-down resistor on digital IO pin used as output = LOW level on this pin during power-up, restart,...?

I have nothing more to say, except that I have coded it that way and it works consistently. Thank you for taking the time to discuss this with me.

You did not test the code, it won't compile. See yourself and stop spreading nonsense.

Yes, yes and yes. I have programmed it, tested it with a4899 and drv882 and it works!! And don't get personal, please.

I also tested it and the code did not compile in the IDE. The buggy behaviour of other development systems is off topic here.