mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-09 23:57:49 -04:00
Update ISR functions to be compliant with low power mode operation.
This commit is contained in:
parent
518d5e538a
commit
86edfb7dd4
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue