ButterflyMP3

testing.h File Reference

#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"
Include dependency graph for testing.h:
This graph shows which files directly or indirectly include this file:

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]

Define Documentation

#define FAT_TABLEBUFFERSIZE   128

Definition at line 28 of file testing.h.


Function Documentation

void dump_buffer ( uint8  lines,
uint8  buffer[] 
)

Definition at line 10 of file testing.c.

References EOL, PRINT, UART_Printfu08(), and UART_SendByte().

Referenced by MMC_tester().

Here is the call graph for this function:

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().

Here is the call graph for this function:


Variable Documentation

Definition at line 35 of file testing.h.

Definition at line 116 of file pcd8544.h.

Definition at line 37 of file testing.h.

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().

 All Files Functions Variables Typedefs Enumerations Enumerator Defines