Monitoring RCON register
Posted: Mon May 30, 2011 10:46 am
Hello everybody!
I would like to monitor the RCON register, so I put a C function call block with only one Output (output size 1 et output type uint16) and the function name is called 'reset_function'. I did this very simple C program :
but it doesn't compile...what's wrong? Thanks for your help!
I would like to monitor the RCON register, so I put a C function call block with only one Output (output size 1 et output type uint16) and the function name is called 'reset_function'. I did this very simple C program :
Code: Select all
#include <p30f2010.h>
extern uint16_T reset_function(void) {
return RCON;
}
but it doesn't compile...what's wrong? Thanks for your help!