Lines Matching +full:runs +full:- +full:on

5  * SPDX-License-Identifier: MIT
29 /*-----------------------------------------------------------
31 *----------------------------------------------------------*/
41 …LL_INTERRUPT_PRIORITY must not be set to 0. See http: /*www.FreeRTOS.org/RTOS-Cortex-M3-M4.html */
87 /* The systick is a 24-bit counter. */
95 /* For strict compliance with the Cortex-M spec the task start address should
96 * have bit-0 clear, as it is loaded into the PC on exit from an ISR. */
138 /*-----------------------------------------------------------*/
178 /*-----------------------------------------------------------*/
189 …pxTopOfStack--; /* Offset added to account fo… in pxPortInitialiseStack()
191 pxTopOfStack--; in pxPortInitialiseStack()
193 pxTopOfStack--; in pxPortInitialiseStack()
195 pxTopOfStack -= 5; /* R12, R3, R2 and R1. */ in pxPortInitialiseStack()
197 …pxTopOfStack -= 8; /* R11, R10, R9, R8, R7, R6, … in pxPortInitialiseStack()
201 /*-----------------------------------------------------------*/
218 /*-----------------------------------------------------------*/
227 * 1. Direct Routing - Install the functions vPortSVCHandler and in xPortStartScheduler()
229 * 2. Indirect Routing - Install separate handlers for SVCall and PendSV in xPortStartScheduler()
281 /* Use the same mask on the maximum system call priority. */ in xPortStartScheduler()
289 * See https://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html */ in xPortStartScheduler()
308 * the software to configure PRIGROUP to not have sub-priorities. As in xPortStartScheduler()
309 * a result, the least significant bit is always used for sub-priority in xPortStartScheduler()
310 * and there are 128 preemption priorities and 2 sub-priorities. in xPortStartScheduler()
312 * This may cause some confusion in some cases - for example, if in xPortStartScheduler()
321 * The following assert ensures that the sub-priority bit in the in xPortStartScheduler()
329 ulMaxPRIGROUPValue = portMAX_PRIGROUP_BITS - ulImplementedPrioBits; in xPortStartScheduler()
362 /*-----------------------------------------------------------*/
370 /*-----------------------------------------------------------*/
387 /*-----------------------------------------------------------*/
392 uxCriticalNesting--; in vPortExitCritical()
399 /*-----------------------------------------------------------*/
403 /* The SysTick runs at the lowest interrupt priority, so when this interrupt in xPortSysTickHandler()
426 /*-----------------------------------------------------------*/
451 /* Re-enable interrupts - see comments above the __disable_interrupt() in vPortSuppressTicksAndSleep()
463 /* Use the SysTick current-value register to determine the number of in vPortSuppressTicksAndSleep()
465 * current-value register is zero, then there are actually in vPortSuppressTicksAndSleep()
476 * tick periods. -1 is used because this code normally executes part in vPortSuppressTicksAndSleep()
481 …lReloadValue = ulSysTickDecrementsLeft + ( ulTimerCountsForOneTick * ( xExpectedIdleTime - 1UL ) ); in vPortSuppressTicksAndSleep()
486 ulReloadValue -= ulTimerCountsForOneTick; in vPortSuppressTicksAndSleep()
491 ulReloadValue -= ulStoppedTimerCompensation; in vPortSuppressTicksAndSleep()
521 /* Re-enable interrupts to allow the interrupt that brought the MCU in vPortSuppressTicksAndSleep()
553 …ulCalculatedLoadValue = ( ulTimerCountsForOneTick - 1UL ) - ( ulReloadValue - portNVIC_SYSTICK_CUR… in vPortSuppressTicksAndSleep()
557 * that took too long or because the SysTick current-value register in vPortSuppressTicksAndSleep()
561 ulCalculatedLoadValue = ( ulTimerCountsForOneTick - 1UL ); in vPortSuppressTicksAndSleep()
569 ulCompleteTickPeriods = xExpectedIdleTime - 1UL; in vPortSuppressTicksAndSleep()
575 /* Use the SysTick current-value register to determine the in vPortSuppressTicksAndSleep()
581 /* If the SysTick is not using the core clock, the current- in vPortSuppressTicksAndSleep()
596 …ulCompletedSysTickDecrements = ( xExpectedIdleTime * ulTimerCountsForOneTick ) - ulSysTickDecremen… in vPortSuppressTicksAndSleep()
604 …CK_LOAD_REG = ( ( ulCompleteTickPeriods + 1UL ) * ulTimerCountsForOneTick ) - ulCompletedSysTickDe… in vPortSuppressTicksAndSleep()
607 /* Restart SysTick so it runs from portNVIC_SYSTICK_LOAD_REG again, in vPortSuppressTicksAndSleep()
618 portNVIC_SYSTICK_LOAD_REG = ulTimerCountsForOneTick - 1UL; in vPortSuppressTicksAndSleep()
633 portNVIC_SYSTICK_LOAD_REG = ulTimerCountsForOneTick - 1UL; in vPortSuppressTicksAndSleep()
647 /*-----------------------------------------------------------*/
669 portNVIC_SYSTICK_LOAD_REG = ( configSYSTICK_CLOCK_HZ / configTICK_RATE_HZ ) - 1UL; in vPortSetupTimerInterrupt()
672 /*-----------------------------------------------------------*/
711 * https://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html in vPortValidateInterruptPriority()
718 * define the interrupt's pre-emption priority bits and bits that define in vPortValidateInterruptPriority()
719 * the interrupt's sub-priority. For simplicity all bits must be defined in vPortValidateInterruptPriority()
720 * to be pre-emption priority bits. The following assertion will fail if in vPortValidateInterruptPriority()
721 * this is not the case (if some bits represent a sub-priority). in vPortValidateInterruptPriority()
724 * configuration then the correct setting can be achieved on all Cortex-M in vPortValidateInterruptPriority()
727 * assume a non-zero priority group setting, in which cases using a value in vPortValidateInterruptPriority()