您好,欢迎光临本网站![请登录][注册会员]  
文件名称: Freescale MQX™ RTOS Reference Manual
  所属分类: 其它
  开发工具:
  文件大小: 1mb
  下载次数: 0
  上传时间: 2019-03-23
  提 供 者: hebut******
 详细说明:Freescale MQX™RTOS Reference Manual用户参考手册,英文版,500页。Revision History o provide the most up-to-date information, the revision of our documents on the World Wide Web is the most current. Your printed copy may be an earlier revision To verify you have the latest information available, refer to freescale. com and navigate to design resources> Software and toolsAll Software and Tools>Freescale MQX Software Solutions he following revision history table summarizes changes contained in this document Revision Revision Number Date Description of Changes Rev. o 01/2009 Initial Release coming with MQX RTOS version 3.0 Rev. 1 05/2009 Minor formatting updates Rev. 2 09/2009 Formatting significantly updated for MQX RTOS version 3. 4 Release. Autoclear feature of lwevent described (event_set_auto-clear) Rev 3 01/2010 Update coming with MQX RTOS version 3. 5._lwevent_wait_ description updated Rev. 4 08/2010 Update of_lwevent_xXx&_time_diff_xxx sections Update of the following sections time diff ticks task create xxx Rev. 5 11/2010 task_get_template_ptr m alloc Iwmem alloc lwevent_get_signalled(chapter added) Rev. 6 042011 Update of_time_get_ticks_per_sec,_lwmsgq_init and_sem_open and time_delay sections ipc_task function and IPC_PROTOCOL_INIT_STRUC Description updated PC_ INIT STRUCT description added lwevent wait. and mgx exit chapters updated ReV. 7 12/2011Function Listing Format "section updated by the User Mode specific function parameter categories mem_set_pool_access,_usr_lwevent_ *,_usr_lwmem_x ,_usr_lwsem usr task usr time sections added Rev. 8 6/2012 lwtimer_add_timer__to_queue, _msga_send_queue and task_stop_preemption( function descriptions updated Rev. 9 122012 Update reflecting changes in the MQX RTOS code and the source tree struc ture(paths, prototypes, file names, etc. Freescale MQXTM RToS Reference Manual. Rev. 19 Freescale Semiconductor Revision Revision Number Date Description of changes lwmsgq_send and_lwmsgq_receive function descriptions updated Cautions added to all dCache xxx sections Task Error Codes of_msga_send_broadcast,_lwmem_alloc, lwmem alloc* from and mem alloc sections updated Rev. 10 04/2013 Error codes of_mutex_destroy, Iwmem_free and_mem_test functions updated Return values of the_ _mutatrinit,mem_extend_pool and_mem_extend func- tions updated lwmem_alloc and_lwmem_alloc__from sections updated Added description of following fur mem alloc system align Rev. 11 05/2013 mem alloc system align from Iwmem_alloc_system_align Iwmem_alloc_system_align_from Rev. 12 06/2013 Made corrections to various mmu functions Rev. 13 08/2013 Added_psp_push_fp_context and_psp_pop_fp_context Rev. 14 10/2013 Updated_lwmem_alloc__from,_mem_alloc.., and -time_get_resolution time set resolution Rev. 15 01/2014 Added C99 types Rev. 16 02/2014 4.1.0 updates Rev. 17 07/2014 Kinetis SDK-related updates Rev. 18 12/2014 Updates for KSDK 1.1.0 Rev. 19 04/2015 Updated for KSDK 1.2.0 O Freescale Semiconductor, InC, 2008-2014. All rights reserved Freescale MQXTM RToS Reference Manual. Rev. 19 Freescale semiconductor Chapter 1 Before You Begin 1.1 About MQX RTOs ,,,,,,,,,,15 1.2 About This book .15 1.3 Function Listing Format ....15 1. 4 Conventions ,,,,,,.17 1.4.1Tips... ,,,,,,,,,,17 1.4.2 Notes ,,,,,,,,17 4.3 Cautions ,,,,,,,,,,,,,,,,17 1.4.4 MQX RTOS directory 1018080 0 17 Chapter 2 MQX RTOS Functions and macros 2.1 MQX RTOS Function Overview 19 2.1.1 DCACHE DISABLE ,,,,,,,,,,,,,21 2.1.2 DCACHE ENABLE ..,,,,,..,,.22 2.1.3 DCACHE FLUSH 23 2.1.4 DCACHE FLUSH LINE .,,,,,,,,,,,,,,,,,,,,,,,24 2.1.5 DCACHE FLUSH MLINES ,,,,,,,,.,,,.25 2.1.6 DCACHE INVALIDATE 26 2.1.7 DCACHE INVALIDATE LINE .27 2.1. 8 DCACHE INVALIDATE MLINES .......28 2.1.9 event clear ...,.,,..29 2.1.10 event close “ 31 2.1.11 event create, event create auto clear 2.1.12_event_create_component .....34 2.1.13 event create fast. event create fast auto clear 36 2.1.14 event_ destroy .38 2.1.15_ event_destroy_fast...….….40 2.1.16 event get value 41 2.1.17_event_ _get_wait_count ,43 2.1.18 event open .44 2.1.19 event open fast ........,46 2.1.20 event set ,,,,,,,,47 2.1.21 event test 49 2.1.22 event wait a‖l 50 2.1.23_event_wait_any :· 52 2.124 CACHE DISABLE 1量 54 2.125 CACHE ENABLE 55 2.1.26 CACHE INVALIDATE 56 2.1.27 CACHE INVALIDATE LINE ..,,,,,,,,,,,,,,,,,,..,,.57 2.1.28 CACHE INVALIDATE MLINES 58 2.1.29 int default isr .........59 2.1.30 int disable, int enable .:· 60 Freescale MQXTM RToS Reference Manual. Rev. 19 Freescale semiconductor 5 2.1.31 int exception_isr.............,.....,...... 日1 61 2.1.32_int_get_default_isr 62 2.1.33_int_get_exception_handler ,,,,,,,,,,.63 2.1.34_int_get_isr ..64 2.1.35 int get isr data ................,.........65 2.1.36_int_get_isr_depth ....,,,,,,,,..,.66 2.1.37_int_get_kernel_isr 67 2.1.38_int_get_previous_vector_table 68 2.1.39_int get_vector_table ,,,,,,,,,,,,,,,,,,69 2. 1. 40 int install default isr 70 2.1.41 int install exception isr 2.142 int install isr 72 2.1, 43 int install kernel isr ......,,.,,,,,,,,,.74 2.1. 44 int install unexpected isr 75 2.1, 45 int kernel isr 76 2.1.46_int set_ exception handler ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,77 2.1, 47 int set isr data 78 2.1, 48 int set vector table 79 2.1.49 int unexpected isr .80 2.1.50_psp_push_fpcontext......................81 2.1.51_psp_pop_fp_context ..82 2.1.52_ipc_addio_ipc handler ,,,,,,,,,,,,,83 2.1.53_ipc_add_ipc_ handler 84 2.1.54_ipc_msg_processor_route_exists 85 2.1.55_ ipc_msg_route_add .86 2. 1.56_ipc_msg_route_remove ......,,.,,.87 2.1.57ipc_ pcb_init..........…88 2.1.58 ipc_task........,…,...…...…..,.….9O 2.1.59kog_ contro|......,..... 量1m1m ,,,91 2.1.60_klog_create,_klog_create_at ...,,.93 2.1.61_klog_disable_logging_task,_klog_enable_logging_task 95 2.1.62_klog_display 96 2.1.63 klog_get_interrupt_stack_usage 97 2.1. klog_gettask_stack_usage .,,,,,,,99 2.1. klog_show_stack_usage ,,,,,,,,.,,,,,100 2.1.66 log create .101 2.1.67_log_create_component ....103 2.1.68_log_ destroy .104 2.1.69_log_disable,_log_enable ,,,,,105 2.1.70 log read .....,.106 2.1.71 log_reset.......,.....,.......,.,.108 2.1.72 log_test..… 109 2.1.73 log write 110 21.74 lwevent clear ,,,,,,,,,,,,,,,,,,,111 2.1.75 lwevent create ,,,,,,,,,,,,,,112 Freescale MQXTM RToS Reference Manual. Rev. 19 Freescale semiconductor 2.1.76 event destro ,,,,,,,,,,,,,,,,,,,,,,,,,,,,113 2.1.77_lwevent_get_signalled .114 2.1.78 event set 116 2.1.79 lwevent set auto clear ,,,,117 2.1. 80 event test 118 2.1.81 event wait ....,....,,,,,,,,,,,,,,.,,,,.119 2.1.82Mwog_ calculate_size..…...,…121 2.1. 83 lwlog create, wlog create at 122 2.1.84_lwlog_create_component ,,,,,,,,,,,,,,,,,.124 2.1.85_lWlog_destroy ..1 ,,,,,,,,,,,,,,,,,,,,,,,,,,125 2.1.86_ Wlog_disable,_lwlog_enable 126 2.1.87Mwog_read..... ..127 2.1. 88 Ilog reset .128 2.1. 89 Ilog test ..,.,,,,.,,.,,..,....129 2.1.90_lwlog_write 130 2.1.91 wmem alloc∴.....,,,,,,,,,,,,, ,,,,,,,,,,,,,,,,,,,,,131 2. 1.92 lwmem alloc from .134 2.1.93 lwmem create_pool...............136 2.194 lwmem free 137 2.1.95 rmem_get_size...…,..,.…,…139 2.1.96_lwmem_set_default_pool 140 2.1.97 wmem test...,,,,,,,,,,,,,,,,,,, 141 21.98 lwmem transfer .142 2.1. 99_lwmsgq_deinit .143 2.1.100 lwmsga_init 144 2.1.101_wmsga_receive ,,,,,,,,,,,,,,,,,145 2.1.102 Iwmsga_send.......…....….…....147 2.1. 103 lwsem create 148 2.1.104_ wsem_destroy..,,,,,,,,,,,,,,,,,,, 面面1 150 2.1.105_wsem_poll 151 2.1.106 wsem post..... .152 2.1.107 Iwsem test....,,,,., ,,,,,,,,,,,,,,,,,,,,,,,,,,153 2.1.108 lwsem wait ...,,,,,..,..,.154 2.1.109_lwtimer-_add_ timer_to_queue .,,,,,,156 2.1.110 Iwtimer cancel period.…… .,,,,,,,,,,,,,,,,,,,,,,,.,,,,,158 2.1.1 11 timer cancel timer 159 2.1.112_lwtimer_create_periodic_queue ......160 2.1.113 latimer test .161 2.1.114 mem alloc∴..,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,162 2.1.115_mem_copy .......166 2.1.16 mem_create_ pool...….....….....,167 2.1.117 mem extend .168 2. 1.118_mem_extend_pool ..169 2.1.119 mem free 11日日 ,,,,,,,,,,,,,,,,,,,,,,,.,,,,,170 2.1. 120_mem_free_part ,,,,,,,,,,,,,,,,,,,,,,,,,172 Freescale MQXTM RToS Reference Manual. Rev. 19 Freescale semiconductor 2.1.121 mem get error ,,,,,,,,,,,,,,,,,,,,,,,,,,,,173 2.1.122_ mem_get_error_pool .175 2.1.123_mem_get_ highwater .,,,,,,,,,,,,,,,,,,,,,,,,176 2.1.124_mem_get_highwater_pool 177 2.1.125_mem_get_size ··“·“· ........178 2.1.126_mem_set_pool_access .180 2.1.127 mem_sum_p.....,,,.… 181 2.1.128_mem_swap_endian 182 2.1.129 mem test ,,,,,,,,,,,,183 21. 130 mem test all 184 2.1.131 mem test and set .185 2.1.132 mem_test_pool...,,..,.,.. 186 2.1.133 mem transfer............ ,,,,,,,187 2.1.134 mem zero,...,.,,...,.,, ...188 2.1.135 mmu add vregion ,,,189 2.1.136 mmu disable .,,,,,,,,,,,.190 2.1.137 mmu venable 191 2.1.138 mmu vinit ,,,192 2.1.139_mmu_vtop .193 2.1.140mqX......….…,.…,194 2.1. 141_mqx_bsp_revision 196 2.1.142_mgx_copyright 日 1,日日面 197 2.1.143 mgx date .198 2.1. 144 mgx exit ....,...,.,.199 2.1.145 mqx fatal_error .200 2.1.146_ mgx generic_ revision..…….…201 2.1.147_mgx_get_counter 202 2.1.148mqXgetexithandler.......,,,..,,,203 2.1.149_mgx_get_initialization 量11量 204 2.1.150_mgx_get_kernel_data 日重口 205 2.1.151_mgx_get_system_task_id .206 2.1.152_mgx_get_tad_data,_mgx_set_tad_data 207 2. 1.153_mgx_idle_task 208 2.1. 154_mq_monitor-type ,,,,,,,,,,,,,,,,.209 2.1.155_mgx_psp_revision 210 2.1.156_mgx_set_context_switch_handler ..,211 2.1.157_mqx_set_exit _handler 212 2.1.158_mgx_ version .213 2.1.159 max zero tick struct ,,,,,,214 2.1.160_msg_alloc .215 2.1.161_msg_ alloc system 217 2.1.162_msg_available .218 2. 1.163_msg_create_component ...........,.....,..,........219 2.1.163.1 Example..….,,.,.,,.,…,,…....….,…,.220 2.1. 164_msg_free 221 Freescale MQXTM RToS Reference Manual. Rev. 19 Freescale semiconductor 2.1165_msg_swap_endian_data ..................... 222 2.1.166_msg_swap_endian_header ....,.............. 224 2.1. 167_-msgpool_create 225 2.1.168_msgpool_create_system 227 2.1.1 69_msgpool_destroy 228 2.1.170_-msgpool_test 229 2.1.171_msgq_close 230 2.1.172_msgq_get_count 232 2.1.173_msga_get_id 233 2.1.174_msga_get_notification_function 234 2.1.175_msga_get_owner 235 量m 2.1.176_msga_open 236 2.1.177_msga_open_system 238 2.1.178_msgq _peek 240 2.1.179_msga_poll 241 2.1.180 msg_receive…,.,,,..,.,,,,,.,,,,..,.243 2.1.181_msga_send 246 2.1.182_msgq _send_broadcast 1 ,,,,,,,,,,,,,249 2.1.183_msg _send_priority 251 2.1.184_msga_send_queue 日1面1面 253 2.1.185_msgq_send_urgent .255 2.1.186msgq_setnotfiation_function........256 2.1.187_msga_test .258 destroy 259 2.1.189_mutatr- get_priority_ceiling, _mutatorset_priority_ceiling 260 2.1.190_mutatr-get_sched_protocol,_mutatr_set_sched_protocol 262 2.1.191_mutatr_get_spin_limit,_mutatr_set_spin_limit 264 2.1.192 1 Waiting protocols ,-mutatr set_wait_protocol 2.1.192_mutatr-get_wait_protocol, .266 267 2.1. 193 mutator init 268 2.1.194_mutex_create_component 269 2.1. 195_mutex_destroy 270 2.1.196_mutex_get_priority_ceiling,_mutex_set_priority_ceiling ...............271 2.1.197_mutex_get_wait_count .,,,,,,273 2.1.198 mutex init 274 2.1. 199 mutex lock 275 2.1.200 mutex test 277 2.1.201 mutex try lock .279 2.1.202 mutex unlock n0 ,,,,,280 2.1.203 name add .281 2.1.204name_ create_ component .....282 2.1.205 name delete ,,,,284 21.206 name find 285 2.1.207_name_find by_number .........................................286 2.1.208 name test 287 Freescale MQXTM RToS Reference Manual. Rev. 19 Freescale semiconductor 9 2. 1. 209_partitionalloc, _partition_alloc_zero................ 289 2.1.210_partition_alloc_system, _partition_alloc_system_zero......... 291 2.1.211_partition_calculate_ blocks 292 2.1. 212_partition_calculate_size .293 2.1.213_partition_create........................ 294 2.1.214_partition_create_at .296 2.1.215_partition_create_component 298 2.1.216_partition_destroy ..299 2.1.217-partition_extend ■1 ..··.··:. 300 2. 1.218_partition_free ,,,,,,,,,,,,,,,,,,,,,,,.301 2.1.219_partition_get_block_size 302 2.1. 220_partition_get_free_ blocks ,,304 2.1.221partition_get_max_used_ blocks 305 2.1.222_partition_get_total_blocks 306 2.1.223_partition _gettotal_size ,,,,,,,,,,,,,,,,307 2.1. 224_partition_test ,,,,,,,,,,,308 2. 1.225_partition_transfer 309 2.1.226_ queue_ dequeue....,...,,,.,,,,.,.,..310 2.1.227_queue_enqueue ,,,.312 2.1.228 queue_ get_size..……,…,313 2.1.229_queue_head .314 2.1.230 queue init 道日面 315 2. 1. 231_queue_insert ..316 2.1.232_queue_is_empty ......318 2.1.233 queue next .319 2.1. 234_queue_test 1重重 320 2.1.235_queue_unlink 321 2.1.236_sched_ get_max_priority .................... 322 2.1.237_sched_get_min_priority 量1面1量 323 2.1.238sched_get_policy .,,,,,,.324 2.1.239_sched_get_rr_interval,_sched_get_rr_interval_ticks......... 325 2.1.240sched_set_policy ,,,,,,,,,,,,,,,,,,326 2. 241 sched set rr interval. sched set rr interval ticks 327 2.1. 242_sched_yield 328 2.1.243 sem close,..,,,,,,,,,,,, ....,.329 2.1.244 sem create 330 2.1.245 sem create component 332 2.1. 246 sem create fast 334 2.1.247_sem_destroy,_sem_destroy_fast ....335 2.1.248_semget__ value .337 2.1.249 sem- get_wait_count..….,.…,.,,338 2.1.250 sem open, sem open fast 339 2.1.251_sem_post 341 2.1.252 sem test .,,,,,,,,,,,,,,,,,,,,,,,,,,,,,343 2. 1.253 sem wait 344 Freescale MQXTM RToS Reference Manual. Rev. 19 10 Freescale semiconductor
(系统自动生成,下载前可以参看下载内容)

下载文件列表

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.
 输入关键字,在本站1000多万海量源码库中尽情搜索: