The next command writes to the data direction register of port B.
Internet search shows that the open collector behaviour can be emulated with standard AVR pins. The port is set to LOW and the output (LOW or HIGH) is controlled by the DDRx data direction register. For example PORTD and Pin PD4
Eine Suche im Internet ergibt, dass man scheinbar die Open-Collector-Schaltung simulieren kann, indem man auf den Pin ein LOW schreibt und dann mittels des DDRx-Registers den Pin umschaltet. Die Idee bedeutet im einzelnen(am Beispiel PORTD und Pin PD4)
Andere resultaten
In the second example variables are not used, setting LED output and lighting it will be done by changing port B data direction and output registers values.
Im zweiten Beispiel werden keine Variablen genutzt. Um die LED als Output zu markieren und zum Leuchten zu bringen, werden die Datenrichtung des Port B und die Output Registerwerte verändert.
Therefore, some means of arbitrating the data direction is required.
Folglich ist für die Daten eine Richtungszuordnung notwendig.
Depending on the data direction colored data events increase the readability and assignment.
Abhängig von der Datenrichtung farbig abgesetzte Datenereignisse erleichtern die Lesbarkeit und Zuordnung.
However, there are in the data direction of the variables made a significant difference.
Einen wesentlichen Unterschied gibt es allerdings bei der Datenrichtung der Variablen.
In the late afternoon we follow the GPS data direction to Kees and Els.
This parameter is only evaluated for data direction option 6.
After a given number of cycles, the direction of data flow in the storage shift register is reversed.
Nach einer vorgegebenen Anzahl von Takten wird im Speicherschieberegister die Richtung des Datenflusses umgekehrt.
One lead of the duplex cable is used for each data direction, so that all applications which can be handled by a pure data connection without additional control lines are suitable for fiber optic transmission.
Für jede Datenrichtung wird eine Ader des Duplex-Kabels verwendet, so daß alle Anwendungen, die mit einer reinen Datenverbindung ohne zusätzliche Steuerleitungen auskommen, für die Lichtleiter-Übertragung geeignet sind.
Before the actual sending of user data, this controller must first address the desired terminal defice as a talker or listener, depending on the required data direction.
Configure the output pins OCnA and/or OCnB as outputs by setting their data direction bits.
Die Ausgänge OCnA und/oder OCnB als Ausgänge einstellen.
Automatic data direction control is provided for RS-485.