source: UsbWattMeter/trunk/asp_dcre/kernel/allfunc.h@ 164

Last change on this file since 164 was 164, checked in by coas-nagasima, 6 years ago

TOPPERS/ECNLサンプルアプリ「USB充電器電力計」を追加

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-chdr
File size: 6.6 KB
Line 
1/*
2 * TOPPERS/ASP Kernel
3 * Toyohashi Open Platform for Embedded Real-Time Systems/
4 * Advanced Standard Profile Kernel
5 *
6 * Copyright (C) 2005-2010 by Embedded and Real-Time Systems Laboratory
7 * Graduate School of Information Science, Nagoya Univ., JAPAN
8 *
9 * ã‹L’˜ìŒ ŽÒ‚́CˆÈ‰º‚Ì(1)`(4)‚ÌðŒ‚ð–ž‚½‚·ê‡‚ÉŒÀ‚èC–{ƒ\ƒtƒgƒEƒF
10 * ƒAi–{ƒ\ƒtƒgƒEƒFƒA‚ð‰ü•Ï‚µ‚½‚à‚Ì‚ðŠÜ‚ށDˆÈ‰º“¯‚¶j‚ðŽg—pE•¡»E‰ü
11 * •ÏEÄ”z•ziˆÈ‰ºC—˜—p‚ƌĂԁj‚·‚邱‚Ƃ𖳏ž‚Å‹–‘ø‚·‚éD
12 * (1) –{ƒ\ƒtƒgƒEƒFƒA‚ðƒ\[ƒXƒR[ƒh‚ÌŒ`‚Å—˜—p‚·‚éê‡‚ɂ́Cã‹L‚Ì’˜ì
13 * Œ •\Ž¦C‚±‚Ì—˜—pðŒ‚¨‚æ‚щº‹L‚Ì–³•ÛØ‹K’肪C‚»‚Ì‚Ü‚Ü‚ÌŒ`‚Ń\[
14 * ƒXƒR[ƒh’†‚ÉŠÜ‚Ü‚ê‚Ä‚¢‚邱‚ƁD
15 * (2) –{ƒ\ƒtƒgƒEƒFƒA‚ðCƒ‰ƒCƒuƒ‰ƒŠŒ`Ž®‚ȂǁC‘¼‚̃\ƒtƒgƒEƒFƒAŠJ”­‚ÉŽg
16 * —p‚Å‚«‚éŒ`‚ōĔz•z‚·‚éê‡‚ɂ́CÄ”z•z‚É”º‚¤ƒhƒLƒ…
17ƒƒ“ƒgi—˜—p
18 * ŽÒƒ}ƒjƒ…
19ƒAƒ‹‚Ȃǁj‚ɁCã‹L‚Ì’˜ìŒ •\Ž¦C‚±‚Ì—˜—pðŒ‚¨‚æ‚щº‹L
20 * ‚Ì–³•ÛØ‹K’è‚ðŒfÚ‚·‚邱‚ƁD
21 * (3) –{ƒ\ƒtƒgƒEƒFƒA‚ðC‹@Ší‚É‘g‚ݍž‚ނȂǁC‘¼‚̃\ƒtƒgƒEƒFƒAŠJ”­‚ÉŽg
22 * —p‚Å‚«‚È‚¢Œ`‚ōĔz•z‚·‚éê‡‚ɂ́CŽŸ‚Ì‚¢‚¸‚ê‚©‚ÌðŒ‚ð–ž‚½‚·‚±
23 * ‚ƁD
24 * (a) Ä”z•z‚É”º‚¤ƒhƒLƒ…
25ƒƒ“ƒgi—˜—pŽÒƒ}ƒjƒ…
26ƒAƒ‹‚Ȃǁj‚ɁCã‹L‚Ì’˜
27 * ìŒ •\Ž¦C‚±‚Ì—˜—pðŒ‚¨‚æ‚щº‹L‚Ì–³•ÛØ‹K’è‚ðŒfÚ‚·‚邱‚ƁD
28 * (b) Ä”z•z‚ÌŒ`‘Ô‚ðC•Ê‚É’è‚ß‚é•û–@‚É‚æ‚Á‚āCTOPPERSƒvƒƒWƒFƒNƒg‚É
29 * •ñ‚·‚邱‚ƁD
30 * (4) –{ƒ\ƒtƒgƒEƒFƒA‚Ì—˜—p‚É‚æ‚è’¼Ú“I‚Ü‚½‚͊ԐړI‚ɐ¶‚¶‚é‚¢‚©‚Ȃ鑹
31 * ŠQ‚©‚ç‚àCã‹L’˜ìŒ ŽÒ‚¨‚æ‚ÑTOPPERSƒvƒƒWƒFƒNƒg‚ð–Ɛӂ·‚邱‚ƁD
32 * ‚Ü‚½C–{ƒ\ƒtƒgƒEƒFƒA‚̃†[ƒU‚Ü‚½‚̓Gƒ“ƒhƒ†[ƒU‚©‚ç‚Ì‚¢‚©‚Ȃ闝
33 * —R‚ÉŠî‚­¿‹‚©‚ç‚àCã‹L’˜ìŒ ŽÒ‚¨‚æ‚ÑTOPPERSƒvƒƒWƒFƒNƒg‚ð
34 * –Ɛӂ·‚邱‚ƁD
35 *
36 * –{ƒ\ƒtƒgƒEƒFƒA‚́C–³•ÛØ‚Å’ñ‹Ÿ‚³‚ê‚Ä‚¢‚é‚à‚Ì‚Å‚ ‚éDã‹L’˜ìŒ ŽÒ‚¨
37 * ‚æ‚ÑTOPPERSƒvƒƒWƒFƒNƒg‚́C–{ƒ\ƒtƒgƒEƒFƒA‚ÉŠÖ‚µ‚āC“Á’è‚ÌŽg—p–Ú“I
38 * ‚ɑ΂·‚é“K‡«‚àŠÜ‚߂āC‚¢‚©‚È‚é•ÛØ‚às‚í‚È‚¢D‚Ü‚½C–{ƒ\ƒtƒgƒEƒF
39 * ƒA‚Ì—˜—p‚É‚æ‚è’¼Ú“I‚Ü‚½‚͊ԐړI‚ɐ¶‚¶‚½‚¢‚©‚Ȃ鑹ŠQ‚ÉŠÖ‚µ‚Ä‚àC‚»
40 * ‚̐ӔC‚𕉂í‚È‚¢D
41 *
42 * @(#) $Id: allfunc.h 164 2016-03-07 11:33:50Z coas-nagasima $
43 */
44
45/*
46 * ‚·‚ׂĂ̊֐”‚ðƒRƒ“ƒpƒCƒ‹‚·‚邽‚ß‚Ì’è‹`
47 */
48
49#ifndef TOPPERS_ALLFUNC_H
50#define TOPPERS_ALLFUNC_H
51
52/* startup.c */
53#define TOPPERS_sta_ker
54#define TOPPERS_ext_ker
55#define TOPPERS_kermem
56
57/* task.c */
58#define TOPPERS_tskini
59#define TOPPERS_tsksched
60#define TOPPERS_tskrun
61#define TOPPERS_tsknrun
62#define TOPPERS_tskdmt
63#define TOPPERS_tskact
64#define TOPPERS_tskpri
65#define TOPPERS_tskrot
66#define TOPPERS_tsktex
67
68/* wait.c */
69#define TOPPERS_waimake
70#define TOPPERS_waicmp
71#define TOPPERS_waitmo
72#define TOPPERS_waitmook
73#define TOPPERS_wairel
74#define TOPPERS_wobjwai
75#define TOPPERS_wobjwaitmo
76#define TOPPERS_iniwque
77
78/* time_event.c */
79#define TOPPERS_tmeini
80#define TOPPERS_tmeup
81#define TOPPERS_tmedown
82#define TOPPERS_tmeins
83#define TOPPERS_tmedel
84#define TOPPERS_tmeltim
85#define TOPPERS_sigtim
86
87/* task_manage.c */
88#define TOPPERS_acre_tsk
89#define TOPPERS_del_tsk
90#define TOPPERS_act_tsk
91#define TOPPERS_iact_tsk
92#define TOPPERS_can_act
93#define TOPPERS_ext_tsk
94#define TOPPERS_ter_tsk
95#define TOPPERS_chg_pri
96#define TOPPERS_get_pri
97#define TOPPERS_get_inf
98
99/* task_refer.c */
100#define TOPPERS_ref_tsk
101
102/* task_sync.c */
103#define TOPPERS_slp_tsk
104#define TOPPERS_tslp_tsk
105#define TOPPERS_wup_tsk
106#define TOPPERS_iwup_tsk
107#define TOPPERS_can_wup
108#define TOPPERS_rel_wai
109#define TOPPERS_irel_wai
110#define TOPPERS_sus_tsk
111#define TOPPERS_rsm_tsk
112#define TOPPERS_dly_tsk
113
114/* task_except.c */
115#define TOPPERS_def_tex
116#define TOPPERS_ras_tex
117#define TOPPERS_iras_tex
118#define TOPPERS_dis_tex
119#define TOPPERS_ena_tex
120#define TOPPERS_sns_tex
121#define TOPPERS_ref_tex
122
123/* semaphore.c */
124#define TOPPERS_semini
125#define TOPPERS_acre_sem
126#define TOPPERS_del_sem
127#define TOPPERS_sig_sem
128#define TOPPERS_isig_sem
129#define TOPPERS_wai_sem
130#define TOPPERS_pol_sem
131#define TOPPERS_twai_sem
132#define TOPPERS_ini_sem
133#define TOPPERS_ref_sem
134
135/* eventflag.c */
136#define TOPPERS_flgini
137#define TOPPERS_flgcnd
138#define TOPPERS_acre_flg
139#define TOPPERS_del_flg
140#define TOPPERS_set_flg
141#define TOPPERS_iset_flg
142#define TOPPERS_clr_flg
143#define TOPPERS_wai_flg
144#define TOPPERS_pol_flg
145#define TOPPERS_twai_flg
146#define TOPPERS_ini_flg
147#define TOPPERS_ref_flg
148
149/* dataqueue.c */
150#define TOPPERS_dtqini
151#define TOPPERS_dtqenq
152#define TOPPERS_dtqfenq
153#define TOPPERS_dtqdeq
154#define TOPPERS_dtqsnd
155#define TOPPERS_dtqfsnd
156#define TOPPERS_dtqrcv
157#define TOPPERS_acre_dtq
158#define TOPPERS_del_dtq
159#define TOPPERS_snd_dtq
160#define TOPPERS_psnd_dtq
161#define TOPPERS_ipsnd_dtq
162#define TOPPERS_tsnd_dtq
163#define TOPPERS_fsnd_dtq
164#define TOPPERS_ifsnd_dtq
165#define TOPPERS_rcv_dtq
166#define TOPPERS_prcv_dtq
167#define TOPPERS_trcv_dtq
168#define TOPPERS_ini_dtq
169#define TOPPERS_ref_dtq
170
171/* pridataq.c */
172#define TOPPERS_pdqini
173#define TOPPERS_pdqenq
174#define TOPPERS_pdqdeq
175#define TOPPERS_pdqsnd
176#define TOPPERS_pdqrcv
177#define TOPPERS_acre_pdq
178#define TOPPERS_del_pdq
179#define TOPPERS_snd_pdq
180#define TOPPERS_psnd_pdq
181#define TOPPERS_ipsnd_pdq
182#define TOPPERS_tsnd_pdq
183#define TOPPERS_rcv_pdq
184#define TOPPERS_prcv_pdq
185#define TOPPERS_trcv_pdq
186#define TOPPERS_ini_pdq
187#define TOPPERS_ref_pdq
188
189/* mailbox.c */
190#define TOPPERS_mbxini
191#define TOPPERS_acre_mbx
192#define TOPPERS_del_mbx
193#define TOPPERS_snd_mbx
194#define TOPPERS_rcv_mbx
195#define TOPPERS_prcv_mbx
196#define TOPPERS_trcv_mbx
197#define TOPPERS_ini_mbx
198#define TOPPERS_ref_mbx
199
200/* mempfix.c */
201#define TOPPERS_mpfini
202#define TOPPERS_mpfget
203#define TOPPERS_acre_mpf
204#define TOPPERS_del_mpf
205#define TOPPERS_get_mpf
206#define TOPPERS_pget_mpf
207#define TOPPERS_tget_mpf
208#define TOPPERS_rel_mpf
209#define TOPPERS_ini_mpf
210#define TOPPERS_ref_mpf
211
212/* time_manage.c */
213#define TOPPERS_get_tim
214#define TOPPERS_get_utm
215
216/* cyclic.c */
217#define TOPPERS_cycini
218#define TOPPERS_acre_cyc
219#define TOPPERS_del_cyc
220#define TOPPERS_sta_cyc
221#define TOPPERS_stp_cyc
222#define TOPPERS_ref_cyc
223#define TOPPERS_cyccal
224
225/* alarm.c */
226#define TOPPERS_almini
227#define TOPPERS_acre_alm
228#define TOPPERS_del_alm
229#define TOPPERS_sta_alm
230#define TOPPERS_ista_alm
231#define TOPPERS_stp_alm
232#define TOPPERS_istp_alm
233#define TOPPERS_ref_alm
234#define TOPPERS_almcal
235
236/* sys_manage.c */
237#define TOPPERS_rot_rdq
238#define TOPPERS_irot_rdq
239#define TOPPERS_get_tid
240#define TOPPERS_iget_tid
241#define TOPPERS_loc_cpu
242#define TOPPERS_iloc_cpu
243#define TOPPERS_unl_cpu
244#define TOPPERS_iunl_cpu
245#define TOPPERS_dis_dsp
246#define TOPPERS_ena_dsp
247#define TOPPERS_sns_ctx
248#define TOPPERS_sns_loc
249#define TOPPERS_sns_dsp
250#define TOPPERS_sns_dpn
251#define TOPPERS_sns_ker
252
253/* interrupt.c */
254#define TOPPERS_isrini
255#define TOPPERS_isrcal
256#define TOPPERS_acre_isr
257#define TOPPERS_del_isr
258#define TOPPERS_intini
259#define TOPPERS_dis_int
260#define TOPPERS_ena_int
261#define TOPPERS_chg_ipm
262#define TOPPERS_get_ipm
263
264/* exception.c */
265#define TOPPERS_excini
266#define TOPPERS_xsns_dpn
267#define TOPPERS_xsns_xpn
268
269#endif /* TOPPERS_ALLFUNC_H */
Note: See TracBrowser for help on using the repository browser.