Keil RTX51 Manual page 13

Table of Contents

Advertisement

RTX Tiny
RTX51 Functions
The following table shows all RTX51 functions; RTX51 Tiny supports only the functions
marked with (*). (Timings are measured with RTX51 Full)
Function
os_create (*)
os_delete (*)
os_send_signal (*)
os_clear_signal (*)
isr_send_signal (*)
os_wait (*)
sage
os_attach_interrupt
os_detach_interrupt
os_disable_isr
os_enable_isr
os_send_message/
os_send_token
isr_send_message
isr_recv_message
os_create_pool
os_get_block
os_free_block
os_set_slice
Additional
check_tasks, check_mail, check_pool, set_int_mask, reset_int_mask.
CAN Functions (only available with RTX51 Full)
CAN controllers supported: Philips 82C200, 80C592 and Intel 82526 (more CAN con-
trollers in preparation).
CAN Function
can_task_create
can_hw_init
can_def_obj
can_start / can_stop
can_send
can_write
can_read
can_receive
can_bind_obj
can_unbind_obj
can_wait
can_request
can_get_status
Description
move a task to execution queue
remove a task from execution queue
send a signal to a task (call from tasks)
delete a sent signal
send a signal to a task (call from interrupt)
wait for event
assign task to interrupt source
remove interrupt assignment
disable 8051 hardware interrupts
enable 8051 hardware interrupts
send a message or set a semaphore (call
from task)
send a message (call from interrupt)
receive a message (call from interrupt)
define a memory pool
get a block from a memory pool
return a block to a memory pool
define RTX51 system clock value
DEBUG
and
SUPPORT
Description
create the CAN communication task
CAN controller hardware initialization
define the communication objects
start and stop the CAN communication
send an object over the CAN bus
write new data to an object without sending it
read an objects data direct
receive all not bound objects
bind an object to a task; task is started when object is received
untie the binding between task and object
wait for receiving of a bound object
send a remote frame for the specified object
get the actual CAN controller status
Execution Time
(cycles)
302
172
408 with task switch.
316 with fast task switch
71 without task switch
57
46
68 for pending signal
160 for pending mes-
119
96
81
80
443 with task switch
343 with fast task switch
94 without task switch
53
71 (with message)
644 (size 20 * 10 bytes)
148
160
67
functions:
check_mailboxes,
13
1
check_task,

Advertisement

Table of Contents
loading

Table of Contents