Wiring setting for port