PULLUP und UART

#731569
Lesenswert?
• ▲
▼
Einen Pin als UART definieren geht gar nicht... Wenn beim UART-Interface 
der Receiver aktiviert wird, wird der dazugehörige Rx-Pin automatisch 
durch die Hardware als Eingang konfiguriert. Den Pull-Up kann man dann 
über das Port-Register ein- und ausschalten (wird also nicht automatisch 
aktiviert).
Gast #731609
Lesenswert?
• ▲
▼
Auszug aus dem Datenblatt Abschnitt alternativeen:


• TXD – Port D, Bit 1
TXD, Transmit Data (Data output pin for the USART). When the USART 
Transmitter is
enabled, this pin is configured as an output regardless of the value of 
DDD1.
• RXD – Port D, Bit 0
RXD, Receive Data (Data input pin for the USART). When the USART 
Receiver is
enabled this pin is configured as an input regardless of the value of 
DDD0. When the
USART forces this pin to be an input, the pull-up can still be 
controlled by the PORTD0
bit.

MW

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