Bit manipulation



Hi,

are there some assembler-instructions for AT91SAMs to manipulate IO-bits
(Pins).
Something like BSET (to set a pin) or BCLR (to clear a pin).
I can set/clear one whole port in assembler, but I need to set/clear just
one Port-pin without masking the rest of Port-pins.

Thanks,
Dejan



This message was sent using the comp.arch.embedded web interface on
www.EmbeddedRelated.com
.



Relevant Pages

  • Re: Bit manipulation
    ... > are there some assembler-instructions for AT91SAMs to manipulate IO-bits ... > Something like BSET (to set a pin) or BCLR. ... PIO and UPIO interfaces themselves that does this in hardware. ... to the corresponding "CODR" (Clear Output Data Register). ...
    (comp.arch.embedded)
  • Re: Bit manipulation
    ... Something like BSET (to set a pin) or BCLR. ... I can set/clear one whole port in assembler, but I need to set/clear just ... When you write to either of these registers, where you write a 1 bit ... BIT opcodes/BIT mapped SFRs, and so this band-aid HW design overcomes that shortcomming - it was, after all, never designed as an ...
    (comp.arch.embedded)
  • Re: dcf77 von Pollin an AVR
    ... Port-Pin des Controllers. ... ihn aus einem Pin zu versorgen. ...
    (de.sci.electronics)