Hanna
Sourcecode Batteriemanagementsystem |
Datei aus der SD-Card Reader Bibliothek von M. Junghans. Mehr ...
#include "sdcard_driver.h"
#include <avr/pgmspace.h>
#include <stdio.h>
#include <string.h>
#include <stdint.h>
#include "sdcard/fat.h"
#include "sdcard/fat_config.h"
#include "sdcard/partition.h"
#include "sdcard/sd_raw.h"
#include "sdcard/sd_raw_config.h"
gehe zum Quellcode dieser Datei
Makrodefinitionen | |
#define | DEBUG 0 |
Funktionen | |
uint16_t | file_getAnzLine (void) |
uint8_t | file_getLine (uint16_t lineNr, char *zielbuffer) |
void | file_write_line (uint16_t lineNr, const char *line) |
uint8_t | find_file_in_dir (struct fat_fs_struct *fs, struct fat_dir_struct *dd, const char *name, struct fat_dir_entry_struct *dir_entry) |
struct fat_file_struct * | open_file_in_dir (struct fat_fs_struct *fs, struct fat_dir_struct *dd, const char *name) |
uint8_t | print_disk_info (const struct fat_fs_struct *fs) |
void | sd_card_close (void) |
void | sd_card_open (void) |
void | sd_file_close (void) |
uint8_t | sd_file_delete (const char *filename) |
void | sd_file_new (const char *filename) |
int | sd_file_open (const char *filename) |
void | sd_file_write_append (const char *line) |
void | sd_get_Directory (void) |
uint8_t | sd_get_disk_info (void) |
void | set_filepointer_position (int32_t offset) |
uint32_t | strtolong (const char *str) |
Variablen | |
uint8_t | card_open = 0 |
struct fat_dir_struct * | dd |
struct fat_dir_entry_struct | dir_entry |
struct fat_dir_entry_struct | directory |
struct fat_file_struct * | fd |
struct fat_dir_entry_struct | file_entry |
uint8_t | file_open = 0 |
struct fat_fs_struct * | fs |
struct partition_struct * | partition |
Datei aus der SD-Card Reader Bibliothek von M. Junghans.
$Revision: 448 $ $Date: 2016-04-01 19:38:34 +0200 (Fri, 01 Apr 2016) $
In dieser Datei sind Funktionen enthalten, die eine einfache Anwendung der FAT-Funktionen aus der Bibliothek von Roland Riegel ermöglichen.
Es ist nur ein Teil des Funktionsumfangs enthalten:
Definiert in Datei sdcard_driver.c.