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.
23 lines
412 B
23 lines
412 B
// SD Controller for Computer "Specialst"
|
|
// (c) 26-05-2013 vinxru (aleksey.f.morozov@gmail.com)
|
|
|
|
// Based on sources CC Dharmani, Chennai (India)
|
|
// 1 May 2013 vinxru
|
|
|
|
#ifndef _SPI_ROUTINES_H_
|
|
#define _SPI_ROUTINES_H_
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <stdint.h>
|
|
|
|
void spi_init();
|
|
uint8_t spi_transmit(uint8_t);
|
|
uint8_t spi_receive();
|
|
void spi_highSpeed();
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|