MikroElektronika PIC Microcontrollers PIC16 Fiche technique Page 86

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 194
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 85
Programming PIC Microcontrollers in BASIC - mikroElektronika
Prototype
sub procedure CF_WRITE_INIT(dim byref CtrlPort as byte, dim byref DataPort as
byte, dim Adr as longint, dim SectCnt as byte)
Description The procedure initializes CF card for writing. Ports need to be initialized.
Parameters:
CtrlPort - control port,
DataPort - data port,
k - specifies sector address from where data will be written,
SectCnt - parameter is total number of sectors prepared for write.
Example
CF_Write_Init(PORTB, PORTD, 590, 1) ' Initialize write at sector address 590
' of 1 sector (512 bytes)
5.2.5.4 CF_Write_Byte – Writes 1 byte to CF
Prototype
sub procedure CF_WRITE_BYTE(dim byref CtrlPort as byte, dim byref DataPort as
byte, dim BData as byte)
http://www.mikroelektronika.co.yu/english/product/books/picbasicbook/05.htm (44 sur 112)05/11/2004 02:20:52
Vue de la page 85
1 2 ... 81 82 83 84 85 86 87 88 89 90 91 ... 193 194

Commentaires sur ces manuels

Pas de commentaire