Abl-electronic PIC Microcontrollers PIC16 Bedienungsanleitung Seite 172

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 312
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 171
mikroC
- C Compiler for Microchip PIC microcontrollers
mikroC
making it simple...
164
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
Seitenansicht 171
1 2 ... 167 168 169 170 171 172 173 174 175 176 177 ... 311 312

Kommentare zu diesen Handbüchern

Keine Kommentare