HI Friends,
I am using AT91SAM7SE512 controller, i have configured the input in port B.while compiling the program i am getting this warning.
main.c(8): warning: #61-D: integer operation result is out of range main.c(8): warning: #68-D: integer conversion resulted in a change of sign.
If anybody knows about this bug Please help me to rectify.
The code is
#define test (1<<31) //PB31
int main() { // Enable the clock of the PIOB for led and PIO for Switch
AT91F_PMC_EnablePeriphClock ( AT91C_BASE_PMC, 1 << AT91C_ID_PIOB) ; AT91F_PIO_CfgInput (AT91C_BASE_PIOB , test );
} with regards, Nanju...