Direct port register addressing technique in Arduino to reduce code length and write easy program

In Arduino programming, the direct port register addressing technique allows you to directly manipulate the I/O (input/output) pins of the microcontroller, such as the ATmega series, without going through the standard digitalWrite() or digitalRead() functions. This method can be faster and more efficient for certain tasks but requires a good understanding of the microcontroller's hardware.

Source: Direct port register addressing technique in Arduino to reduce code length and write easy program