硬汉嵌入式论坛

 找回密码
 立即注册
查看: 348|回复: 1
收起左侧

[RTOS] 【STM32CUBEMX+FreeRTOS】事件组不能在中断调用osEventFlagsSet

[复制链接]

8

主题

157

回帖

181

积分

初级会员

积分
181
发表于 2023-10-7 10:33:12 | 显示全部楼层 |阅读模式
本帖最后由 yunqi 于 2023-10-7 10:35 编辑

是否其它OS也这样。
大家知道具体原因吗?

回复

使用道具 举报

1万

主题

6万

回帖

10万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
106678
QQ
发表于 2023-10-7 10:59:03 | 显示全部楼层
可以调用,RTX5没问题的,你这个你查下怎么回事,支持在中断里面调用的API如下:
osKernelGetInfo, osKernelGetState, osKernelGetTickCount, osKernelGetTickFreq, osKernelGetSysTimerCount, osKernelGetSysTimerFreq
osThreadGetId, osThreadFlagsSet
osEventFlagsSet, osEventFlagsClear, osEventFlagsGet, osEventFlagsWait
osSemaphoreAcquire, osSemaphoreRelease, osSemaphoreGetCount
osMemoryPoolAlloc, osMemoryPoolFree, osMemoryPoolGetCapacity, osMemoryPoolGetBlockSize, osMemoryPoolGetCount, osMemoryPoolGetSpace
osMessageQueuePut, osMessageQueueGet, osMessageQueueGetCapacity, osMessageQueueGetMsgSize, osMessageQueueGetCount, osMessageQueueGetSpace
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|Archiver|手机版|硬汉嵌入式论坛

GMT+8, 2024-4-29 09:26 , Processed in 0.159347 second(s), 26 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表