Is there any standard which defines that connector (DB9, DB25, USB or header) type has to be MALE or FEMALE while choosing one to use on circuit board? I am designing a microcontroller circuit board for general use.
Often the connector side that is "live", having voltage present on it while not plugged in, will be female/sockets and the mating half will obviously be male/pins. It reduces the chance of shock or shorting. Small signal stuff doesn't matter so much, but with power connectors it's more important to keep live contacts inaccessible.