ButterflyMP3
|
#include <avr/io.h>
#include <avr/pgmspace.h>
#include <avr/interrupt.h>
#include "types.h"
#include "uart.h"
#include "delay.h"
#include "vs1001.h"
#include "mmc.h"
#include "avrfat16.h"
#include "button.h"
#include "pcd8544.h"
#include "lcdgraphics.h"
Go to the source code of this file.
Defines | |
#define | FAT_TABLEBUFFERSIZE 128 |
Functions | |
void | dump_buffer (uint8 lines, uint8 buffer[]) |
uint8 | MMC_tester (void) |
uint8 | FAT_tester (void) |
Variables | |
uint8 | mmc_sbuf [] |
512 byte sector buffer in internal RAM | |
uint8 | fbXY [] |
uint16 | fat_sectors [128] |
uint8 | longfilename [260] |
Definition at line 10 of file testing.c.
References EOL, PRINT, UART_Printfu08(), and UART_SendByte().
Referenced by MMC_tester().
uint8 FAT_tester | ( | void | ) |
Definition at line 117 of file testing.c.
References EOL, FAT16_cluster_begin_lba, FAT16_fat_begin_lba, FAT16_root_dir_first_sector, FAT16_sectors_per_cluster, FAT_buffer, FAT_initFat16(), FAT_read, FAT_write, FILE_TYPE_DIR, FILE_TYPE_FILE, MMC_Read(), MMC_Reset(), mmc_sbuf, mmc_scratch, PRINT, UART_Printfu08(), UART_Printfu32(), and UART_Puts().
uint8 MMC_tester | ( | void | ) |
Definition at line 37 of file testing.c.
References dump_buffer(), EOL, MMC_Check(), MMC_Read(), MMC_Reset(), mmc_sbuf, mmc_scratch, PRINT, UART_Printfu08(), UART_Printfu16(), UART_Printfu32(), and UART_Puts().
uint16 fat_sectors[128] |
uint8 longfilename[260] |
512 byte sector buffer in internal RAM
Definition at line 58 of file mmc.c.
Referenced by FAT_tester(), init_HW(), MMC_Read(), and MMC_tester().