SPRUIZ1B July 2023 – August 2024 TMS320F28P650DH , TMS320F28P650DK , TMS320F28P650SH , TMS320F28P650SK , TMS320F28P659DH-Q1 , TMS320F28P659DK-Q1 , TMS320F28P659SH-Q1
Set Background Task Interrupt Mask
none | This instruction does not have any operands |
LSW: 0000 0000 0000 0000
MSW: 0111 1111 0101 0000
This instruction sets the background task interrupt mask (BGINTM) bit in the MSTSBGRND register, making any code thereafter uninterruptible. No other higher priority task is able to interrupt the background task until the BGINTM is cleared. This instruction sets the BGINTM bit at the end of the D2 phase.
This instruction does not require the MEALLOW bit to be asserted before, or de-asserted after, setting BGINTM.
This instruction does not modify the following flags in the MSTF register:
Flag | TF | ZF | NF | LUF | LVF |
---|---|---|---|---|---|
Modified | No | No | No | No | No |
This is a single-cycle instruction.
MSETC BGINTM ; Set the MSTSBGRND.BGINTM bit
; to prevent any other tasks from
; interrupting the background task