How does jetson nano control gpio high and low level

hello tiancai1234,

you may enable GPIOs manually via system nodes,
for example,
you may generate gpio220 name, i.e. echo 220 > /sys/class/gpio/export
using commands to enable the GPIO within the gpio220 nodes. i.e. echo out > direction or echo 1 > value

there’s Jetson-GPIO python library to configure the system and run the provided sample applications, and the library API.
please also refer to discussion thread, Topic 144550, for several ways to access GPIOs. such as, kernel APIs, python scripts, C++ samples.
thanks