RESET/de

From MCS Wiki AVR
< RESET(Difference between revisions)
Jump to: navigation, search
m (1 revision)
(Beispiel)
 
(6 intermediate revisions by one user not shown)
Line 1: Line 1:
== (**COPIED FROM ENGLISH PAGE**) === <span class="f_Header">Action</span> =
+
= <span class="f_Header">Funktion</span> =
  
Reset a bit to zero.
+
Setzt ein Bit auf Null.
  
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>
Line 23: Line 23:
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>
  
= <span class="f_Header">Remarks</span> =
+
= <span class="f_Header">Anmerkungen</span> =
 
<div style="padding: 0px; margin: 0px 0px 0px 4px;">
 
<div style="padding: 0px; margin: 0px 0px 0px 4px;">
 
{| width="488" cellspacing="0" cellpadding="1" border="1" style="border: 2px solid rgb(0, 0, 0); border-spacing: 0px; border-collapse: collapse;"
 
{| width="488" cellspacing="0" cellpadding="1" border="1" style="border: 2px solid rgb(0, 0, 0); border-spacing: 0px; border-collapse: collapse;"
Line 31: Line 31:
  
 
| valign="top" style="border: 1px solid rgb(0, 0, 0);" |  
 
| valign="top" style="border: 1px solid rgb(0, 0, 0);" |  
Bit or Boolean variable.
+
Bit oder Boolean-Variable.
  
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
Line 38: Line 38:
  
 
| valign="top" style="height: 16px; border: 1px solid rgb(0, 0, 0);" |  
 
| valign="top" style="height: 16px; border: 1px solid rgb(0, 0, 0);" |  
A byte, integer, word or long variable.
+
Eine Byte-, Integer-, Word- oder Long-Variable.
  
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
 
| valign="top" width="13%" style="width: 60px; border: 1px solid rgb(0, 0, 0);" |  
 
| valign="top" width="13%" style="width: 60px; border: 1px solid rgb(0, 0, 0);" |  
X
+
x
  
 
| valign="top" style="border: 1px solid rgb(0, 0, 0);" |  
 
| valign="top" style="border: 1px solid rgb(0, 0, 0);" |  
Bit of variable to clear. Valid values are&nbsp;: 0-7 (byte, registers), 0-15 (Integer/Word) and (0-31) for a Long
+
Bit der Variablen welches auf 0 gesetzt werden soll. Gültige Werte sind: 0-7 (Byte, Register), 0-15 (Integer/Word) und (0-31) für Long
  
 
|}
 
|}
Line 51: Line 51:
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>
  
You can also use the constants from the definition file to set or reset a bit.
+
Man kann auch Konstanten aus der Definitionsdatei benutzen um ein Bit zu setzen oder auf Null zu setzen.
  
RESET PORTB.PB7 &nbsp; 'will reset bin 7 of portB. This because PB7 is a defined constant in the definition file.
+
RESET PORTB.PB7 &nbsp; 'Setzt Bit 7 des PortB weil PB7 eine definierte Konstante aus der Definitionsdatei ist.
  
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>
  
When the bit is not specified, bit 0 will be cleared.
+
Wenn das Bit nicht angegeben wird dann wird Bit 0 zurückgesetzt (auf 0 gesetzt).
  
 
&nbsp;
 
&nbsp;
Line 63: Line 63:
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>
  
= <span class="f_Header">See also</span> =
+
= <span class="f_Header">Siehe auch</span> =
  
 
[[SET]]&nbsp;,&nbsp;[[TOGGLE]]
 
[[SET]]&nbsp;,&nbsp;[[TOGGLE]]
Line 71: Line 71:
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>
  
= <span class="f_Header">Example</span> =
+
= <span class="f_Header">Beispiel</span> =
  
<span style="font-family: 'Courier New';">[[SET|SEE SET]]</span>
+
<span style="font-family: 'Courier New';">Siehe [[SET|SET]]</span>
  
 
<br/>{{Languages}}
 
<br/>{{Languages}}
  
 
[[Category:BASCOM Language Reference/de]]
 
[[Category:BASCOM Language Reference/de]]

Latest revision as of 00:16, 20 February 2013

Contents

Funktion

Setzt ein Bit auf Null.

 

 

Syntax

RESET bit

RESET var.x

RESET var

 

 

 

 

Anmerkungen

Bit

Bit oder Boolean-Variable.

Var

Eine Byte-, Integer-, Word- oder Long-Variable.

x

Bit der Variablen welches auf 0 gesetzt werden soll. Gültige Werte sind: 0-7 (Byte, Register), 0-15 (Integer/Word) und (0-31) für Long

 

Man kann auch Konstanten aus der Definitionsdatei benutzen um ein Bit zu setzen oder auf Null zu setzen.

RESET PORTB.PB7   'Setzt Bit 7 des PortB weil PB7 eine definierte Konstante aus der Definitionsdatei ist.

 

Wenn das Bit nicht angegeben wird dann wird Bit 0 zurückgesetzt (auf 0 gesetzt).

 

 

Siehe auch

SET , TOGGLE

 

 

Beispiel

Siehe SET


Languages   English Deutsch  
Personal tools
Namespaces
Variants
Actions
Navigation
In other languages
Language