Some old AVR projects
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
269 B

#ifndef SPI_H
#define SPI_H
#include <stdint.h>
void spi_initialize();
void spi_set_divisor(unsigned int divisor);
void spi_cs_assert();
void spi_cs_deassert();
void spi_send_byte(uint8_t input);
uint8_t spi_rcv_byte();
void spi_enable();
void spi_disable();
#endif