PER Firmware
Loading...
Searching...
No Matches
sd_card.h File Reference

Logging of received bus messages onto an SD card. More...

#include "external/fatfs/ff.h"
#include "common/freertos/freertos.h"

Go to the source code of this file.

Classes

struct  SD_manager_t
 

Enumerations

enum  sd_state_t { SD_STATE_IDLE = 0 , SD_STATE_MOUNTED = 1 , SD_STATE_ACTIVE = 2 }
 
enum  sd_error_t {
  SD_ERROR_NONE = 0 , SD_ERROR_MOUNT = 1 , SD_ERROR_FOPEN = 2 , SD_ERROR_FCLOSE = 3 ,
  SD_ERROR_WRITE = 4 , SD_ERROR_DETEC = 5 , SD_ERROR_SYNC = 6
}
 

Functions

bool daq_request_sd_mount (void)
 
void sd_shutdown (void)
 
void sd_update_periodic (void)
 

Variables

SD_manager_t sd_manager
 

Detailed Description

Logging of received bus messages onto an SD card.

Author
Irving Wang (irvin.nosp@m.gw@p.nosp@m.urdue.nosp@m..edu)
Eileen Yoon (eyn@p.nosp@m.urdu.nosp@m.e.edu)
Luke Oxley (lcoxl.nosp@m.ey@p.nosp@m.urdue.nosp@m..edu)