
B–61863E–1/06
1. GENERALPMC LIBRARY
135
1
GENERAL
The table below lists the functions for PMC C language library.
PMC system call
No. Function name Description RC/RC3/RC4 NB/NB2 16i/18i/21i 15i-A
2.1 os_chng_pri Changes the priority level of a task. f f f f
2.2 os_show_tim Reads the current timer value. f f f f
2.3 os_set_tim Sets the current timer value. f f f f
2.4 os_sync_tim Keeps the task in the waiting state until a spe-
cified time.
f f f f
2.5 os_wait_tim Keeps the task in the waiting state for a speci-
fied time period.
f f f f
2.6 os_make_flg Creates an event flag. f f f f
2.7 os_delt_flg Deletes an event flag. f f f f
2.8 os_sign_flg Signals an event flag. f f f f
2.9 os_wait_flg Waits for an event flag to be signaled. f f f f
2.10 os_clar_flg Clears an event flag. f f f f
2.11 os_puls_flg Signals an event flag with a pulse. f f f f
2.12 os_new_mem Allocates a part of the pooled area to
memory.
f f f f
2.13 os_disp_mem Deallocates memory and returns the area to
the pooled area.
f f f f
2.14 os_repo_mem Reports the use-state of the pooled area. f f f f
2.15 os_make_sem Creating the counter type semaphore. f f f f
2.16 os_delt_sem Deletes the semaphore. f f f f
2.17 os_sign_sem Signals the semaphore. f f f f
2.18 os_wait_sem Waits for the semaphore signal. f f f f
2.19 os_mak2_sem Creates the exclusive control semaphore. f f f f
2.20 os_queu_sem Changes the semaphore queue type. f f f f
2.21 os_make_mbx Creates the mailbox. f f f f
2.22 os_delt_mbx Deletes the mailbox. f f f f
2.23 os_read_mbx Reads the four-byte message from the mail-
box.
f f f f
2.24 os_red2_mbx Reads the eight-byte message from the mail-
box.
f f f f
2.25 os_writ_mbx Writes the four-byte message from the mail-
box.
f f f f
2.26 os_wrt2_mbx Writes the eight-byte message from the mail-
box.
f f f f
2.27 os_make_pkt Selects the packet. f f f f
2.28 os_delt_pkt Returns the used packet. f f f f
2.29 os_send_pkt Sends the packet. f f f f
2.30 os_recv_pkt Receives the packet. f f f f
2.31 os_mark_pkt Marks the packet. f f f f