MikroElektronika PIC Microcontrollers PIC16 Bedienungsanleitung Seite 119

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 172
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 118
sub procedure CANSetOperationMode(dim mode as byte, dim WAIT as byte)
mode - Operation mode code can take any of predefined constant values
(see the constants below)
WAIT - Should have value TRUE(255) or FALSE(0)
CAN is set to requested mode
Given mode byte is copied to CANSTAT
If WAIT is true, this is a blocking call. It won't return until requested mode is set.
If WAIT is false, this is a non-blocking call. It does not verify if CAN module is
switched to requested mode or not. Caller must use CANGetOperationMode() to
verify correct operation mode before performing mode specific operation.
sub function CANGetOperationMode as byte
None
Current operational mode of CAN module is returned
mikroBASIC
- Basic Compiler for Microchip PIC microcontrollers
114
mikroBASIC
MikroElektronika: Development tools - Books - Compilers
making it simple...
page
Prototype:
Parameters:
Effects:
Overview:
Note:
CANSetOperationMode
CANGetOperationMode
Prototype:
Parameters:
Output:
Seitenansicht 118
1 2 ... 114 115 116 117 118 119 120 121 122 123 124 ... 171 172

Kommentare zu diesen Handbüchern

Keine Kommentare