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 4 matches
CCS Forum Index
Author Message
  Topic: Array of pointers to functions in struct
ysern

Replies: 10
Views: 22622

PostForum: General CCS C Discussion   Posted: Mon Dec 03, 2012 3:59 pm   Subject: Array of pointers to functions in struct
Hello Ttelmah,

You mentioned about int16 or int32.

A functions address is just a number. Lo and behold, if you store these numbers as integers (int16 or int32, depending on your chip)

But I t ...
  Topic: Array of pointers to functions in struct
ysern

Replies: 10
Views: 22622

PostForum: General CCS C Discussion   Posted: Mon Dec 03, 2012 3:52 pm   Subject: Array of pointers to functions in struct
Hi Ttelmah,

i have checked your code. It is really working. thanks!
  Topic: Array of pointers to functions in struct
ysern

Replies: 10
Views: 22622

PostForum: General CCS C Discussion   Posted: Thu Nov 29, 2012 1:24 pm   Subject: Array of pointers to functions in struct
hi dyeatman,
As always, before we look at the problem, what version of compiler are you using?
this is my first post, didn't know this. the compiler version is 4.137

hi RF_Developer,
thanks for ...
  Topic: Array of pointers to functions in struct
ysern

Replies: 10
Views: 22622

PostForum: General CCS C Discussion   Posted: Wed Nov 28, 2012 4:26 pm   Subject: Array of pointers to functions in struct
Hello here.

#include <16F887.h>

#FUSES NOWDT, INTRC, NOPUT, NOPROTECT, /*NODEBUG,*/ BROWNOUT, NOLVP, NOCPD, NOWRT
#use delay(clock=4000000)

typedef void (* callback ) & ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group