CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

16F8x:TRIS & upward comp.(set_tris_X vs byte modifcation

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Amin



Joined: 19 Feb 2004
Posts: 15

View user's profile Send private message

16F8x:TRIS & upward comp.(set_tris_X vs byte modifcation
PostPosted: Sun Jan 22, 2006 11:33 am     Reply with quote

Hey,

The Help file says that the use of TRIS has been dropped because microchip says it is not upward compatible.

On the otherhand when I used SET_TRIS_A it used TRIS,
instead I decided to define TRISA=0x85 and set it manually?

should I not do that, and is there anything to be cautious with?

is this TRIS in the LST what the help file is talking about? and if so why does the compiler still uses it?


Thanks
Amin
_________________
McMaster Solar Car Project
http://www.solarcar.mcmaster.ca
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun Jan 22, 2006 11:53 am     Reply with quote

Read this thread:
http://www.ccsinfo.com/forum/viewtopic.php?t=21253&start=21
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group