Port mit PINB toggeln

Gast #2011846
Lesenswert?

Bei mir im DB, Seite 55, Kapitel 10.1 :
1
Three I/O memory address locations are allocated for each port, one each for the Data Register
2
 PORTx, Data Direction Register  DDRx, and the Port Input Pins  PINx. The Port Input Pins
3
I/O location is read only, while the Data Register and the Data Direction Register are read/write.
4
However, writing a logic one to a bit in the PINx Register, will result in a toggle in the corresponding
5
bit in the Data Register.

avr

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren