Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Gets the FuseID of the device as ASCII hex digits. The nIndex parameter can be used if there are more than one device with a FuseID; for example in the case of an AP0200 with an AR0140 attached, nIndex = 0 will get the AP0200 FuseID, and nIndex = 1 will get the AR0140 FuseID. Use 0 in most cases. If pBuffer is NULL then the function returns the amount of memory needed.

ap_u32 ap_GetShipAddr(AP_HANDLE apbase)

Parameters

Device handle.

Return Value

Device's "Ship" address (I2C address).

Remarks

The unsigned I2C address of the device; e.g. 0x20.

void ap_SetShipAddr(AP_HANDLE apbase, ap_u32 nShipAddr)

Parameters

Device handle.
nShipAddr - unsigned I2C address to be assigned for sensor.

Remarks

Must be a possible value for the given sensor.

mi_camera_t *ap_GetMidlibCamera(AP_HANDLE apbase)

...