Prosoft-technology MVI69-ADM Instrukcja Użytkownika Strona 166

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 342
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 165
Application Development Function Library - ADM API MVI-ADM 'C' Programmable
Developer's Guide 'C' Programmable Application Development Module
Page 166 of 342 ProSoft Technology, Inc.
February 20, 2013
ADM_DBXNOR_Byte
Syntax
int ADM_DBXNOR_Byte(ADMHANDLE adm_handle, int offset, unsigned char bval)
Parameters
adm_handle
Handle returned by previous call to ADM_Open
offset
Byte offset into database
bval
Bit mask to be XNORed with the byte at offset
Description
This function XNORs a byte in the database with a byte-long bit mask.
adm_handle must be a valid handle returned from ADM_Open.
Return Value
ADM_SUCCESS
No errors were encountered
ADM_ERR_NOACCESS
adm_handle does not have access
ADM_ERR_MEMORY
database is not allocated
ADM_ERR_REG_RANGE
offset is out of range
Example
ADMHANDLE adm_handle;
int offset;
unsigned char bval = 0x55;
ADM_DBXNOR_Byte(adm_handle, offset, bval);
Przeglądanie stron 165
1 2 ... 161 162 163 164 165 166 167 168 169 170 171 ... 341 342

Komentarze do niniejszej Instrukcji

Brak uwag