I/O in deep sleep mode

Dear forum,

I am curious about some details regarding entering sleep mode via RUI3 arduino code.

What happens to the I/Os when the RAK3172 module enters deep sleep?
Are pull-ups/downs still active?
Do outputs set to high still keep the high state? Is sink/source capability changing?

Should unused inputs be configured as outputs and set to low before entering deep sleep?

Thanks for the input and best regards
Thorsten

Answers below are for RUI3, if you are using STM32CubeIDE, I don’t know.

I/O’s will keep their state when the RAK3172 goes into sleep.

No need to configure unused I?O’s, just keep them uninitialized.