Type Definition

ResetCallback

using tcim::dev_ctrl::ResetCallback = std::function<void(int)>

A callback invoked during Houmo device reset sequences.

This type defines the signature for any callable used to receive reset notifications.

Param device_id:

[in] The logical ID of the Houmo device to be reset. Each physical Houmo chip is identified as an independent logical device. On a multi-chip product, the system assigns a separate logical ID to every individual Houmo chip.

ResetCallbackHandle

using tcim::dev_ctrl::ResetCallbackHandle = uint64_t

An opaque handle representing a callback registration. This handle is generated by HalDevice::RegisterPreResetCallback and HalDevice::RegisterPostResetCallback and is required to unregister the callback.