How can read ports directly

Hello. How can read ports directly? Help me. digitalRead or any read method?

Have look at Port manipulation
To determine the state of individual pins you need to mask the value returned from the port register.

RealMgl: Hello. How can read ports directly? Help me. digitalRead or any read method?

digitalRead() might work for you. To receive the absolute best help, you should describe what you need it for. Ordinarily this would be a very straightforward question, but the "help me" introduces some doubt.