mikroC
mikroC - C Compiler for Microchip PIC microcontrollers
making it simple...
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_DisablePrototype | 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_Read_Init
|
| 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); |
|
|
|
|
|
|
|
|
|
| page |
|
|
|
|
|
|
| ||
164 | MikroElektronika: Development tools - Books - Compilers | ||||
|
|
|