Sign in

username:

password:



Not a member?

Search rabbit-semi



Search tips

Subscribe to rabbit-semi



Ads

Discussion Groups

Discussion Groups | Rabbit-Semi | Read shadow register

This is a group for folks designing and programming embedded systems using the Rabbit Semiconductor C-programmable microcontroller. Rabbit Semi is a spin-off from Z-World who makes a variety of embedded modules and tools. This group is not affiliated with either Rabbit or Z-World, but is a user forum for sharing ideas, asking questions, flaunting knowledge, and other typical user group stuff. The Rabbit is a powerful uC, supported by a full-featured C-compiler.

Read shadow register - Omar - Jun 30 8:38:44 2008

Hello:
I need read the last status of a bit of port B. I write the bit ussing
this statement:

BitWrPortI(PBDR,&PBDRShadow,1,5);

I understand that need read the shadow register, because the port B is
write only.
But not found as I can read the bit 5 (in this case) form the
PBDRShadow. Is there an instruccion type BitRdxxxx of I should be read
the bit ussing an AND opperation ?.

If is of the last form, can you send an example ?

Thank you to all

Omar
------------------------------------



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )