硬汉嵌入式论坛

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

[ThreadX全家桶] ThreadX支持的中断API列表

[复制链接]

1万

主题

6万

回帖

10万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
107265
QQ
发表于 2020-6-4 15:18:01 | 显示全部楼层 |阅读模式

像RTX4,FreeRTOS都是区分中断里面调用的API和任务里面调用的API。

而uCOS-II/III,RTX5是不区分这个,ThreadX也是这样的。



支持中断里面调用的API如下:

tx_block_allocate
tx_block_pool_info_get
tx_block_pool_prioritize
tx_block_pool_performance_info_get
tx_block_pool_performance_system_info_get
tx_block_release
tx_byte_pool_info_get
tx_byte_pool_performance_info_get
tx_byte_pool_performance_system_info_get
tx_byte_pool_prioritize
tx_event_flags_info_get
tx_event_flags_get
tx_event_flags_set
tx_event_flags_performance_info_get
tx_event_flags_performance_system_info_get
tx_event_flags_set_notify
tx_interrupt_control
tx_mutex_performance_info_get
tx_mutex_performance_system_info_get
tx_queue_front_send
tx_queue_info_get
tx_queue_performance_info_get
tx_queue_performance_system_info_get
tx_queue_prioritize
tx_queue_receive
tx_queue_send
tx_semaphore_get
tx_queue_send_notify
tx_semaphore_ceiling_put
tx_semaphore_info_get
tx_semaphore_performance_info_get
tx_semaphore_performance_system_info_get
tx_semaphore_prioritize
tx_semaphore_put
tx_thread_identify
tx_semaphore_put_notify
tx_thread_entry_exit_notify
tx_thread_info_get
tx_thread_resume
tx_thread_performance_info_get
tx_thread_performance_system_info_get
tx_thread_stack_error_notify
tx_thread_wait_abort
tx_time_get
tx_time_set
tx_timer_activate
tx_timer_change
tx_timer_deactivate
tx_timer_info_get
tx_timer_performance_info_get
tx_timer_performance_system_info_get  


Pend挂起类API在中断里面调用必须设置为TX_NO_WAIT。








回复

使用道具 举报

0

主题

11

回帖

11

积分

新手上路

积分
11
发表于 2020-6-4 15:55:37 | 显示全部楼层
沙发
回复

使用道具 举报

6

主题

642

回帖

660

积分

金牌会员

积分
660
QQ
发表于 2020-6-4 16:38:31 | 显示全部楼层
NICE
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-23 22:47 , Processed in 0.148066 second(s), 25 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2023, Tencent Cloud.

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