EasyManua.ls Logo

Texas Instruments TMS320C67X - Page 407

Texas Instruments TMS320C67X
465 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Globally Enabling and Disabling Interrupts
Interrupts5-12 SPRU733
Example 5−2. Code Sequence to Disable Maskable Interrupts Globally
MVC CSR,B0 ; get CSR
AND -2,B0,B0 ; get ready to clear GIE
MVC B0,CSR ; clear GIE
Example 5−3. Code Sequence to Enable Maskable Interrupts Globally
MVC CSR,B0 ; get CSR
OR 1,B0,B0 ; get ready to set GIE
MVC B0,CSR ; set GIE