struct cyhal_resource_inst_t

Represents a particular instance of a resource on the chip.

Application code should not rely on the specific contents of this struct. They are considered an implementation detail which is subject to change between platforms and/or HAL releases.

Public Members

cyhal_resource_t type

The resource block type.

uint8_t block_num

The resource block index.

uint8_t channel_num

The channel number, if the resource type defines multiple channels per block instance.

Otherwise, 0