atadev.h File Reference
Detailed Description
Definition in file atadev.h.
#include "global.h"
#include "membus.h"
#include "device.h"
#include "atadevconf.h"
Go to the source code of this file.
|
Defines |
#define | ATA_REG_DATA 0x00 |
#define | ATA_REG_ERROR 0x01 |
#define | ATA_REG_SECCOUNT 0x02 |
#define | ATA_REG_STARTSEC 0x03 |
#define | ATA_REG_CYLLO 0x04 |
#define | ATA_REG_CYLHI 0x05 |
#define | ATA_REG_HDDEVSEL 0x06 |
#define | ATA_REG_CMDSTATUS1 0x07 |
#define | ATA_REG_CMDSTATUS2 0x08 |
#define | ATA_REG_ACTSTATUS 0x09 |
Functions |
int | atadevInit (void) |
int | atadevReset (void) |
u08 | atadevReadReg (u16 reg) |
void | atadevWriteReg (u16 reg, u08 data) |
int | atadevReadData (u08 *buffer, int numBytes) |
int | atadevWriteData (u08 *buffer, int numBytes) |
Variables |
const DevBlock_t | DevBlockAta |
Generated on Mon Nov 6 23:37:00 2006 for Procyon ARMlib by
1.4.2