In that case, you will need to learn about direct port access using Arduino.
Hint: google "arduino direct port access"