Update ISR functions to be compliant with low power mode operation.

This commit is contained in:
Richard Barry 2008-10-19 18:10:52 +00:00
parent 518d5e538a
commit 86edfb7dd4

View File

@ -225,6 +225,8 @@ signed portBASE_TYPE xReturn;
interrupted. */ interrupted. */
taskYIELD(); taskYIELD();
} }
__bic_SR_register_on_exit( SCG1 + SCG0 + OSCOFF + CPUOFF );
} }
/*-----------------------------------------------------------*/ /*-----------------------------------------------------------*/
@ -249,6 +251,8 @@ signed portBASE_TYPE xReturn;
/* There were no other characters to transmit. */ /* There were no other characters to transmit. */
sTHREEmpty = pdTRUE; sTHREEmpty = pdTRUE;
} }
__bic_SR_register_on_exit( SCG1 + SCG0 + OSCOFF + CPUOFF );
} }
#endif #endif