??? 01/05/06 19:08 Read: times |
#106625 - I used CA Responding to: ???'s previous message |
Here is the code
void spi_init(void) { SPCTL = 0xD7;// configure SPI mspibusy = 0;// SPI initially not busy IP1 &= ~0x08; // set SPI interrupt priority to 0 IP1H &= ~0x08; ESPI = 1; // enable SPI interrupt } // spi_init |