You are here

read 24 bit counter value error | Cypress Semiconductor

read 24 bit counter value error

Summary: 2 Replies, Latest post by danaaknight on 14 Mar 2013 05:51 AM PDT
Verified Answers: 0
Last post
Log in to post new comments.
YVRAO's picture
56 posts



unsigned long value;

void main(void)





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

rjvb's picture
Cypress Employee
90 posts
user_14586677's picture
7646 posts

Bob Marlowe answered this


Regards, Dana.

Log in to post new comments.