why the port pins of PIC is called Ra,Rb,Rc etc......
Thanks
treitmey
Joined: 23 Jan 2004 Posts: 1094 Location: Appleton,WI USA
Posted: Tue Apr 24, 2007 7:49 am
I'm looking at the spec sheet for 16F877A page 7.
They call the port portA prortB BUT then go on to call the pins
RA1 RA2.. so it makes sense that the compilers follows that standard.
ps:following the spec sheet naming convention isn't done consistently
rnielsen
Joined: 23 Sep 2003 Posts: 852 Location: Utah
Posted: Tue Apr 24, 2007 8:18 am
Most likely, somebody at Microchip decided that's how it will be done. I guess since it's their product they can call the components whatever they want. Just as long as I can decipher the spec. sheet and make the parts do what I need.
Ronald
octal
Joined: 15 Jan 2007 Posts: 39
Posted: Tue Apr 24, 2007 9:51 am
This notation comes from Microchip. Microchip names are relative to the Registers that controls ports RegisterA ... for PortA ..; so RA0 is lower bit of the Register that maps PortA .... and so on.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum