| ISF 2.2 rev 5 Intelligent Sensing Framework for Kinetis with Processor Expert

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

mqx_ksdk.h
Go to the documentation of this file.
1 /* ###################################################################
2 ** This component module is generated by Processor Expert. Do not modify it.
3 ** Filename : mqx_ksdk.h
4 ** Project : ISF2P2_K64F_MQX_PROJ
5 ** Processor : MK64FN1M0VLL12
6 ** Component : MQX_KSDK
7 ** Version : Component 1.2.0, Driver 01.00, CPU db: 3.00.000
8 ** Repository : KSDK 1.2.0
9 ** Compiler : GNU C Compiler
10 ** Date/Time : 2016-10-06, 13:38, # CodeGen: 0
11 ** Abstract :
12 ** MQX Lite RTOS Adapter component.
13 ** Contents :
14 ** _int_default_isr - void _int_default_isr(void * vector_number);
15 ** _int_disable - void _int_disable();
16 ** _int_enable - void _int_enable();
17 ** _int_get_default_isr - INT_ISR_FPTR _int_get_default_isr();
18 ** _int_get_exception_handler - INT_EXCEPTION_FPTR _int_get_exception_handler(_mqx_uint vector);
19 ** _int_get_isr - INT_ISR_FPTR _int_get_isr(_mqx_uint vector);
20 ** _int_get_isr_data - void* _int_get_isr_data(_mqx_uint vector);
21 ** _int_get_isr_depth - _mqx_uint _int_get_isr_depth();
22 ** _int_install_default_isr - INT_ISR_FPTR _int_install_default_isr(INT_ISR_FPTR default_isr);
23 ** _int_install_exception_isr - INT_ISR_FPTR _int_install_exception_isr();
24 ** _int_install_isr - INT_ISR_FPTR _int_install_isr(_mqx_uint vector,INT_ISR_FPTR isr_ptr,void *...
25 ** _int_install_unexpected_isr - INT_ISR_FPTR _int_install_unexpected_isr();
26 ** _int_set_exception_handler - INT_EXCEPTION_FPTR _int_set_exception_handler(_mqx_uint...
27 ** _int_set_isr_data - void* _int_set_isr_data(_mqx_uint vector,void * data);
28 ** _int_init - _mqx_uint _int_init(_mqx_uint first_user_isr_vector_number,_mqx_uint...
29 ** _mem_alloc - void* _mem_alloc(_mem_size size);
30 ** _mem_alloc_align - void* _mem_alloc_align(_mem_size size,_mem_size align);
31 ** _mem_alloc_at - void* _mem_alloc_at(_mem_size size,void * addr);
32 ** _mem_alloc_uncached - void* _mem_alloc_uncached(_mem_size size);
33 ** _mem_alloc_align_uncached - void* _mem_alloc_align_uncached(_mem_size size,_mem_size align);
34 ** _mem_alloc_from - void* _mem_alloc_from(_mem_pool_id pool_id,_mem_size size);
35 ** _mem_alloc_align_from - void* _mem_alloc_align_from(_mem_pool_id pool_id,_mem_size size,_mem_size...
36 ** _mem_alloc_zero - void* _mem_alloc_zero(_mem_size size);
37 ** _mem_alloc_zero_from - void* _mem_alloc_zero_from(void * pool_id,_mem_size size);
38 ** _mem_create_pool - _mem_pool_id _mem_create_pool(void * start,_mem_size size);
39 ** _mem_extend - _mqx_uint _mem_extend(void * start_of_pool,_mem_size size);
40 ** _mem_extend_pool - _mqx_uint _mem_extend_pool(_mem_pool_id pool_id,void *...
41 ** _mem_free_part - _mqx_uint _mem_free_part(void * mem_ptr,_mem_size requested_size);
42 ** _mem_free - _mqx_uint _mem_free(void * mem_ptr);
43 ** _mem_alloc_system_from - void* _mem_alloc_system_from(_mem_pool_id pool_id,_mem_size size);
44 ** _mem_alloc_system - void* _mem_alloc_system(_mem_size size);
45 ** _mem_alloc_system_align - void* _mem_alloc_system_align(_mem_size size,_mem_size align);
46 ** _mem_alloc_system_align_from - void* _mem_alloc_system_align_from(_mem_pool_id pool_id,_mem_size...
47 ** _mem_alloc_system_uncached - void* _mem_alloc_system_uncached(_mem_size size);
48 ** _mem_get_size - _mem_size _mem_get_size(void * mem_ptr);
49 ** _mem_test_all - _mqx_uint _mem_test_all(_mem_pool_id * pool_error_ptr);
50 ** _mem_test_pool - _mqx_uint _mem_test_pool(_mem_pool_id pool_id);
51 ** _mem_test - _mqx_uint _mem_test();
52 ** _mem_get_highwater - void* _mem_get_highwater();
53 ** _mem_get_highwater_pool - void* _mem_get_highwater_pool(_mem_pool_id pool_id);
54 ** _mem_get_error - void* _mem_get_error();
55 ** _mem_get_error_pool - void* _mem_get_error_pool(_mem_pool_id pool_id);
56 ** _mem_get_system_pool_id - _mem_pool_id _mem_get_system_pool_id();
57 ** _mem_get_type - _mem_type _mem_get_type(void * mem_ptr);
58 ** _mem_set_type - bool _mem_set_type(void * mem_ptr,_mem_type mem_type);
59 ** _mem_transfer - _mqx_uint _mem_transfer(void * memory_ptr,_task_id source_id,_task_id...
60 ** _mem_alloc_system_zero_from - void* _mem_alloc_system_zero_from(_mem_pool_id pool_id,_mem_size size);
61 ** _mem_alloc_system_zero - void* _mem_alloc_system_zero(_mem_size size);
62 ** _mem_alloc_system_zero_uncached - void* _mem_alloc_system_zero_uncached(_mem_size size);
63 ** _mem_realloc - void* _mem_realloc(void * mem_ptr,_mem_size size);
64 ** _mem_swap_endian - void _mem_swap_endian(register unsigned char * definition,void * data);
65 ** _mem_swap_endian_len - void _mem_swap_endian_len(register unsigned char * definition,void *...
66 ** _mem_verify - _mqx_uint _mem_verify(void * base,void * extent);
67 ** _mutatr_init - _mqx_uint _mutatr_init(register MUTEX_ATTR_STRUCT_PTR attr_ptr);
68 ** _mutex_create_component - _mqx_uint _mutex_create_component();
69 ** _mutatr_destroy - _mqx_uint _mutatr_destroy(MUTEX_ATTR_STRUCT_PTR attr_ptr);
70 ** _mutex_destroy - _mqx_uint _mutex_destroy(register MUTEX_STRUCT_PTR mutex_ptr);
71 ** _mutatr_get_wait_protocol - _mqx_uint _mutatr_get_wait_protocol(MUTEX_ATTR_STRUCT_PTR...
72 ** _mutatr_get_priority_ceiling - _mqx_uint _mutatr_get_priority_ceiling(MUTEX_ATTR_STRUCT_PTR...
73 ** _mutatr_get_sched_protocol - _mqx_uint _mutatr_get_sched_protocol(MUTEX_ATTR_STRUCT_PTR...
74 ** _mutatr_get_spin_limit - _mqx_uint _mutatr_get_spin_limit(MUTEX_ATTR_STRUCT_PTR attr_ptr,_mqx_uint_ptr...
75 ** _mutex_init - _mqx_uint _mutex_init(register MUTEX_STRUCT_PTR mutex_ptr,register...
76 ** _mutex_lock - _mqx_uint _mutex_lock(register MUTEX_STRUCT_PTR mutex_ptr);
77 ** _mutatr_set_wait_protocol - _mqx_uint _mutatr_set_wait_protocol(MUTEX_ATTR_STRUCT_PTR attr_ptr,_mqx_uint...
78 ** _mutatr_set_priority_ceiling - _mqx_uint _mutatr_set_priority_ceiling(MUTEX_ATTR_STRUCT_PTR...
79 ** _mutatr_set_sched_protocol - _mqx_uint _mutatr_set_sched_protocol(MUTEX_ATTR_STRUCT_PTR attr_ptr,_mqx_uint...
80 ** _mutatr_set_spin_limit - _mqx_uint _mutatr_set_spin_limit(MUTEX_ATTR_STRUCT_PTR attr_ptr,_mqx_uint...
81 ** _mutex_test - _mqx_uint _mutex_test(void ** mutex_error_ptr);
82 ** _mutex_try_lock - _mqx_uint _mutex_try_lock(register MUTEX_STRUCT_PTR mutex_ptr);
83 ** _mutex_unlock - _mqx_uint _mutex_unlock(register MUTEX_STRUCT_PTR mutex_ptr);
84 ** _mutex_set_priority_ceiling - _mqx_uint _mutex_set_priority_ceiling(MUTEX_STRUCT_PTR mutex_ptr,_mqx_uint...
85 ** _mutex_get_priority_ceiling - _mqx_uint _mutex_get_priority_ceiling(MUTEX_STRUCT_PTR...
86 ** _mutex_get_wait_count - _mqx_uint _mutex_get_wait_count(register MUTEX_STRUCT_PTR mutex_ptr);
87 ** _mqx_init_cripple_evaluation - _mqx_uint _mqx_init_cripple_evaluation(KERNEL_DATA_STRUCT_PTR kernel_data);
88 ** _mqx_init_tad - _mqx_uint _mqx_init_tad(KERNEL_DATA_STRUCT_PTR kernel_data);
89 ** _mqx_init_internals - _mqx_uint _mqx_init_internals(KERNEL_DATA_STRUCT_PTR kernel_data);
90 ** _mqx_init_allocators - _mqx_uint _mqx_init_allocators(KERNEL_DATA_STRUCT_PTR kernel_data);
91 ** _mqx_init_interrupt_stack - _mqx_uint _mqx_init_interrupt_stack(KERNEL_DATA_STRUCT_PTR kernel_data);
92 ** _mqx_init_lwsem - _mqx_uint _mqx_init_lwsem(KERNEL_DATA_STRUCT_PTR kernel_data);
93 ** _mqx_init_wfi - _mqx_uint _mqx_init_wfi(KERNEL_DATA_STRUCT_PTR kernel_data);
94 ** mqx_init - _mqx_uint mqx_init(register const MQX_INITIALIZATION_STRUCT * mqx_init);
95 ** mqx_start - _mqx_uint mqx_start();
96 ** _mqx - _mqx_uint _mqx(register MQX_INITIALIZATION_STRUCT_PTR mqx_init);
97 ** _mqx_exit - void _mqx_exit(_mqx_uint error);
98 ** _mqx_get_kernel_data - void* _mqx_get_kernel_data();
99 ** _mqx_fatal_error - void _mqx_fatal_error(_mqx_uint error);
100 ** _mqx_get_counter - _mqx_uint _mqx_get_counter();
101 ** _mqx_get_idle_loop_count - _mqx_uint _mqx_get_idle_loop_count(IDLE_LOOP_STRUCT_PTR loop);
102 ** _mqx_get_cpu_type - _mqx_uint _mqx_get_cpu_type();
103 ** _mqx_set_cpu_type - void _mqx_set_cpu_type(_mqx_uint cpu_type);
104 ** _mqx_get_initialization - MQX_INITIALIZATION_STRUCT_PTR _mqx_get_initialization();
105 ** _mqx_get_tad_data - void* _mqx_get_tad_data(void * td);
106 ** _mqx_set_tad_data - void _mqx_set_tad_data(void * td,void * tad_data);
107 ** _mqx_get_exit_handler - MQX_EXIT_FPTR _mqx_get_exit_handler();
108 ** _mqx_set_exit_handler - void _mqx_set_exit_handler(MQX_EXIT_FPTR entry);
109 ** _mqx_get_io_component_handle - void* _mqx_get_io_component_handle(_mqx_uint component);
110 ** _mqx_set_io_component_handle - void* _mqx_set_io_component_handle(_mqx_uint component,void * handle);
111 ** _mqx_get_system_task_id - _task_id _mqx_get_system_task_id();
112 ** _mqx_link_io_component_handle - _mqx_uint _mqx_link_io_component_handle(_mqx_uint component,void *...
113 ** _mqx_unlink_io_component_handle - _mqx_uint _mqx_unlink_io_component_handle(_mqx_uint component,void *...
114 ** _crt_tls_reference - void* _crt_tls_reference();
115 ** _klog_control - void _klog_control(uint32_t bit_mask,bool set_bits);
116 ** _klog_create - _mqx_uint _klog_create(_mqx_uint max_size,_mqx_uint flags);
117 ** _klog_create_at - _mqx_uint _klog_create_at(_mqx_uint max_size,_mqx_uint flags,void * where);
118 ** _klog_disable_logging_task - void _klog_disable_logging_task(_task_id tid);
119 ** _klog_enable_logging_task - void _klog_enable_logging_task(_task_id tid);
120 ** _klog_display - bool _klog_display();
121 ** _klog_get_task_stack_usage - _mqx_uint _klog_get_task_stack_usage(_task_id task_id,_mem_size_ptr...
122 ** _klog_get_interrupt_stack_usage - _mqx_uint _klog_get_interrupt_stack_usage(_mem_size_ptr...
123 ** _klog_show_stack_usage - void _klog_show_stack_usage();
124 ** _klog_log_function - void _klog_log_function(void * fn);
125 ** _klog_yield_internal - void _klog_yield_internal();
126 ** _lwsem_create - _mqx_uint _lwsem_create(LWSEM_STRUCT_PTR sem_ptr,_mqx_int initial_number);
127 ** _lwsem_create_hidden - _mqx_uint _lwsem_create_hidden(LWSEM_STRUCT_PTR sem_ptr,_mqx_int...
128 ** _usr_lwsem_create - _mqx_uint _usr_lwsem_create(LWSEM_STRUCT_PTR sem_ptr,_mqx_int initial_number);
129 ** _lwsem_destroy - _mqx_uint _lwsem_destroy(LWSEM_STRUCT_PTR sem_ptr);
130 ** _usr_lwsem_destroy - _mqx_uint _usr_lwsem_destroy(LWSEM_STRUCT_PTR sem_ptr);
131 ** _lwsem_is_valid - bool _lwsem_is_valid(LWSEM_STRUCT_PTR sem_ptr);
132 ** _lwsem_poll - bool _lwsem_poll(LWSEM_STRUCT_PTR sem_ptr);
133 ** _usr_lwsem_poll - bool _usr_lwsem_poll(LWSEM_STRUCT_PTR sem_ptr);
134 ** _lwsem_post - _mqx_uint _lwsem_post(LWSEM_STRUCT_PTR sem_ptr);
135 ** _usr_lwsem_post - _mqx_uint _usr_lwsem_post(LWSEM_STRUCT_PTR sem_ptr);
136 ** _lwsem_test - _mqx_uint _lwsem_test(void ** lwsem_error_ptr,void ** td_error_ptr);
137 ** _lwsem_usr_check - _mqx_uint _lwsem_usr_check(LWSEM_STRUCT_PTR tst_sem_ptr);
138 ** _lwsem_wait - _mqx_uint _lwsem_wait(LWSEM_STRUCT_PTR sem_ptr);
139 ** _usr_lwsem_wait - _mqx_uint _usr_lwsem_wait(LWSEM_STRUCT_PTR sem_ptr);
140 ** _lwsem_wait_for - _mqx_uint _lwsem_wait_for(LWSEM_STRUCT_PTR sem_ptr,MQX_TICK_STRUCT_PTR ticks);
141 ** _usr_lwsem_wait_for - _mqx_uint _usr_lwsem_wait_for(LWSEM_STRUCT_PTR sem_ptr,MQX_TICK_STRUCT_PTR...
142 ** _lwsem_wait_ticks - _mqx_uint _lwsem_wait_ticks(LWSEM_STRUCT_PTR sem_ptr,_mqx_uint time_in_ticks);
143 ** _usr_lwsem_wait_ticks - _mqx_uint _usr_lwsem_wait_ticks(LWSEM_STRUCT_PTR sem_ptr,_mqx_uint...
144 ** _lwsem_wait_until - _mqx_uint _lwsem_wait_until(LWSEM_STRUCT_PTR sem_ptr,MQX_TICK_STRUCT_PTR ticks);
145 ** _usr_lwsem_wait_until - _mqx_uint _usr_lwsem_wait_until(LWSEM_STRUCT_PTR sem_ptr,MQX_TICK_STRUCT_PTR...
146 ** _lwevent_create - _mqx_uint _lwevent_create(LWEVENT_STRUCT_PTR event_ptr,_mqx_uint flags);
147 ** _usr_lwevent_create - _mqx_uint _usr_lwevent_create(LWEVENT_STRUCT_PTR event_ptr,_mqx_uint flags);
148 ** _lwevent_destroy - _mqx_uint _lwevent_destroy(LWEVENT_STRUCT_PTR event_ptr);
149 ** _usr_lwevent_destroy - _mqx_uint _usr_lwevent_destroy(LWEVENT_STRUCT_PTR event_ptr);
150 ** _lwevent_clear - _mqx_uint _lwevent_clear(LWEVENT_STRUCT_PTR event_ptr,_mqx_uint bit_mask);
151 ** _usr_lwevent_clear - _mqx_uint _usr_lwevent_clear(LWEVENT_STRUCT_PTR event_ptr,_mqx_uint bit_mask);
152 ** _lwevent_get_signalled - _mqx_uint _lwevent_get_signalled();
153 ** _usr_lwevent_get_signalled - _mqx_uint _usr_lwevent_get_signalled();
154 ** _lwevent_set_auto_clear - _mqx_uint _lwevent_set_auto_clear(LWEVENT_STRUCT_PTR event_ptr,_mqx_uint...
155 ** _usr_lwevent_set_auto_clear - _mqx_uint _usr_lwevent_set_auto_clear(LWEVENT_STRUCT_PTR event_ptr,_mqx_uint...
156 ** _lwevent_set - _mqx_uint _lwevent_set(LWEVENT_STRUCT_PTR event_ptr,_mqx_uint bit_mask);
157 ** _usr_lwevent_set - _mqx_uint _usr_lwevent_set(LWEVENT_STRUCT_PTR event_ptr,_mqx_uint bit_mask);
158 ** _lwevent_test - _mqx_uint _lwevent_test(void ** event_error_ptr,void ** td_error_ptr);
159 ** _lwevent_usr_check - _mqx_uint _lwevent_usr_check(LWEVENT_STRUCT_PTR tst_event_ptr);
160 ** _lwevent_wait_for - _mqx_uint _lwevent_wait_for(LWEVENT_STRUCT_PTR event_ptr,_mqx_uint...
161 ** _usr_lwevent_wait_for - _mqx_uint _usr_lwevent_wait_for(LWEVENT_STRUCT_PTR event_ptr,_mqx_uint...
162 ** _lwevent_wait_until - _mqx_uint _lwevent_wait_until(LWEVENT_STRUCT_PTR event_ptr,_mqx_uint...
163 ** _usr_lwevent_wait_until - _mqx_uint _usr_lwevent_wait_until(LWEVENT_STRUCT_PTR event_ptr,_mqx_uint...
164 ** _lwevent_wait_ticks - _mqx_uint _lwevent_wait_ticks(LWEVENT_STRUCT_PTR event_ptr,_mqx_uint...
165 ** _usr_lwevent_wait_ticks - _mqx_uint _usr_lwevent_wait_ticks(LWEVENT_STRUCT_PTR event_ptr,_mqx_uint...
166 ** _lwlog_create_component - _mqx_uint _lwlog_create_component();
167 ** _lwlog_create_at - _mqx_uint _lwlog_create_at(_mqx_uint log_number,_mqx_uint max_size,_mqx_uint...
168 ** _lwlog_create - _mqx_uint _lwlog_create(_mqx_uint log_number,_mqx_uint max_size,_mqx_uint...
169 ** _lwlog_destroy - _mqx_uint _lwlog_destroy(_mqx_uint log_number);
170 ** _lwlog_disable - _mqx_uint _lwlog_disable(_mqx_uint log_number);
171 ** _lwlog_enable - _mqx_uint _lwlog_enable(_mqx_uint log_number);
172 ** _lwlog_read - _mqx_uint _lwlog_read(_mqx_uint log_number,_mqx_uint...
173 ** _lwlog_reset - _mqx_uint _lwlog_reset(_mqx_uint log_number);
174 ** _lwlog_calculate_size - _mem_size _lwlog_calculate_size(_mqx_uint entries);
175 ** _lwlog_test - _mqx_uint _lwlog_test(_mqx_uint * log_error_ptr);
176 ** _lwlog_write - _mqx_uint _lwlog_write(_mqx_uint log_number,_mqx_max_type p1,_mqx_max_type...
177 ** _lwmsgq_deinit_internal - _mqx_uint _lwmsgq_deinit_internal(void * location,bool user);
178 ** _lwmsgq_init - _mqx_uint _lwmsgq_init(void * location,_mqx_uint num_messages,_mqx_uint...
179 ** _usr_lwmsgq_init - _mqx_uint _usr_lwmsgq_init(void * location,_mqx_uint num_messages,_mqx_uint...
180 ** _lwmsgq_usr_check - _mqx_uint _lwmsgq_usr_check(void * tst_lwmsgq_ptr);
181 ** _lwmsgq_deinit - _mqx_uint _lwmsgq_deinit(void * location);
182 ** _usr_lwmsgq_deinit - _mqx_uint _usr_lwmsgq_deinit(void * location);
183 ** _lwmsgq_receive - _mqx_uint _lwmsgq_receive(void * handle,_mqx_max_type_ptr message,_mqx_uint...
184 ** _usr_lwmsgq_receive - _mqx_uint _usr_lwmsgq_receive(void * handle,_mqx_max_type_ptr...
185 ** _lwmsgq_send - _mqx_uint _lwmsgq_send(void * handle,_mqx_max_type_ptr message,_mqx_uint flags);
186 ** _usr_lwmsgq_send - _mqx_uint _usr_lwmsgq_send(void * handle,_mqx_max_type_ptr message,_mqx_uint...
187 ** _lwtimer_create_periodic_queue - _mqx_uint _lwtimer_create_periodic_queue(LWTIMER_PERIOD_STRUCT_PTR...
188 ** _lwtimer_add_timer_to_queue - _mqx_uint _lwtimer_add_timer_to_queue(LWTIMER_PERIOD_STRUCT_PTR...
189 ** _lwtimer_cancel_timer - _mqx_uint _lwtimer_cancel_timer(LWTIMER_STRUCT_PTR timer_ptr);
190 ** _lwtimer_cancel_period - _mqx_uint _lwtimer_cancel_period(LWTIMER_PERIOD_STRUCT_PTR period_ptr);
191 ** _lwtimer_test - _mqx_uint _lwtimer_test(void ** period_error_ptr,void ** timer_error_ptr);
192 ** _sched_get_max_priority - _mqx_uint _sched_get_max_priority(_mqx_uint policy);
193 ** _sched_get_min_priority - _mqx_uint _sched_get_min_priority(_mqx_uint policy);
194 ** _sched_set_policy - _mqx_uint _sched_set_policy(_task_id task_id,_mqx_uint policy);
195 ** _sched_get_policy - _mqx_uint _sched_get_policy(_task_id task_id,_mqx_uint_ptr policy_ptr);
196 ** _sched_get_rr_interval - uint32_t _sched_get_rr_interval(_task_id task_id,uint32_t * ms_ptr);
197 ** _sched_get_rr_interval_ticks - _mqx_uint _sched_get_rr_interval_ticks(_task_id task_id,MQX_TICK_STRUCT_PTR...
198 ** _sched_set_rr_interval - uint32_t _sched_set_rr_interval(_task_id task_id,uint32_t rr_interval);
199 ** _sched_set_rr_interval_ticks - _mqx_uint _sched_set_rr_interval_ticks(_task_id task_id,MQX_TICK_STRUCT_PTR...
200 ** _sched_yield - void _sched_yield();
201 ** _task_abort - _mqx_uint _task_abort(_task_id task_id);
202 ** _usr_task_abort - _mqx_uint _usr_task_abort(_task_id task_id);
203 ** _task_create - _task_id _task_create(_processor_number processor_number,_mqx_uint...
204 ** _usr_task_create - _task_id _usr_task_create(_processor_number processor_number,_mqx_uint...
205 ** _task_create_blocked - _task_id _task_create_blocked(_processor_number processor_number,_mqx_uint...
206 ** _task_create_at - _task_id _task_create_at(_processor_number processor_number,_mqx_uint...
207 ** _task_destroy - _mqx_uint _task_destroy(_task_id task_id);
208 ** _usr_task_destroy - _mqx_uint _usr_task_destroy(_task_id task_id);
209 ** _task_enable_fp - bool _task_enable_fp();
210 ** _task_disable_fp - void _task_disable_fp();
211 ** _task_set_environment - void* _task_set_environment(_task_id task_id,void * environment_ptr);
212 ** _task_get_environment - void* _task_get_environment(_task_id task_id);
213 ** _task_get_exception_handler - TASK_EXCEPTION_FPTR _task_get_exception_handler(_task_id task_id);
214 ** _task_set_exception_handler - TASK_EXCEPTION_FPTR _task_set_exception_handler(_task_id...
215 ** _task_get_exit_handler - TASK_EXIT_FPTR _task_get_exit_handler(_task_id task_id);
216 ** _task_set_exit_handler - TASK_EXIT_FPTR _task_set_exit_handler(_task_id task_id,TASK_EXIT_FPTR...
217 ** _task_get_id_from_name - _task_id _task_get_id_from_name(char * name_ptr);
218 ** _task_get_template_ptr - TASK_TEMPLATE_STRUCT_PTR _task_get_template_ptr(_task_id task_id);
219 ** _task_get_template_index - _mqx_uint _task_get_template_index(char * name_ptr);
220 ** _task_get_id_from_td - _task_id _task_get_id_from_td(void * td_ptr);
221 ** _task_get_index_from_id - _mqx_uint _task_get_index_from_id(_task_id task_id);
222 ** _task_get_parameter - uint32_t _task_get_parameter();
223 ** _task_get_parameter_for - uint32_t _task_get_parameter_for(_task_id tid);
224 ** _task_set_parameter - uint32_t _task_set_parameter(uint32_t new_value);
225 ** _task_set_parameter_for - uint32_t _task_set_parameter_for(uint32_t new_value,_task_id tid);
226 ** _task_get_priority - _mqx_uint _task_get_priority(_task_id task_id,_mqx_uint_ptr priority_ptr);
227 ** _task_set_priority - _mqx_uint _task_set_priority(_task_id task_id,_mqx_uint...
228 ** _task_ready - void _task_ready(void * td);
229 ** _usr_task_ready - void _usr_task_ready(void * td);
230 ** _task_restart_func - static _mqx_uint _task_restart_func(_task_id task_id,uint32_t *...
231 ** _task_restart - _mqx_uint _task_restart(_task_id task_id,uint32_t * param_ptr,bool blocked);
232 ** _task_stop_preemption - void _task_stop_preemption();
233 ** _task_start_preemption - void _task_start_preemption();
234 ** _task_allow_preemption - void _task_allow_preemption();
235 ** _task_check_stack - bool _task_check_stack();
236 ** _taskq_create - void* _taskq_create(_mqx_uint policy);
237 ** _taskq_destroy - _mqx_uint _taskq_destroy(void * users_task_queue_ptr);
238 ** _taskq_suspend - _mqx_uint _taskq_suspend(void * users_task_queue_ptr);
239 ** _taskq_resume - _mqx_uint _taskq_resume(void * users_task_queue_ptr,bool all_tasks);
240 ** _taskq_test - _mqx_uint _taskq_test(void ** task_queue_error_ptr,void ** td_error_ptr);
241 ** _taskq_suspend_task - _mqx_uint _taskq_suspend_task(_task_id task_id,void * users_task_queue_ptr);
242 ** _taskq_get_value - _mqx_uint _taskq_get_value(void * users_task_queue_ptr);
243 ** normalize - static bool normalize(int16_t *,int16_t,int16_t *);
244 ** _time_add_day_to_ticks - MQX_TICK_STRUCT_PTR _time_add_day_to_ticks(MQX_TICK_STRUCT_PTR...
245 ** _time_add_hour_to_ticks - MQX_TICK_STRUCT_PTR _time_add_hour_to_ticks(MQX_TICK_STRUCT_PTR...
246 ** _time_add_min_to_ticks - MQX_TICK_STRUCT_PTR _time_add_min_to_ticks(MQX_TICK_STRUCT_PTR...
247 ** _time_add_msec_to_ticks - MQX_TICK_STRUCT_PTR _time_add_msec_to_ticks(MQX_TICK_STRUCT_PTR...
248 ** _time_add_nsec_to_ticks - MQX_TICK_STRUCT_PTR _time_add_nsec_to_ticks(MQX_TICK_STRUCT_PTR...
249 ** _time_add_psec_to_ticks - MQX_TICK_STRUCT_PTR _time_add_psec_to_ticks(MQX_TICK_STRUCT_PTR...
250 ** _time_add_sec_to_ticks - MQX_TICK_STRUCT_PTR _time_add_sec_to_ticks(MQX_TICK_STRUCT_PTR...
251 ** _time_add_usec_to_ticks - MQX_TICK_STRUCT_PTR _time_add_usec_to_ticks(MQX_TICK_STRUCT_PTR...
252 ** _time_delay - void _time_delay(register uint32_t milliseconds);
253 ** _usr_time_delay - void _usr_time_delay(register uint32_t milliseconds);
254 ** _time_delay_for - void _time_delay_for(register MQX_TICK_STRUCT_PTR ticks);
255 ** _time_delay_ticks - void _time_delay_ticks(register _mqx_uint time_in_ticks);
256 ** _usr_time_delay_ticks - void _usr_time_delay_ticks(register _mqx_uint time_in_ticks);
257 ** _time_delay_until - void _time_delay_until(register MQX_TICK_STRUCT_PTR ticks);
258 ** _time_diff_days - int32_t _time_diff_days(MQX_TICK_STRUCT_PTR end_tick_ptr,MQX_TICK_STRUCT_PTR...
259 ** _time_diff - void _time_diff(TIME_STRUCT_PTR start_time_ptr,TIME_STRUCT_PTR...
260 ** _time_diff_ticks - _mqx_uint _time_diff_ticks(MQX_TICK_STRUCT_PTR...
261 ** _time_diff_ticks_int32 - int32_t _time_diff_ticks_int32(MQX_TICK_STRUCT_PTR...
262 ** _time_diff_hours - int32_t _time_diff_hours(MQX_TICK_STRUCT_PTR end_tick_ptr,MQX_TICK_STRUCT_PTR...
263 ** _time_diff_minutes - int32_t _time_diff_minutes(MQX_TICK_STRUCT_PTR...
264 ** _time_diff_milliseconds - int32_t _time_diff_milliseconds(MQX_TICK_STRUCT_PTR...
265 ** _time_diff_nanoseconds - int32_t _time_diff_nanoseconds(MQX_TICK_STRUCT_PTR...
266 ** _time_diff_picoseconds - int32_t _time_diff_picoseconds(MQX_TICK_STRUCT_PTR...
267 ** _time_diff_seconds - int32_t _time_diff_seconds(MQX_TICK_STRUCT_PTR...
268 ** _time_diff_microseconds - int32_t _time_diff_microseconds(MQX_TICK_STRUCT_PTR...
269 ** _time_dequeue - void _time_dequeue(_task_id tid);
270 ** _time_dequeue_td - void _time_dequeue_td(void * td);
271 ** _time_get_elapsed - void _time_get_elapsed(TIME_STRUCT_PTR ts_ptr);
272 ** _time_get_elapsed_ticks - void _time_get_elapsed_ticks(MQX_TICK_STRUCT_PTR tick_ptr);
273 ** _usr_time_get_elapsed_ticks - void _usr_time_get_elapsed_ticks(MQX_TICK_STRUCT_PTR tick_ptr);
274 ** _time_get_elapsed_ticks_fast - void _time_get_elapsed_ticks_fast(MQX_TICK_STRUCT_PTR tick_ptr);
275 ** _time_from_date - bool _time_from_date(DATE_STRUCT_PTR date_ptr,TIME_STRUCT_PTR ts_ptr);
276 ** _time_get - void _time_get(register TIME_STRUCT_PTR ts_ptr);
277 ** _time_get_hwticks - uint32_t _time_get_hwticks();
278 ** _time_get_nanoseconds - uint32_t _time_get_nanoseconds();
279 ** _time_get_ticks_per_sec - _mqx_uint _time_get_ticks_per_sec();
280 ** _time_get_resolution - _mqx_uint _time_get_resolution();
281 ** _time_get_ticks - void _time_get_ticks(register MQX_TICK_STRUCT_PTR tick_ptr);
282 ** _time_get_microseconds - uint16_t _time_get_microseconds();
283 ** _time_get_hwticks_per_tick - uint32_t _time_get_hwticks_per_tick();
284 ** _time_init_ticks - _mqx_uint _time_init_ticks(MQX_TICK_STRUCT_PTR tick_ptr,_mqx_uint ticks);
285 ** _time_notify_kernel - void _time_notify_kernel();
286 ** _time_set - void _time_set(register TIME_STRUCT_PTR ts_ptr);
287 ** _time_set_ticks - void _time_set_ticks(register MQX_TICK_STRUCT_PTR ticks);
288 ** _time_check_if_leap - bool _time_check_if_leap(uint16_t year);
289 ** _time_set_resolution - _mqx_uint _time_set_resolution(_mqx_uint resolution);
290 ** _time_set_ticks_per_sec - void _time_set_ticks_per_sec(_mqx_uint ticks_per_sec);
291 ** _time_set_timer_vector - void _time_set_timer_vector(_mqx_uint vector);
292 ** _time_set_hwtick_function - void _time_set_hwtick_function(MQX_GET_HWTICKS_FPTR hwtick_function_ptr,void...
293 ** _time_set_hwticks_per_tick - void _time_set_hwticks_per_tick(uint32_t new_val);
294 ** _time_to_date - bool _time_to_date(TIME_STRUCT_PTR ts_ptr,DATE_STRUCT_PTR date_ptr);
295 ** _time_to_ticks - bool _time_to_ticks(TIME_STRUCT_PTR ts_ptr,MQX_TICK_STRUCT_PTR tick_ptr);
296 ** _ticks_to_time - bool _ticks_to_time(MQX_TICK_STRUCT_PTR tick_ptr,TIME_STRUCT_PTR ts_ptr);
297 ** mktime - time_t mktime(struct tm * tm_ptr);
298 ** gmtime_r - struct tm* gmtime_r(const time_t * timep,struct tm * result);
299 ** timegm - time_t timegm(struct tm * tm_ptr);
300 ** localtime_r - struct tm* localtime_r(const time_t * timep,struct tm * result);
301 **
302 ** Copyright : 1997 - 2015 Freescale Semiconductor, Inc.
303 ** All Rights Reserved.
304 **
305 ** Redistribution and use in source and binary forms, with or without modification,
306 ** are permitted provided that the following conditions are met:
307 **
308 ** o Redistributions of source code must retain the above copyright notice, this list
309 ** of conditions and the following disclaimer.
310 **
311 ** o Redistributions in binary form must reproduce the above copyright notice, this
312 ** list of conditions and the following disclaimer in the documentation and/or
313 ** other materials provided with the distribution.
314 **
315 ** o Neither the name of Freescale Semiconductor, Inc. nor the names of its
316 ** contributors may be used to endorse or promote products derived from this
317 ** software without specific prior written permission.
318 **
319 ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
320 ** ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
321 ** WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
322 ** DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
323 ** ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
324 ** (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
325 ** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
326 ** ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
327 ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
328 ** SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
329 **
330 ** http: www.freescale.com
331 ** mail: support@freescale.com
332 ** ###################################################################*/
333 /*!
334 ** @file mqx_ksdk.h
335 ** @version 01.00
336 ** @brief
337 ** MQX Lite RTOS Adapter component.
338 */
339 /*!
340 ** @addtogroup mqx_ksdk_module mqx_ksdk module documentation
341 ** @{
342 */
343
344 #ifndef __mqx_ksdk_H
345 #define __mqx_ksdk_H
346
347 /* MODULE mqx_ksdk. */
348
349 /* Include inherited beans */
350 #include "Cpu.h"
351 #include "mqx.h"
352 #include "fsl_os_abstraction.h"
353
354 typedef task_param_t os_task_param_t;
355
356 #define PEX_USE_RTOS
357
358 /* Type of RTOS used */
359 #define PEX_RTOS_MQX_TYPE
360
361 /* MQX task IDs */
362 #define MAINTASK_TASK 1U
363 #define EVENTHANDLER_TASK1_TASK 2U
364
365 extern const MQX_INITIALIZATION_STRUCT MQX_init_struct;
366 #define PEX_RTOS_START() _mqx( (MQX_INITIALIZATION_STRUCT_PTR) &MQX_init_struct );
367
368 /* END mqx_ksdk. */
369
370 #endif
371 /* ifndef __mqx_ksdk_H */
372 /*!
373 ** @}
374 */
375 /*
376 ** ###################################################################
377 **
378 ** This file was created by Processor Expert 10.5 [05.21]
379 ** for the Freescale Kinetis series of microcontrollers.
380 **
381 ** ###################################################################
382 */
383
Cpu.h
MQX_init_struct
const MQX_INITIALIZATION_STRUCT MQX_init_struct
os_task_param_t
task_param_t os_task_param_t
Definition: mqx_ksdk.h:354
- © Freescale Semiconductor, Inc. 2016. All Rights Reserved.