Author |
Message |
Topic: Array of pointers to functions in struct |
ysern
Replies: 10
Views: 22622
|
Forum: 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
|
Forum: 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
|
Forum: 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
|
Forum: 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 ) & ... |
|