...
Anchor |
---|
1080553 | 1080553 | Miscellaneous Anchor |
---|
1108941 | 1108941 | Table C-17 The table below shows the difference in API for miscellaneous services.
anchor...
HTML Table |
---|
summary |
---|
class | Plain_Table |
---|
Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1181952 | 1181952 | |
Table Cell (td) |
---|
Anchor |
---|
| 1181954 | 1181954 Table Cell (td) |
---|
Anchor |
11819561181956 | Table Row (tr) |
---|
Table Cell (td) |
---|
|
Anchor |
---|
1181958 | 1181958 | INT8U Anchor |
---|
1181959 | 1181959 | OSEventNameGet( Anchor |
---|
1181960 | 1181960 | OS_EVENT *pevent, Anchor |
---|
1181961 | 1181961 | INT8U **pname, Anchor |
---|
1181962 | 1181962 | INT8U *perr); Table Cell (td) |
---|
|
Anchor |
---|
1181964 | 1181964 | Table Cell (td) |
---|
|
Anchor |
---|
1181966 | 1181966 | (1) Table Row (tr) |
---|
Table Row (tr) |
---|
Table Row (tr) |
---|
Table Row (tr) |
---|
Table Row (tr) |
---|
Table Cell (td) |
---|
|
Anchor |
---|
1181992 | 1181992 | void Anchor |
---|
1181993 | 1181993 | OSEventNameSet( Anchor |
---|
1181994 | 1181994 | OS_EVENT *pevent, Anchor |
---|
1181995 | 1181995 | INT8U *pname, Anchor |
---|
1181996 | 1181996 | INT8U *perr); Table Cell (td) |
---|
|
Anchor |
---|
1181998 | 1181998 | Table Cell (td) |
---|
|
Anchor |
---|
1182000 | 1182000 | (1) Table Row (tr) |
---|
Table Row (tr) |
---|
Table Row (tr) |
---|
Table Row (tr) |
---|
Table Row (tr) |
---|
Table Cell (td) |
---|
|
Anchor |
---|
1182026 | 1182026 | INT16U Anchor |
---|
1182027 | 1182027 | OSEventPendMulti( Anchor |
---|
1182028 | 1182028 | OS_EVENT **pevent_pend, Anchor |
---|
1182029 | 1182029 | OS_EVENT **pevent_rdy, Anchor |
---|
1182030 | 1182030 | void **pmsgs_rdy, Anchor |
---|
1182031 | 1182031 | INT32U timeout, Anchor |
---|
1182032 | 1182032 | INT8U *perr); Table Cell (td) |
---|
|
Anchor |
---|
1182034 | 1182034 | OS_OBJ_QTY Anchor |
---|
1182035 | 1182035 | OSPendMulti( Anchor |
---|
1182036 | 1182036 | OS_PEND_DATA *p_pend_data_tbl, Anchor |
---|
1182037 | 1182037 | OS_OBJ_QTY tbl_size, Anchor |
---|
1182038 | 1182038 | OS_TICK timeout, Anchor |
---|
1182039 | 1182039 | OS_OPT opt, Anchor |
---|
1182040 | 1182040 | OS_ERR *p_err); Table Cell (td) |
---|
|
Anchor |
---|
1182042 | 1182042 | (2) Table Row (tr) |
---|
Table Row (tr) |
---|
Table Row (tr) |
---|
Table Row (tr) |
---|
Table Row (tr) |
---|
Table Row (tr) |
---|
Table Row (tr) |
---|
Table Cell (td) |
---|
|
Anchor |
---|
1182080 | 1182080 | void Anchor |
---|
1182081 | 1182081 | OSInit(void) Table Cell (td) |
---|
|
Anchor |
---|
1182083 | 1182083 | void Anchor |
---|
1182084 | 1182084 | OSInit( Anchor |
---|
1182085 | 1182085 | OS_ERR *p_err); Table Cell (td) |
---|
|
Anchor |
---|
1182087 | 1182087 | (3) Table Row (tr) |
---|
Table Row (tr) |
---|
Table Row (tr) |
---|
Table Cell (td) |
---|
|
Anchor |
---|
1182101 | 1182101 | void Anchor |
---|
1182102 | 1182102 | OSIntEnter(void) Table Cell (td) |
---|
|
Anchor |
---|
1182104 | 1182104 | void Anchor |
---|
1182105 | 1182105 | OSIntEnter(void); Table Cell (td) |
---|
|
Anchor |
---|
1182107 | 1182107 | Table Row (tr) |
---|
Table Row (tr) |
---|
Table Cell (td) |
---|
|
Anchor |
---|
1182115 | 1182115 | void Anchor |
---|
1182116 | 1182116 | OSIntExit(void) Table Cell (td) |
---|
|
Anchor |
---|
1182118 | 1182118 | void Anchor |
---|
1182119 | 1182119 | OSIntExit(void) Table Cell (td) |
---|
|
Anchor |
---|
1182121 | 1182121 | Table Row (tr) |
---|
Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1182129 | 1182129 | Table Cell (td) |
---|
Anchor |
---|
1182131 | 1182131 | void Anchor |
---|
1182132 | 1182132 | OSSched(void); Table Cell (td) |
---|
Anchor |
---|
1182134 | 1182134 | Table Row (tr) |
---|
Table Cell (td) |
---|
|
Anchor |
---|
1182136 | 1182136 | void Anchor |
---|
1182137 | 1182137 | OSSchedLock(void) Table Cell (td) |
---|
|
Anchor |
---|
1182139 | 1182139 | void Anchor |
---|
1182140 | 1182140 | OSSchedLock( Anchor |
---|
1182141 | 1182141 | OS_ERR *p_err); Table Cell (td) |
---|
|
Anchor |
---|
1182143 | 1182143 | (4) Table Row (tr) |
---|
Table Row (tr) |
---|
Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1182159 | 1182159 | Table Cell (td) |
---|
Anchor |
---|
1182161 | 1182161 | void Anchor |
---|
1182162 | 1182162 | OSSchedRoundRobinCfg( Anchor |
---|
1182163 | 1182163 | CPU_BOOLEAN en, Anchor |
---|
1182164 | 1182164 | OS_TICK dflt_time_quanta, Anchor |
---|
1182165 | 1182165 | OS_ERR *p_err); Table Cell (td) |
---|
Anchor |
---|
1182167 | 1182167 | (5) Anchor |
---|
1182168 | 1182168 | Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1182170 | 1182170 | Table Cell (td) |
---|
Anchor |
---|
1182172 | 1182172 | void Anchor |
---|
1182173 | 1182173 | OSSchedRoundRobinYield( Anchor |
---|
1182174 | 1182174 | OS_ERR *p_err); Table Cell (td) |
---|
Anchor |
---|
1182176 | 1182176 | (6) Table Row (tr) |
---|
Table Cell (td) |
---|
|
Anchor |
---|
1182178 | 1182178 | void Anchor |
---|
1182179 | 1182179 | OSSchedUnlock(void) Table Cell (td) |
---|
|
Anchor |
---|
1182181 | 1182181 | void Anchor |
---|
1182182 | 1182182 | OSSchedUnlock( Anchor |
---|
1182183 | 1182183 | OS_ERR *p_err); Table Cell (td) |
---|
|
Anchor |
---|
1182185 | 1182185 | (7) Table Row (tr) |
---|
Table Row (tr) |
---|
Table Cell (td) |
---|
|
Anchor |
---|
1182193 | 1182193 | void Anchor |
---|
1182194 | 1182194 | OSStart(void) Table Cell (td) |
---|
|
Anchor |
---|
1182196 | 1182196 | void Anchor |
---|
1182197 | 1182197 | OSStart(void); Table Cell (td) |
---|
|
Anchor |
---|
1182199 | 1182199 | Table Row (tr) |
---|
Table Row (tr) |
---|
Table Cell (td) |
---|
|
Anchor |
---|
1182207 | 1182207 | void Anchor |
---|
1182208 | 1182208 | OSStatInit(void) Table Cell (td) |
---|
|
Anchor |
---|
1182210 | 1182210 | void Anchor |
---|
1182211 | 1182211 | OSStatTaskCPUUsageInit( Anchor |
---|
1182212 | 1182212 | OS_ERR *p_err); Table Cell (td) |
---|
|
Anchor |
---|
1182214 | 1182214 | (8) Anchor |
---|
1182215 | 1182215 | Table Row (tr) |
---|
Table Row (tr) |
---|
Table Row (tr) |
---|
Table Cell (td) |
---|
|
Anchor |
---|
1182229 | 1182229 | INT16U Anchor |
---|
1182230 | 1182230 | OSVersion(void) Table Cell (td) |
---|
|
Anchor |
---|
1182232 | 1182232 | CPU_INT16U Anchor |
---|
1182233 | 1182233 | OSVersion( Anchor |
---|
1182234 | 1182234 | OS_ERR *p_err); Table Cell (td) |
---|
|
Anchor |
---|
1182236 | 1182236 | (9) Table Row (tr) |
---|
Table Row (tr) |
---|
...
INT8U
OSEventNameGet(
OS_EVENT *pevent,
INT8U **pname,
INT8U *perr); |
| (1) | void
OSEventNameSet(
OS_EVENT *pevent,
INT8U *pname,
INT8U *perr); |
| (1) | INT16U
OSEventPendMulti(
OS_EVENT **pevent_pend,
OS_EVENT **pevent_rdy,
void **pmsgs_rdy,
INT32U timeout,
INT8U *perr); |
| (2) | void
OSInit(void) | void
OSInit(
OS_ERR *p_err); | (3) | void
OSIntEnter(void) | void
OSIntEnter(void); |
| void
OSIntExit(void) | void
OSIntExit(void) |
|
| void
OSSched(void); |
| void
OSSchedLock(void) | void
OSSchedLock(
OS_ERR *p_err); | (4) |
| void
OSSchedRoundRobinCfg(
CPU_BOOLEAN en,
OS_TICK dflt_time_quanta,
OS_ERR *p_err); | (5)
|
| void
OSSchedRoundRobinYield(
OS_ERR *p_err); | (6) | void
OSSchedUnlock(void) | void
OSSchedUnlock(
OS_ERR *p_err); | (7) | void
OSStart(void) | void
OSStart(void); |
| void
OSStatInit(void) | void
OSStatTaskCPUUsageInit(
OS_ERR *p_err); | (8) | INT16U
OSVersion(void) | CPU_INT16U
OSVersion(
OS_ERR *p_err); | (9) |
|
Panel |
---|
|
(1) Objects in µC/OS-III are named when they are created and these functions are not required in µC/OS-III. |
...
(2) Multipend no longer exist in µC/OS-III |
...
. (3) µC/OS-III returns an error code for this function. Initialization is successful if OS_ERR_NONE is received from OSInit() . In µC/OS-II, there is no way of detecting an error in the configuration that caused OSInit() to fail. |
...
(4) An error code is returned in µC/OS-III for this function. |
...
(5) Enable or disable µC/OS-III’s round-robin scheduling at run time, as well as change the default time quanta. |
...
(6) A task that completes its work before its time quanta expires may yield the CPU to another task at the same priority. |
...
(7) An error code is returned in µC/OS-III for this function. |
...
(8) Note the change in name for the function that computes the “capacity” of the CPU for the purpose of computing CPU usage at run-time. |
...
(9) An error code is returned in µC/OS-III for this function. |