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

Search found 3 matches
CCS Forum Index
Author Message
  Topic: QEi module
nbt1987

Replies: 1
Views: 3644

PostForum: General CCS C Discussion   Posted: Wed Jun 23, 2010 11:40 am   Subject: QEi module
When use module QEi of PIC18f4431, disable all interrupt IC1,IC2,IC3.
But IC1Flag,IC2Flag,IC3Flag will set 1 automatically when an interrupt condition occur.
I think it don't use any instruction cy ...
  Topic: how to use int16
nbt1987

Replies: 8
Views: 9455

PostForum: General CCS C Discussion   Posted: Sat May 29, 2010 10:39 am   Subject: how to use int16
Thanks for all!
When i change the address as follow:

int16 tong;
#word tong = 0x201
#byte tongH = 0x202
#byte tongL = 0x201

It's true.
  Topic: how to use int16
nbt1987

Replies: 8
Views: 9455

PostForum: General CCS C Discussion   Posted: Fri May 28, 2010 11:01 pm   Subject: how to use int16
I use CCS, PIC8F4431. I declare int16 variable as follow:

int16 tong;
#byte tong = 0x058
#byte tongH = 0x058
#byte tongL = 0x059

I do that becase I think "the high byte of tong is in 0x ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group