4068| 3
|
FreeRTOS时钟节拍定时器使用 |
3金钱
最佳答案在嘀嗒定时器的中断里啊,会操作任务控制块TCB进行任务切换
void xPortSysTickHandler( void )
{
/* The SysTick runs at the lowest interrupt priority, so when this interrupt
executes all interrupts must be unmasked. There is therefore no need to
save and then restore the interrupt mask value as its value is already
known - therefore the slightly faster vPortRaiseBASEPRI() function is used
...
| ||
发表于 2019-9-18 20:58:10
|
显示全部楼层
| ||
发表于 2019-9-19 02:56:59
|
显示全部楼层
| ||
| ||
|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )
GMT+8, 2024-11-22 22:29
Powered by OpenEdv-开源电子网
© 2001-2030 OpenEdv-开源电子网