Kontron KEAPI Manual de usuario Pagina 27

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 37
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 26
Software specification for Kontron EAPI
27
2.13.3 KEApiStorageRead
KEAPI_CALLTYPE KEAPI_UINT32 KEApiStorageRead (
KEAPI_UINT32 boardHandle,
KEAPI_INT32 storageNr,
KEAPI_INT32 offset,
KEAPI_PUINT8 pData,
KEAPI_INT32 dataLength
);
Description:
Reads block of bytes from selected EEPROM.
Parameters:
in/out
Parameter name
Description
in
boardHandle
Handle of the selected board
in
storageNr
EEPROM storage number (starts from 0). Number of storage
areas can be obtained
from KEApiGetStorageCount function
in
offset
Start address offset
out
pData
Pointer to buffer that receives data
in
dataLength
Number of bytes to read
2.13.4 KEApiStorageWrite
KEAPI_CALLTYPE KEAPI_UINT32 KEApiStorageWrite (
KEAPI_UINT32 boardHandle,
KEAPI_INT32 storageNr,
KEAPI_INT32 offset,
KEAPI_PUINT8 pData,
KEAPI_INT32 dataLength
);
Description:
Writes block of bytes to selected EEPROM.
Parameters:
in/out
Parameter name
Description
in
boardHandle
Handle of selected board
in
storageNr
EEPROM storage number. Number of storage areas can be
obtained
from KEApiGetStorageCount function
in
offset
Start address offset
in
pData
Pointer to buffer that contains data to write to EEPROM
in
dataLength
Number of bytes to write
2.14 I2C
2.14.1 KEApiGetI2cBusCount
KEAPI_CALLTYPE KEAPI_UINT32 KEApiGetI2cBusCount (
KEAPI_UINT32 boardHandle,
KEAPI_PUCHAR pI2cBusCount
);
Description:
Function for getting number of active I2C buses.
Vista de pagina 26
1 2 ... 22 23 24 25 26 27 28 29 30 31 32 ... 36 37

Comentarios a estos manuales

Sin comentarios