It's not possible to use GPIO_PortClear so?
GPIO_PortClear((void*)base[i], 0u << pin[i]);
I want to turn off all the leds but that not works, only with 1u but turn on all the leds. I have changed the logic in pin_mux but not works to me.
The 7 segment led display that I'm using is common anode.