X<DUT>_InterruptEnable - 2021.2 Chinese

Vitis 高层次综合用户指南 (UG1399)

Document ID
UG1399
Release Date
2021-12-15
Version
2021.2 Chinese

语法

void X<DUT>_InterruptEnable(X<DUT> *InstancePtr, u32 Mask);

描述

启用中断源。可存在最多 2 个中断源(source 0 对应 ap_donesource 1 对应 ap_ready)。

InstancePtr
指向器件实例的指针。
Mask
位掩码。
  • Bit n = 1:启用中断源 n。
  • Bit n = 0:无更改。