Error in the SPI definition
Posted: Sat Jul 30, 2011 10:18 pm
Hallo,
the controler is a 24FJ128GA010 on the explorer board.
I will write in a SPI EEPROM
The programm compiled with following errors:
Explorer_Test1.c: In function 'FCD_SPI_Legacy0_SPI_Init':
Explorer_Test1.c:990: error: 'SPI1CON' undeclared (first use in this function)
Explorer_Test1.c:990: error: (Each undeclared identifier is reported only once
Explorer_Test1.c:990: error: for each function it appears in.)
Explorer_Test1.c:991: error: 'SPI1CONbits' undeclared (first use in this function)
can you help me
the controler is a 24FJ128GA010 on the explorer board.
I will write in a SPI EEPROM
The programm compiled with following errors:
Explorer_Test1.c: In function 'FCD_SPI_Legacy0_SPI_Init':
Explorer_Test1.c:990: error: 'SPI1CON' undeclared (first use in this function)
Explorer_Test1.c:990: error: (Each undeclared identifier is reported only once
Explorer_Test1.c:990: error: for each function it appears in.)
Explorer_Test1.c:991: error: 'SPI1CONbits' undeclared (first use in this function)
can you help me