Emulator for the Sharp CE-140F Diskette Driver

Dependencies:   mbed SDFileSystem

This is an attempt (for the time being, it isn't complete yet!) of emulating the Sharp CE-140F disk drive with a Nucleo board, attached to a Sharp Pocket Computer though its platform-proprietary 11-pin interface.

commands.h

Committer:
ffxx68
Date:
21 months ago
Revision:
8:70f13d97eb44
Parent:
7:0243d36a655a

File content as of revision 8:70f13d97eb44:

#ifndef COMMANDS_H
#define COMMANDS_H

#include "mbed.h"

#define BUF_SIZE 256 // comms data depth

extern volatile char     inDataBuf[];
extern volatile char     outDataBuf[];
extern volatile uint16_t inBufPosition;
extern volatile uint16_t outBufPosition;
extern volatile uint8_t  checksum;

void ProcessCommand ( void ) ;

#endif