When the pin muxing mode is configured for analog pin (default), the port needs pull-up or pull-down resistor ?
If configured for analog, the internal pullup/pulldown settings have no effect and they are disabled.
Or maybe you refer to a need for external resistors?
However, it is that I want to ask is that it need a external resistor for safety.
Is there trouble in unconnected unused pins of the default settings?
You do not need pullup/pulldown resistor in unused pins. It is recommended to leave them floating and configured as disabled (default).
Hope this clarifies your doubt.
Retrieving data ...