33 #include "contiki-conf.h"
42 unsigned char spi_busy = 0;
52 DDRB |= BV(MOSI) | BV(SCK) | BV(CSN);
53 PORTB |= BV(MOSI) | BV(SCK);
56 SPCR = BV(SPE) | BV(MSTR);
#define PORTB
Peripheral PORTB base pointer.
void spi_init(void)
Initialize the SPI bus.