SPRUII0F May 2019 – June 2024 TMS320F28384D , TMS320F28384D-Q1 , TMS320F28384S , TMS320F28384S-Q1 , TMS320F28386D , TMS320F28386D-Q1 , TMS320F28386S , TMS320F28386S-Q1 , TMS320F28388D , TMS320F28388S
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