Shop OBEX P1 Docs P2 Docs Learn Events
Counter INB/OUTB/DIRB — Parallax Forums

Counter INB/OUTB/DIRB

CircuitsoftCircuitsoft Posts: 1,166
edited 2012-03-01 14:04 in Propeller 1
Do counter registers modify the OUTA register when in normal use? Do the OUTB/INB/DIRB registers exist, even if they aren't used? By that token, could a counter, setup to drive OUTB(some-pin) be read from OUTB, even if it's local to the cog?

Comments

  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2012-03-01 14:04
    Do counter registers modify the OUTA register when in normal use?
    No, their outputs, if specified, are ORed with the contents of the OUTA register.
    Do the OUTB/INB/DIRB registers exist, even if they aren't used?
    They're just normal R/W registers, i.e. cog memory locations with no special significance.

    -Phil
Sign In or Register to comment.