Function Description
Stops the kernel when a software exception occurs.
Function Prototype
__aicore__ inline void Trap()
Supported Models
Kirin 9020 series processors
Kirin 9030 series processors
Kirin X90 series processors
Precautions
This API is used when the kernel needs to be debugged.
Calling Example
AscendC::Trap();