FreeRTOS
vTaskSwitchContext()
is only used within FreeRTOS.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
Raspberry Pi Pico SDK and Examples
FreeRTOS
vTaskSwitchContext()
vTaskSwitchContext() function
Syntax
Show:
Summary
Declaration
Definition
from
task.h:3578
portDONT_DISCARD
void
vTaskSwitchContext
(
BaseType_t
xCoreID
)
;
Implemented in
tasks.c:5153
Arguments
Argument
xCoreID
Examples
References
from
examples
Code
Location
Referrer
void
vTaskSwitchContext
(
void
)
tasks.c:5068
void
vTaskSwitchContext
(
BaseType_t
xCoreID
)
tasks.c:5153
portDONT_DISCARD
void
vTaskSwitchContext
(
void
)
PRIVILEGED_FUNCTION
;
task.h:3576
portDONT_DISCARD
void
vTaskSwitchContext
(
BaseType_t
xCoreID
)
PRIVILEGED_FUNCTION
;
task.h:3578
vTaskSwitchContext
(
portGET_CORE_ID
(
)
)
;
port.c:352
xPortStartSchedulerOnCore()
vTaskSwitchContext
(
)
;
port.c:436
xPortStartScheduler()
Call Tree
from
examples
vTaskSwitchContext()
is called by 2 functions and calls 5 functions:
xPortStartSchedulerOnCore()
xPortStartScheduler()
All items filtered out
vTaskSwitchContext()
spin_lock_instance()
vPortRecursiveLock()
get_core_num()
__assert_func()
prvSelectHighestPriorityTask()
All items filtered out
Data Use
from
examples
vTaskSwitchContext()
reads 11 variables and writes 2 variables:
xLIST_ITEM::pxNext
xLIST_ITEM::pvOwner
xMINI_LIST_ITEM::pxNext
xLIST::pxIndex
xLIST::xListEnd
pxCurrentTCB
uxTopReadyPriority
xYieldPendings
uxSchedulerSuspended
uxCriticalNestings
pxCurrentTCBs
All items filtered out
vTaskSwitchContext()
xLIST::pxIndex
uxTopReadyPriority
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out