|
|
|
|
|
|
|
||
|
||
|
|
||
February 1999 |
Revision 1.02 |
|
Persistor Instruments Inc. |
© 1998 All rights reserved. |
|
The public CompactFlash functions described here augment and support the ATA functions that you would use for low level CF access. Except for CFCardDetect, you will probably need to directly access these function even less than the ATA functions which caution you to work at a higher level through the standard C libraries.
This function tells the CF driver to attempt write without erase operations on Persistor brand CompactFlash cards for faster write performance at the expense of longer initialization times.
|
Prototype: |
void CFAutoWrNoEra(void); |
|
Definition: |
#include <cf1bios.h> |
|
Notes: |
1. Cards must be pre-erased to take advantage of this
feature. |
|
Timing: |
unspecified |
This function returns true if a memory card is inserted in the CompactFlash header.
|
Prototype: |
bool CFCardDetect(void); |
|
Definition: |
#include <cf1bios.h> |
|
Returns: |
true if a card is in the CompactFlash header, false if it is not |
|
Notes: |
this is simply an electro-mechanical check and does not interrogate the card to determine its viability |
|
Timing: |
less than 20us at 16MHz |
This function.
|
Prototype: |
void CFEnable(bool on); |
|
Definition: |
#include <cf1bios.h> |
|
Notes: |
|
|
Timing: |
unspecified |
The function returns an anonymous pointer that is used by the ATA driver to access the actual CompactFlash I/O primitives. Refer to the ATA section for more information.
|
Prototype: |
void *CFGetDriver(void); |
|
Definition: |
#include <cf1bios.h> |
|
Notes: |
see ATA |
|
Timing: |
less than 20us at 16MHz |
This function sets up the 68338 chip select hardware to operate on memory cards in the CF1 CompactFlash header. You will never need to explicitly call this function, and its description is included here so that when you see this function listed in the function table, you won't wonder if this is something you need to do. Calling this function more than once has no effect.
|
Prototype: |
void CFInit(void); |
|
Definition: |
#include <cf1bios.h> |
|
Notes: |
called automatically at BIOS startup |
|
Timing: |
unspecified |
|
|
|
|
|
|
Tel: 508-759-6434 |
|
Fax: 508-759-6436 |
|
|
||