List of APIs and Service Profile Items

μT-Kernel/OS

Task Management Functions

API nameAvailabilityOther related service profile items
tk_cre_tsk Always

TK_SUPPORT_ASM
TK_SUPPORT_USERBUF
TK_SUPPORT_AUTOBUF
TK_SUPPORT_FPU
TK_SUPPORT_COPn
TK_HAS_SYSSTACK
TK_SUPPORT_DSNAME
TK_MAX_TSKPRI

tk_del_tsk AlwaysNone
tk_sta_tsk AlwaysNone
tk_ext_tsk AlwaysNone
tk_exd_tsk AlwaysNone
tk_ter_tsk AlwaysNone
tk_chg_pri Always

TK_MAX_TSKPRI

tk_get_reg TK_SUPPORT_REGOPS None
tk_set_reg TK_SUPPORT_REGOPS None
tk_get_cpr TK_SUPPORT_COPn None
tk_set_cpr TK_SUPPORT_COPn None
tk_ref_tsk Always

TK_SUPPORT_DISWAI
TK_SUPPORT_TASKEXCEPTION
TK_SUPPORT_TASKEVENT

Task Synchronization Functions

API nameAvailabilityOther related service profile items
tk_slp_tsk AlwaysNone
tk_slp_tsk_u TK_SUPPORT_USEC None
tk_wup_tsk Always

TK_WAKEUP_MAXCNT

tk_can_wup AlwaysNone
tk_rel_wai AlwaysNone
tk_sus_tsk Always

TK_SUSPEND_MAXCNT

tk_rsm_tsk AlwaysNone
tk_frsm_tsk AlwaysNone
tk_dly_tsk AlwaysNone
tk_dly_tsk_u TK_SUPPORT_USEC None
tk_sig_tev TK_SUPPORT_TASKEVENT None
tk_wai_tev TK_SUPPORT_TASKEVENT None
tk_wai_tev_u TK_SUPPORT_TASKEVENT && TK_SUPPORT_USECNone
tk_dis_wai TK_SUPPORT_DISWAI None
tk_ena_wai TK_SUPPORT_DISWAI None

Task Exception Handling Functions

API nameAvailabilityOther related service profile items
tk_def_tex TK_SUPPORT_TASKEXCEPTION None
tk_ena_tex TK_SUPPORT_TASKEXCEPTION None
tk_dis_tex TK_SUPPORT_TASKEXCEPTION None
tk_ras_tex TK_SUPPORT_TASKEXCEPTION None
tk_end_tex TK_SUPPORT_TASKEXCEPTION None
tk_ref_tex TK_SUPPORT_TASKEXCEPTION None

Synchronization and Communication Functions

API nameAvailabilityOther related service profile items
tk_cre_sem Always

TK_SUPPORT_DISWAI
TK_SUPPORT_DSNAME
TK_SEMAPHORE_MAXCNT

tk_del_sem AlwaysNone
tk_sig_sem AlwaysNone
tk_wai_sem AlwaysNone
tk_wai_sem_u TK_SUPPORT_USEC None
tk_ref_sem AlwaysNone
tk_cre_flg Always

TK_SUPPORT_DISWAI
TK_SUPPORT_DSNAME

tk_del_flg AlwaysNone
tk_set_flg AlwaysNone
tk_clr_flg AlwaysNone
tk_wai_flg AlwaysNone
tk_wai_flg_u TK_SUPPORT_USEC None
tk_ref_flg AlwaysNone
tk_cre_mbx Always

TK_SUPPORT_DISWAI
TK_SUPPORT_DSNAME

tk_del_mbx AlwaysNone
tk_snd_mbx AlwaysNone
tk_rcv_mbx AlwaysNone
tk_rcv_mbx_u TK_SUPPORT_USEC None
tk_ref_mbx AlwaysNone

Extended Synchronization and Communication Functions

API nameAvailabilityOther related service profile items
tk_cre_mtx Always

TK_SUPPORT_DISWAI
TK_SUPPORT_DSNAME

tk_del_mtx AlwaysNone
tk_loc_mtx AlwaysNone
tk_loc_mtx_u TK_SUPPORT_USEC None
tk_unl_mtx AlwaysNone
tk_ref_mtx AlwaysNone
tk_cre_mbf Always

TK_SUPPORT_USERBUF
TK_SUPPORT_AUTOBUF
TK_SUPPORT_DISWAI
TK_SUPPORT_DSNAME

tk_del_mbf AlwaysNone
tk_snd_mbf AlwaysNone
tk_snd_mbf_u TK_SUPPORT_USEC None
tk_rcv_mbf AlwaysNone
tk_rcv_mbf_u TK_SUPPORT_USEC None
tk_ref_mbf AlwaysNone

Memory Pool Management Functions

API nameAvailabilityOther related service profile items
tk_cre_mpf Always

TK_SUPPORT_USERBUF
TK_SUPPORT_AUTOBUF
TK_SUPPORT_DISWAI
TK_SUPPORT_DSNAME

tk_del_mpf AlwaysNone
tk_get_mpf AlwaysNone
tk_get_mpf_u TK_SUPPORT_USEC None
tk_rel_mpf AlwaysNone
tk_ref_mpf AlwaysNone
tk_cre_mpl Always

TK_SUPPORT_USERBUF
TK_SUPPORT_AUTOBUF
TK_SUPPORT_DISWAI
TK_SUPPORT_DSNAME

tk_del_mpl AlwaysNone
tk_get_mpl AlwaysNone
tk_get_mpl_u TK_SUPPORT_USEC None
tk_rel_mpl AlwaysNone
tk_ref_mpl AlwaysNone

Time Management Functions

API nameAvailabilityOther related service profile items
tk_set_utc TK_SUPPORT_UTC None
tk_set_utc_u TK_SUPPORT_UTC && TK_SUPPORT_USECNone
tk_set_tim TK_SUPPORT_TRONTIME None
tk_set_tim_u TK_SUPPORT_TRONTIME && TK_SUPPORT_USECNone
tk_get_utc TK_SUPPORT_UTC None
tk_get_utc_u TK_SUPPORT_UTC && TK_SUPPORT_USECNone
tk_get_tim TK_SUPPORT_TRONTIME None
tk_get_tim_u TK_SUPPORT_TRONTIME && TK_SUPPORT_USECNone
tk_get_otm AlwaysNone
tk_get_otm_u TK_SUPPORT_USEC None
tk_cre_cyc Always

TK_SUPPORT_ASM
TK_SUPPORT_DSNAME

tk_cre_cyc_u TK_SUPPORT_USEC

TK_SUPPORT_ASM
TK_SUPPORT_DSNAME

tk_del_cyc AlwaysNone
tk_sta_cyc AlwaysNone
tk_stp_cyc AlwaysNone
tk_ref_cyc AlwaysNone
tk_ref_cyc_u TK_SUPPORT_USEC None
tk_cre_alm Always

TK_SUPPORT_ASM
TK_SUPPORT_DSNAME

tk_del_alm AlwaysNone
tk_sta_alm AlwaysNone
tk_sta_alm_u TK_SUPPORT_USEC None
tk_stp_alm AlwaysNone
tk_ref_alm AlwaysNone
tk_ref_alm_u TK_SUPPORT_USEC None

Interrupt Management Functions

API nameAvailabilityOther related service profile items
tk_def_int Always TK_SUPPORT_ASM
tk_ret_int Always TK_SUPPORT_ASM

System Management Functions

API nameAvailabilityOther related service profile items
tk_rot_rdq AlwaysNone
tk_get_tid AlwaysNone
tk_dis_dsp AlwaysNone
tk_ena_dsp AlwaysNone
tk_ref_sys AlwaysNone
tk_set_pow TK_SUPPORT_LOWPOWER None
tk_ref_ver AlwaysNone

Subsystem Management Functions

API nameAvailabilityOther related service profile items
tk_def_ssy TK_SUPPORT_SUBSYSTEM

TK_SUPPORT_SSYEVENT
TK_SUPPORT_TASKEXCEPTION

tk_evt_ssy TK_SUPPORT_SUBSYSTEM && TK_SUPPORT_SSYEVENTNone
tk_ref_ssy TK_SUPPORT_SUBSYSTEM TK_SUPPORT_SSYEVENT

μT-Kernel/SM

System Memory Management Functions

API nameAvailabilityOther related service profile items
Kmalloc TK_SUPPORT_MEMLIB None
Kcalloc TK_SUPPORT_MEMLIB None
Krealloc TK_SUPPORT_MEMLIB None
Kfree TK_SUPPORT_MEMLIB None

Device Management Functions

API nameAvailabilityOther related service profile items
tk_opn_dev AlwaysNone
tk_cls_dev AlwaysNone
tk_rea_dev AlwaysNone
tk_rea_dev_du TK_SUPPORT_LARGEDEV && TK_SUPPORT_USECNone
tk_srea_dev AlwaysNone
tk_srea_dev_d TK_SUPPORT_LARGEDEV None
tk_wri_dev AlwaysNone
tk_wri_dev_du TK_SUPPORT_LARGEDEV && TK_SUPPORT_USECNone
tk_swri_dev AlwaysNone
tk_swri_dev_d TK_SUPPORT_LARGEDEV None
tk_wai_dev AlwaysNone
tk_wai_dev_u TK_SUPPORT_USEC None
tk_sus_dev TK_SUPPORT_LOWPOWER None
tk_get_dev AlwaysNone
tk_ref_dev AlwaysNone
tk_oref_dev AlwaysNone
tk_lst_dev AlwaysNone
tk_evt_dev AlwaysNone
tk_def_dev AlwaysNone
tk_ref_idv AlwaysNone
openfn AlwaysNone
closefn AlwaysNone
execfn Always

TK_SUPPORT_LARGEDEV
TK_SUPPORT_USEC

waitfn Always

TK_SUPPORT_LARGEDEV
TK_SUPPORT_USEC

abortfn Always

TK_SUPPORT_LARGEDEV

eventfn AlwaysNone

Interrupt Management Functions

API nameAvailabilityOther related service profile items
DI AlwaysNone
EI AlwaysNone
isDI AlwaysNone
SetCpuIntLevel TK_SUPPORT_CPUINTLEVEL None
GetCpuIntLevel TK_SUPPORT_CPUINTLEVEL None
EnableInt TK_SUPPORT_INTCTRL

TK_HAS_ENAINTLEVEL

DisableInt TK_SUPPORT_INTCTRL None
ClearInt TK_SUPPORT_INTCTRL None
EndOfInt TK_SUPPORT_INTCTRL None
CheckInt TK_SUPPORT_INTCTRL None
SetIntMode TK_SUPPORT_INTMODE None
SetCtrlIntLevel TK_SUPPORT_CTRLINTLEVEL None
GetCtrlIntLevel TK_SUPPORT_CTRLINTLEVEL None

I/O Port Access Support Functions

API nameAvailabilityOther related service profile items
out_b TK_SUPPORT_IOPORT None
out_h TK_SUPPORT_IOPORT None
out_w TK_SUPPORT_IOPORT None
out_d TK_SUPPORT_IOPORT && TK_HAS_DOUBLEWORDNone
in_b TK_SUPPORT_IOPORT None
in_h TK_SUPPORT_IOPORT None
in_w TK_SUPPORT_IOPORT None
in_d TK_SUPPORT_IOPORT && TK_HAS_DOUBLEWORDNone
WaitUsec TK_SUPPORT_MICROWAIT None
WaitNsec TK_SUPPORT_MICROWAIT None

Power Management Functions

API nameAvailabilityOther related service profile items
low_pow TK_SUPPORT_LOWPOWER None
off_pow TK_SUPPORT_LOWPOWER None

System Configuration Information Management Functions

API nameAvailabilityOther related service profile items
tk_get_cfn TK_SUPPORT_SYSCONF None
tk_get_cfs TK_SUPPORT_SYSCONF None

Memory Cache Control Functions

API nameAvailabilityOther related service profile items
SetCacheMode TK_SUPPORT_CACHECTRL && TK_SUPPORT_SETCACHEMODE

TK_SUPPORT_WBCACHE
TK_SUPPORT_WTCACHE

ControlCache TK_SUPPORT_CACHECTRL None

Physical Timer Functions

API nameAvailabilityOther related service profile items
StartPhysicalTimer TK_SUPPORT_PTIMER

TK_MAX_PTIMER

StopPhysicalTimer TK_SUPPORT_PTIMER

TK_MAX_PTIMER

GetPhysicalTimerCount TK_SUPPORT_PTIMER

TK_MAX_PTIMER

DefinePhysicalTimerHandler TK_SUPPORT_PTIMER

TK_MAX_PTIMER

GetPhysicalTimerConfig TK_SUPPORT_PTIMER

TK_MAX_PTIMER

Utility Functions

API nameAvailabilityOther related service profile items
SetOBJNAME AlwaysNone
CreateLock AlwaysNone
DeleteLock AlwaysNone
Lock AlwaysNone
Unlock AlwaysNone
CreateMLock AlwaysNone
DeleteMLock AlwaysNone
MLock AlwaysNone
MLockTmo AlwaysNone
MLockTmo_u TK_SUPPORT_USEC None
MUnlock AlwaysNone

μT-Kernel/DS

Kernel Internal State Acquisition Functions

API nameAvailabilityOther related service profile items
td_lst_tsk TK_SUPPORT_DBGSPT None
td_lst_sem TK_SUPPORT_DBGSPT None
td_lst_flg TK_SUPPORT_DBGSPT None
td_lst_mbx TK_SUPPORT_DBGSPT None
td_lst_mtx TK_SUPPORT_DBGSPT None
td_lst_mbf TK_SUPPORT_DBGSPT None
td_lst_mpf TK_SUPPORT_DBGSPT None
td_lst_mpl TK_SUPPORT_DBGSPT None
td_lst_cyc TK_SUPPORT_DBGSPT None
td_lst_alm TK_SUPPORT_DBGSPT None
td_lst_ssy TK_SUPPORT_SUBSYSTEM && TK_SUPPORT_DBGSPTNone
td_rdy_que TK_SUPPORT_DBGSPT None
td_sem_que TK_SUPPORT_DBGSPT None
td_flg_que TK_SUPPORT_DBGSPT None
td_mbx_que TK_SUPPORT_DBGSPT None
td_mtx_que TK_SUPPORT_DBGSPT None
td_smbf_que TK_SUPPORT_DBGSPT None
td_rmbf_que TK_SUPPORT_DBGSPT None
td_mpf_que TK_SUPPORT_DBGSPT None
td_mpl_que TK_SUPPORT_DBGSPT None
td_ref_tsk TK_SUPPORT_DBGSPT

TK_SUPPORT_DISWAI
TK_SUPPORT_TASKEXCEPTION
TK_SUPPORT_TASKEVENT
TK_HAS_SYSSTACK

td_ref_tex TK_SUPPORT_DBGSPT && TK_SUPPORT_TASKEXCEPTIONNone
td_ref_sem TK_SUPPORT_DBGSPT None
td_ref_flg TK_SUPPORT_DBGSPT None
td_ref_mbx TK_SUPPORT_DBGSPT None
td_ref_mtx TK_SUPPORT_DBGSPT None
td_ref_mbf TK_SUPPORT_DBGSPT None
td_ref_mpf TK_SUPPORT_DBGSPT None
td_ref_mpl TK_SUPPORT_DBGSPT None
td_ref_cyc TK_SUPPORT_DBGSPT None
td_ref_cyc_u TK_SUPPORT_DBGSPT && TK_SUPPORT_USECNone
td_ref_alm TK_SUPPORT_DBGSPT None
td_ref_alm_u TK_SUPPORT_DBGSPT && TK_SUPPORT_USECNone
td_ref_sys TK_SUPPORT_DBGSPT None
td_ref_ssy TK_SUPPORT_SUBSYSTEM && TK_SUPPORT_DBGSPTNone
td_get_reg TK_SUPPORT_DBGSPT && TK_SUPPORT_REGOPSNone
td_set_reg TK_SUPPORT_DBGSPT && TK_SUPPORT_REGOPSNone
td_get_utc TK_SUPPORT_DBGSPT && TK_SUPPORT_UTCNone
td_get_utc_u TK_SUPPORT_DBGSPT && TK_SUPPORT_UTC && TK_SUPPORT_USECNone
td_get_tim TK_SUPPORT_DBGSPT && TK_SUPPORT_TRONTIMENone
td_get_tim_u TK_SUPPORT_DBGSPT && TK_SUPPORT_TRONTIME && TK_SUPPORT_USECNone
td_get_otm TK_SUPPORT_DBGSPT None
td_get_otm_u TK_SUPPORT_DBGSPT && TK_SUPPORT_USECNone
td_ref_dsname TK_SUPPORT_DSNAME None
td_set_dsname TK_SUPPORT_DSNAME None

Trace Functions

API nameAvailabilityOther related service profile items
td_hok_svc TK_SUPPORT_DBGSPT None
td_hok_dsp TK_SUPPORT_DBGSPT None
td_hok_int TK_SUPPORT_DBGSPT None