mikroC
- C Compiler for Microchip PIC microcontrollers
mikroC
making it simple...
16 4
MikroElektronika:
Development
tools
-
Books
-
Compilers
page
Prototype
void Cf_Enable(void);
Description Enables the device. Routine needs to be called only if you have disabled the device by
means of Cf_Disable. These two routines in conjuction allow you to free/occupy data
line when working with multiple devices. Check the example at the end of the chapter.
Requires Ports must be initialized. See Cf_Init.
Example
Cf_Enable();
Cf_Enable
Prototype
void Cf_Read_Init(long address, char sectcnt);
Description Initializes CF card for reading. Parameter address specifies sector address from where
data will be read, and
sectcnt is the number of sectors prepared for reading operation.
Requires Ports must be initialized. See Cf_Init.
Example
Cf_Read_Init(590, 1);
Cf_Read_Init
Prototype
void Cf_Disable(void);
Description Routine disables the device and frees the data line for other devices. To enable the
device again, call Cf_Enable. These two routines in conjuction allow you to free/occu-
py data line when working with multiple devices. Check the example at the end of the
chapter.
Requires Ports must be initialized. See Cf_Init.
Example
Cf_Disable();
Cf_Disable