Introduction
GPIO port-wide operations let you control many pins on a port at once, making it faster and easier to set or read multiple pins together.
Turning on or off several LEDs connected to the same port at the same time.
Reading the state of multiple buttons connected to one port in a single step.
Setting all pins on a port as inputs or outputs quickly.
Clearing or setting all pins on a port to a known state before starting a task.