Access Restricted

This page contains internal documentation that is not publicly available.


DHWCtrl.FlashActivate

Apply the pin configuration named Pinset and bring up the flash slot on Index. Returns the slot geometry (SectorSize, SectorCount) so the host can size FlashRead / FlashWrite / FlashErase calls without carrying the geometry out-of-band.

Properties

Parameters (request frame)

Name Type/Size Description
Index Integer (8 bits) Zero-based instance index within this peripheral category. The valid range is firmware / hardware-variant specific; discoverable via ListPeripherals.
Pinset Enumeration (8 bits) Ordinal index into the firmware's per-peripheral pinset array (mirrors a pinctrl-names entry). The valid set per peripheral instance is discoverable via ListPeripherals.
Values (8):
  • Pinset0 (0x00)
  • Pinset1 (0x01)
  • Pinset2 (0x02)
  • Pinset3 (0x03)
  • Pinset4 (0x04)
  • Pinset5 (0x05)
  • Pinset6 (0x06)
  • Pinset7 (0x07)

Returned values (response frame)

Name Type/Size Description
SectorSize Integer (16 bits) Size of one sector in bytes. All FlashRead / FlashWrite / FlashErase transfers are expressed in whole sectors of this size.
SectorCount Integer (32 bits) Total number of sectors in the slot. Valid Sector indices are 0 .. SectorCount - 1.