read 24 bit counter value error

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

unsigned long value;

   

void main(void)

   

{

   

   Counter24_1_start();

   

  Counter24_1_ReadCounter(value);

   

}

   
    

W E:\YVRAO\psocexam\COUNTE~1\COUNTE~1\main.c(11):[warning] calling a function without prototype may cause runtime errors if the function does not return int or unsigned int

!E E:\YVRAO\psocexam\COUNTE~1\COUNTE~1\main.c(12): type error in argument 1 to `Counter24_1_ReadCounter'; found `unsigned long' expected `pointer to unsigned long'

C:\PROGRA~1\Cypress\Common\CYPRES~3\tools\make: *** [obj/main.o] Error 1

 counter24bit - 2 error(s) 1 warning(s) 19:49:52

   
0 Likes
2 Replies
Anonymous
Not applicable
0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Bob Marlowe answered this www.cypress.com/

   

 

   

Regards, Dana.

0 Likes