26 #ifndef SDLOGGER_SPI_H
27 #define SDLOGGER_SPI_H
29 #define SDLOGGER_BUFFER_SIZE 128
enum SDLoggerStatus status
uint8_t buffer[SDLOGGER_BUFFER_SIZE]
struct link_device device
void sdlogger_spi_direct_init(void)
sdlogger_spi_direct_init Initialize the logger and SD Card.
uint32_t next_available_address
#define SDLOGGER_BUFFER_SIZE
void sdlogger_spi_direct_send_message(void *p)
uint8_t sdlogger_spi_direct_get_byte(void *p)
int sdlogger_spi_direct_char_available(void *p)
void sdlogger_spi_direct_stop(void)
void sdlogger_spi_direct_command(void)
void sdlogger_spi_direct_multiwrite_written(void)
sdlogger_spi_direct_multiwrite_written Called when a multiwrite is complete.
void sdlogger_spi_direct_index_received(void)
sdlogger_spi_direct_index_received Callback from SD Card when block at index location is received...
Interface for reading and writing blocks of data to and from an SD card directly over SPI...
void sdlogger_spi_direct_periodic(void)
sdlogger_spi_direct_periodic Periodic function called at module frequency
uint32_t download_address
struct sdlogger_spi_periph sdlogger_spi
void sdlogger_spi_direct_start(void)
void sdlogger_spi_direct_put_byte(struct sdlogger_spi_periph *p, uint8_t data)
bool_t sdlogger_spi_direct_check_free_space(struct sdlogger_spi_periph *p, uint8_t len)