TI BLE5-Stack API Documentation  9.14.00
icall.h
Go to the documentation of this file.
1 /******************************************************************************
2 
3  Group: WCS, LPC, BTS
4  $Target Device: DEVICES $
5 
6  ******************************************************************************
7  $License: BSD3 2013 $
8  ******************************************************************************
9  $Release Name: PACKAGE NAME $
10  $Release Date: PACKAGE RELEASE DATE $
11  *****************************************************************************/
12 
21 #ifndef ICALL_H
22 #define ICALL_H
23 
24 #include <stdarg.h>
25 #include <stdbool.h>
26 #include <stdint.h>
27 #include <stdlib.h>
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
33 #include "ti/ble/stack_util/health_toolkit/assert.h"
34 
45 #define ICALL_SERVICE_CLASS_MASK 0xFFF8
46 
53 #define ICALL_SERVICE_INSTANCE_MASK 0x0007
54 
61 #define ICALL_SERVICE_CLASS_PRIMITIVE 0x0008
62 
63 /* Radio stack services */
64 
66 #define ICALL_SERVICE_CLASS_BLE 0x0010
67 
69 #define ICALL_SERVICE_CLASS_TIMAC 0x0018
70 
72 #define ICALL_SERVICE_CLASS_REMOTI_RTI 0x0020
73 
75 #define ICALL_SERVICE_CLASS_REMOTI_RCN 0x0028
76 
78 #define ICALL_SERVICE_CLASS_ZSTACK 0x0030
79 
81 #define ICALL_SERVICE_CLASS_NPI 0x0038
82 
84 #define ICALL_SERVICE_CLASS_BLE_MSG 0x0050
85 
86 /* Services that are visible only for other services
87  * but not for applications */
88 
94 #define ICALL_SERVICE_CLASS_CRYPTO 0x0080
95 
101 #define ICALL_SERVICE_CLASS_BLE_BOARD 0x0088
102 
108 #define ICALL_SERVICE_CLASS_TIMAC_BOARD 0x0090
109 
115 #define ICALL_SERVICE_CLASS_RADIO 0x0098
116 
122 #define ICALL_SERVICE_CLASS_DUMMY 0x0100
123 
130 #define ICALL_SERVICE_CLASS_DUMMY_BOARD 0x0200
131 
135 #define ICALL_INVALID_ENTITY_ID 0xffu
136 
140 #define ICALL_INVALID_TIMER_ID NULL
141 
143 
150 #define ICALL_UNDEF_DEST_ID 0xffu
151 
154 #define ICALL_ERRNO_SUCCESS 0
155 
157 #define ICALL_ERRNO_TIMEOUT 1
158 
160 #define ICALL_ERRNO_NOMSG 2
161 
167 #define ICALL_ERRNO_INVALID_SERVICE -1
168 
173 #define ICALL_ERRNO_INVALID_FUNCTION -2
174 
176 #define ICALL_ERRNO_INVALID_PARAMETER -3
177 
179 #define ICALL_ERRNO_NO_RESOURCE -4
180 
186 #define ICALL_ERRNO_UNKNOWN_THREAD -5
187 
189 #define ICALL_ERRNO_CORRUPT_MSG -6
190 
192 #define ICALL_ERRNO_OVERFLOW -7
193 
195 #define ICALL_ERRNO_UNDERFLOW -8
196 
198 #define ICALL_MSG_FORMAT_KEEP 0
199 
204 #define ICALL_MSG_FORMAT_1ST_CHAR_TASK_ID 1
205 
210 #define ICALL_MSG_FORMAT_3RD_CHAR_TASK_ID 2
211 
215 #define ICALL_MSG_FORMAT_DIRECT_API_ID 3
216 
220 #define ICALL_LITE_DIRECT_API_DONE_CMD_ID 0x42
221 
225 #define ICALL_TIMEOUT_FOREVER 0xfffffffful
226 
231 #ifndef ICALL_TIMEOUT_PREDEFINE
232 #define ICALL_TIMEOUT_PREDEFINE 5000
233 #endif /* ICALL_TIMEOUT_PREDEFINE */
234 
238 #define ICALL_SEMAPHORE_MODE_COUNTING 0
239 
243 #define ICALL_SEMAPHORE_MODE_BINARY 1
244 
245 /* @brief Primitive service function enumeration */
246 
248 
249 #define ICALL_PRIMITIVE_FUNC_ENROLL 0
250 
252 #define ICALL_PRIMITIVE_FUNC_REGISTER_APP 1
253 
255 #define ICALL_PRIMITIVE_FUNC_MSG_ALLOC 2
256 
258 #define ICALL_PRIMITIVE_FUNC_MSG_FREE 3
259 
261 #define ICALL_PRIMITIVE_FUNC_MALLOC 4
262 
264 #define ICALL_PRIMITIVE_FUNC_FREE 5
265 
267 #define ICALL_PRIMITIVE_FUNC_SEND_MSG 6
268 
270 #define ICALL_PRIMITIVE_FUNC_FETCH_MSG 7
271 
273 #define ICALL_PRIMITIVE_FUNC_SEND_SERV_MSG 8
274 
276 #define ICALL_PRIMITIVE_FUNC_FETCH_SERV_MSG 9
277 
279 #define ICALL_PRIMITIVE_FUNC_WAIT 10
280 
282 #define ICALL_PRIMITIVE_FUNC_SIGNAL 11
283 
285 #define ICALL_PRIMITIVE_FUNC_ABORT 12
286 
288 #define ICALL_PRIMITIVE_FUNC_ENABLE_INT 13
289 
291 #define ICALL_PRIMITIVE_FUNC_DISABLE_INT 14
292 
294 #define ICALL_PRIMITIVE_FUNC_ENABLE_MINT 15
295 
297 #define ICALL_PRIMITIVE_FUNC_DISABLE_MINT 16
298 
300 #define ICALL_PRIMITIVE_FUNC_REGISTER_ISR 17
301 
303 #define ICALL_PRIMITIVE_FUNC_GET_TICKS 18
304 
306 #define ICALL_PRIMITIVE_FUNC_SET_TIMER_MSECS 19
307 
309 #define ICALL_PRIMITIVE_FUNC_GET_TICK_PERIOD 20
310 
312 #define ICALL_PRIMITIVE_FUNC_GET_MAX_MILLISECONDS 21
313 
315 #define ICALL_PRIMITIVE_FUNC_ENTITY2SERVICE 22
316 
318 #define ICALL_PRIMITIVE_FUNC_PWR_UPD_ACTIVITY_COUNTER 23
319 
321 #define ICALL_PRIMITIVE_FUNC_PWR_REGISTER_NOTIFY 24
322 
324 #define ICALL_PRIMITIVE_FUNC_WAIT_MATCH 25
325 
327 #define ICALL_PRIMITIVE_FUNC_GET_ENTITY_ID 26
328 
330 #define ICALL_PRIMITIVE_FUNC_SET_TIMER 27
331 
333 #define ICALL_PRIMITIVE_FUNC_STOP_TIMER 28
334 
339 #define ICALL_PRIMITIVE_FUNC_PWR_CONFIG_AC_ACTION 29
340 
342 #define ICALL_PRIMITIVE_FUNC_PWR_REQUIRE 30
343 
345 #define ICALL_PRIMITIVE_FUNC_PWR_DISPENSE 31
346 
348 #define ICALL_PRIMITIVE_FUNC_THREAD_SERVES 32
349 
351 #define ICALL_PRIMITIVE_FUNC_PWR_IS_STABLE_XOSC_HF 33
352 
354 #define ICALL_PRIMITIVE_FUNC_PWR_GET_TRANSITION_STATE 34
355 
357 #define ICALL_PRIMITIVE_FUNC_CREATE_TASK 35
358 
360 #define ICALL_PRIMITIVE_FUNC_CREATE_SEMAPHORE 36
361 
363 #define ICALL_PRIMITIVE_FUNC_WAIT_SEMAPHORE 37
364 
366 #define ICALL_PRIMITIVE_FUNC_SWITCH_XOSC_HF 38
367 
369 #define ICALL_PRIMITIVE_FUNC_PWR_GET_XOSC_STARTUP_TIME 39
370 
372 #define ICALL_PRIMITIVE_FUNC_REGISTER_ISR_EXT 40
373 
374 #ifdef ICALL_EVENTS
375 
376 #define ICALL_PRIMITIVE_FUNC_POST_SEMAPHORE 41
377 
379 #define ICALL_PRIMITIVE_FUNC_CREATE_EVENT 42
380 
382 #define ICALL_PRIMITIVE_FUNC_WAIT_EVENT 43
383 
385 #define ICALL_PRIMITIVE_FUNC_POST_EVENT 44
386 #endif /* ICALL_EVENTS */
387 
393 #define ICALL_MSG_FUNC_GET_LOCAL_MSG_ENTITY_ID 0
394 
395 #ifdef ICALL_EVENTS
396 
402 #define ICALL_MSG_EVENT_ID Event_Id_31
403 
409 #define ICALL_WAITMATCH_EVENT_ID Event_Id_29
410 #endif
411 
419 typedef int_fast16_t ICall_Errno;
420 
422 typedef uint_least16_t ICall_ServiceEnum;
423 
425 typedef uint_least8_t ICall_MSGFormat;
426 
428 typedef uint_least16_t ICall_FuncID;
429 
431 typedef void *ICall_SyncHandle;
432 
434 typedef void *ICall_TaskHandle;
435 
437 typedef void *ICall_Semaphore;
438 
439 #ifdef ICALL_EVENTS
440 
441 typedef void *ICall_Event;
442 #endif /* ICALL_EVENTS */
443 
445 typedef uint_least8_t ICall_EntityID;
446 
448 typedef void *ICall_TimerID;
449 
450 typedef struct
451 {
452  uint32_t totalSize;
453  uint32_t totalFreeSize;
454  uint32_t largestFreeSize;
456 
465 typedef bool (*ICall_MsgMatchFn)(ICall_ServiceEnum src, ICall_EntityID dest,
466  const void *msg);
467 
472 typedef void (*ICall_TimerCback)(void *arg);
473 
476 {
477  ICall_ServiceEnum service;
478  ICall_FuncID func;
480 
483 {
485  ICall_EntityID entity;
486  ICall_SyncHandle msgSyncHdl;
488 
490 typedef struct _icall_alloc_args_t
491 {
493  size_t size;
494  void * ptr;
496 
498 typedef struct _icall_free_args_t
499 {
501  void * ptr;
503 
505 typedef struct _icall_send_args_t
506 {
508  ICall_EntityID src;
509  union
510  {
511  ICall_EntityID entityId;
512  ICall_ServiceEnum servId;
513  } dest;
514  ICall_MSGFormat format;
515  void *msg;
517 
520 {
522  union
523  {
524  ICall_ServiceEnum servId;
525  ICall_EntityID entityId;
526  } src;
527  ICall_EntityID dest;
528  void *msg;
530 
532 typedef struct _icall_wait_args_t
533 {
535  uint_least32_t milliseconds;
537 
539 typedef struct _icall_signal_args_t
540 {
542  ICall_SyncHandle syncHandle;
544 
547 {
549  ICall_SyncHandle syncHandle;
550  uint32_t events;
552 
555 
558 {
560  ICall_EntityID entityId;
561  ICall_ServiceEnum servId;
563 
565 typedef struct _icall_intnum_args_t
566 {
568  int_least32_t intnum;
570 
573 {
575  int_least32_t intnum;
576  void (*isrfunc)(void);
578 
581 {
583  int_least32_t intnum;
584  void (*isrfunc)(void);
587 
593 {
595  uint_least32_t value;
597 
601 typedef struct _icall_getbool_args_t
602 {
606  bool value;
608 
611 {
613  bool incFlag;
614  bool pwrRequired;
616 
620 typedef uint_fast32_t ICall_PwrBitmap_t;
621 
627 {
629  ICall_PwrBitmap_t bitmap;
631 
636 {
638  uint_fast8_t state;
640 
645 {
647  uint_least32_t timeUntilWakeupInMs;
648  uint_least32_t value;
650 
653 {
655  ICall_ServiceEnum servId;
656  uint_fast8_t result;
658 
661 {
663  void (*entryfn)(size_t arg);
664  uint_least8_t priority;
665  uint_least16_t stacksize;
666  size_t arg;
668 
669 #ifdef ICALL_RTOS_SEMAPHORE_API
670 
672 {
674 
679  uint_least8_t mode;
680  int initcount;
681  ICall_Semaphore sem;
683 
686 {
688  ICall_Semaphore sem;
690 
693 {
695  ICall_Semaphore sem;
696  uint_least32_t milliseconds;
698 #endif /* ICALL_RTOS_SEMAPHORE_API */
699 
700 #ifdef ICALL_RTOS_EVENTS_API
701 
702 typedef struct _icall_create_event_args_t
703 {
704  ICall_FuncArgsHdr hdr;
705  ICall_Event event;
706 } ICall_CreateEventArgs;
707 
709 typedef struct _icall_post_event_args_t
710 {
711  ICall_FuncArgsHdr hdr;
712  ICall_Event event;
713  uint32_t events;
714 } ICall_PostEventArgs;
715 
717 typedef struct _icall_wait_event_args_t
718 {
719  ICall_FuncArgsHdr hdr;
720  ICall_Event event;
721  uint_least32_t milliseconds;
722 } ICall_WaitEventArgs;
723 #endif /* ICALL_RTOS_EVENTS_API */
724 
726 
732 typedef struct _icall_msg_hdr_t
733 {
734  void *next;
735  uint8_t srcentity; /* Source entity across threads */
736  uint8_t dstentity; /* Destination entity across threads */
737  uint8_t format; /* message transformation request */
738  uint16_t len;
739  uint8_t dest_id;
740 } ICall_MsgHdr;
742 
743 
752 typedef uint_fast8_t ICall_PwrTransition;
753 
754 /* @brief Forward reference */
756 
766 typedef void (*ICall_PwrNotifyFn)(ICall_PwrTransition pwrTrans,
767  struct _icall_pwr_notify_data_t *obj);
768 
773 {
780 
783 {
788 
791 {
793  uint_least32_t milliseconds;
795  ICall_ServiceEnum servId;
796  ICall_EntityID dest;
797  void *msg;
799 
802 {
804  ICall_EntityID entity;
806 
814 
818 typedef uint_least32_t ICall_CSState;
819 
825 typedef ICall_CSState (*ICall_EnterCS)(void);
826 
833 typedef void (*ICall_LeaveCS)(ICall_CSState key);
834 
837 
840 
843 
847 {
852 
863 typedef void (*ICall_RemoteTaskEntry)(const ICall_RemoteTaskArg *arg0,
864  void *arg1);
865 
873 
876 {
878  ICall_ServiceEnum service;
880  ICall_EntityID entity;
881  ICall_SyncHandle msgSyncHdl;
883 
886 {
888  uint_least32_t timeout;
889  ICall_TimerID timerid;
891  void *arg;
893 
896 {
898  ICall_TimerID timerid;
900 
903 {
905  ICall_ServiceEnum service;
906  ICall_EntityID entity;
907  uint_least8_t localId;
909 
911 typedef enum
912 {
920 
921 typedef uint_least32_t icall_lite_id_t;
922 
924 typedef struct _ICall_LiteCmdStatus_
925 {
926  uint_least8_t cmdId;
928 
929 PACKED_TYPEDEF_STRUCT
930 {
931  uint_least32_t *pointerStack;
932  icall_lite_id_t directAPI;
934 
935 PACKED_TYPEDEF_STRUCT
936 {
937  ICall_MsgHdr hdr;
939 } icallLiteMsg_t;
940 
941 typedef struct
942 {
944  uint_least32_t imgTaskPriority;
945  uint_least32_t imgTaskStackSize;
948 
954 extern uint_least8_t ICall_resetReason;
955 
964 extern void ICall_init(void);
965 
989 extern void ICall_createRemoteTasks(void);
990 
998 extern int ICall_createWorkerThread(void);
999 
1013 extern void ICall_createRemoteTasksAtRuntime(ICall_RemoteTask_t *remoteTaskTable, uint8_t nb_elems);
1014 
1031 extern ICall_TaskHandle ICall_getRemoteTaskHandle(uint8 index);
1032 
1040 extern ICall_EntityID ICall_searchServiceEntity(ICall_ServiceEnum service);
1041 
1042 bool BLE_isInvokeRequired(void);
1043 bool BLE_invokeIfRequired(const void *pFxn, uint32_t *result, ...);
1044 
1053 extern int ICall_workerThreadSendMsg(void *func, void *arg, uint16 size);
1054 
1067 uint32_t icall_directAPI(icall_lite_id_t id, ... );
1068 
1081 uint32_t icall_directAPIva(icall_lite_id_t id, va_list argp);
1082 
1098 ICall_Errno ICall_sendServiceComplete(ICall_EntityID src,
1099  ICall_EntityID dest,
1100  ICall_MSGFormat format,
1101  void *msg);
1102 
1117 ICall_Errno ICall_registerApp(ICall_EntityID *entity, ICall_SyncHandle *msgSyncHdl);
1118 
1127 void *ICall_allocMsg(size_t size);
1128 
1136 void *ICall_allocMsgLimited(size_t size);
1137 
1144 void ICall_freeMsg(void *msg);
1145 
1186 ICall_Errno
1187 ICall_sendServiceMsg(ICall_EntityID src,
1188  ICall_ServiceEnum dest,
1189  ICall_MSGFormat format, void *msg);
1190 
1219 ICall_Errno
1220 ICall_fetchServiceMsg(ICall_ServiceEnum *src,
1221  ICall_EntityID *dest,
1222  void **msg);
1230 uint8 ICall_IsQueueEmpty();
1244 ICall_Errno ICall_wait(uint_fast32_t milliseconds);
1245 
1251 ICall_Errno ICall_signal(ICall_SyncHandle msgSyncHdl);
1252 
1267 ICall_Errno
1268 ICall_enrollService(ICall_ServiceEnum service,
1269  ICall_ServiceFunc fn,
1270  ICall_EntityID *entity,
1271  ICall_SyncHandle *msgSyncHdl);
1272 
1279 void *ICall_malloc(uint_least16_t size);
1280 
1285 void ICall_free(void *msg);
1286 
1293 void *ICall_mallocLimited(uint_least16_t size);
1294 
1300 
1314 ICall_Errno ICall_send(ICall_EntityID src,
1315  ICall_EntityID dest,
1316  ICall_MSGFormat format,
1317  void *msg);
1318 
1338 ICall_Errno ICall_fetchMsg(ICall_EntityID *src,
1339  ICall_EntityID *dest,
1340  void **msg);
1341 
1361 ICall_Errno ICall_entityId2ServiceId(ICall_EntityID entityId,
1362  ICall_ServiceEnum *servId);
1363 
1364 
1365 #ifdef HEAPMGR_METRICS
1366 
1378 void ICall_getHeapMgrGetMetrics(uint32_t *pBlkMax,
1379  uint32_t *pBlkCnt,
1380  uint32_t *pBlkFree,
1381  uint32_t *pMemAlo,
1382  uint32_t *pMemMax,
1383  uint32_t *pMemUB);
1384 
1385 
1386 #endif //HEAPMGR_METRICS
1387 
1398 ICall_Errno
1399 ICall_abort(void);
1400 
1406 ICall_Errno
1407 ICall_enableInt(int intnum);
1408 
1414 ICall_Errno
1415 ICall_disableInt(int intnum);
1416 
1421 ICall_Errno
1422 ICall_enableMInt(void);
1423 
1428 ICall_Errno
1429 ICall_disableMInt(void);
1430 
1439 ICall_Errno
1440 ICall_registerISR(int intnum, void (*isrfunc)(void));
1441 
1443 ICall_Errno
1444 ICall_registerISR_Ext(int intnum, void (*isrfunc)(void), int intPriority );
1445 
1450 uint_fast32_t
1451 ICall_getTicks(void);
1452 
1457 uint_fast32_t
1458 ICall_getTickPeriod(void);
1465 uint_fast32_t
1466 ICall_getMaxMSecs(void);
1467 
1492 ICall_Errno
1493 ICall_setTimerMSecs(uint_fast32_t msecs,
1494  ICall_TimerCback cback,
1495  void *arg,
1496  ICall_TimerID *id);
1497 
1520 ICall_Errno
1521 ICall_setTimer(uint32_t ticks,
1522  ICall_TimerCback cback,
1523  void *arg,
1524  ICall_TimerID *id);
1525 
1531 void
1532 ICall_stopTimer(ICall_TimerID id);
1549 bool
1550 ICall_pwrUpdActivityCounter(bool incFlag);
1551 
1569 ICall_Errno
1570 ICall_pwrConfigACAction(ICall_PwrBitmap_t bitmap);
1582 ICall_Errno
1583 ICall_pwrRequire(ICall_PwrBitmap_t bitmap);
1584 
1596 ICall_Errno
1597 ICall_pwrDispense(ICall_PwrBitmap_t bitmap);
1598 
1607 bool
1609 
1616 ICall_Errno
1617 ICall_pwrSwitchXOSCHF(void);
1625 uint32_t
1626 ICall_pwrGetXOSCStartupTime(uint_fast32_t timeUntilWakeupInMs);
1627 
1642 ICall_Errno
1650 uint_fast8_t
1652 
1664 ICall_Errno
1665 ICall_createTask(void (*entryfn)(size_t arg), uint_fast8_t priority,
1666  uint_fast16_t stacksize, size_t arg);
1667 
1668 #ifdef ICALL_RTOS_SEMAPHORE_API
1669 
1679 ICall_Semaphore
1680 ICall_createSemaphore(uint_fast8_t mode, int initcount);
1681 #endif
1682 
1683 #ifdef ICALL_RTOS_SEMAPHORE_API
1684 
1691 ICall_Errno
1692 ICall_postSemaphore(ICall_Semaphore sem);
1693 #endif /* ICALL_RTOS_SEMAPHORE_API */
1694 
1695 #ifdef ICALL_RTOS_EVENTS_API
1696 
1702 ICall_Event
1703 ICall_createEvent(void);
1711 ICall_Errno
1712 ICall_postEvent(ICall_Event event, uint32_t events);
1726 ICall_Errno
1727 ICall_waitEvent(ICall_Event event, uint_fast32_t milliseconds);
1728 #endif /* ICALL_RTOS_EVENTS_API */
1729 
1730 #ifdef ICALL_RTOS_SEMAPHORE_API
1731 
1744 ICall_Errno
1745 ICall_waitSemaphore(ICall_Semaphore sem, uint_fast32_t milliseconds);
1746 #endif /* ICALL_RTOS_SEMAPHORE_API */
1747 
1774 ICall_Errno
1775 ICall_waitMatch(uint_least32_t milliseconds,
1776  ICall_MsgMatchFn matchFn,
1777  ICall_ServiceEnum *src,
1778  ICall_EntityID *dest,
1779  void **msg);
1780 
1791 ICall_EntityID
1792 ICall_getEntityId(void);
1801 uint_fast8_t
1802 ICall_threadServes(ICall_ServiceEnum service);
1803 
1818 uint_fast8_t
1819 ICall_getLocalMsgEntityId(ICall_ServiceEnum service, ICall_EntityID entity);
1820 
1821 #ifdef ICALL_NO_APP_EVENTS
1822 typedef uint8_t (*appCallback_t)(uint8_t event, uint8_t *msg);
1823 ICall_Errno ICall_registerAppCback(uint8_t *selfEntity, appCallback_t appCallback);
1824 #endif
1825 
1826 /* ------------------------------------------------------------------------------------------------
1827  * Interrupt Macros
1828  * ------------------------------------------------------------------------------------------------
1829  */
1830 
1831 typedef ICall_CSState halIntState_t;
1832 
1833 /* Enable interrupts */
1834 #define HAL_ENABLE_INTERRUPTS() ICall_enableMInt()
1835 
1836 /* Disable interrupts */
1837 #define HAL_DISABLE_INTERRUPTS() ICall_disableMInt()
1838 
1839 /* Enter critical section */
1840 #define HAL_ENTER_CRITICAL_SECTION(x) st(x = ICall_enterCriticalSection();)
1841 
1842 /* Exit critical section */
1843 #define HAL_EXIT_CRITICAL_SECTION(x) ICall_leaveCriticalSection(x)
1844 
1845 /* Hal Critical statement definition */
1846 #define HAL_CRITICAL_STATEMENT(x) st( halIntState_t s; HAL_ENTER_CRITICAL_SECTION(s); x; HAL_EXIT_CRITICAL_SECTION(s); )
1847 
1848 #ifdef __cplusplus
1849 }
1850 #endif
1851 
1852 #endif /* ICALL_H */
1853 
uint_fast8_t ICall_threadServes(ICall_ServiceEnum service)
Checks whether the calling thread provides the designated service.
ICall_FuncArgsHdr hdr
common arguments field to store source of the message
Definition: icall.h:521
ICall_Errno ICall_createTask(void(*entryfn)(size_t arg), uint_fast8_t priority, uint_fast16_t stacksize, size_t arg)
Creates a new RTOS task.
ICall_RemotiCmdEvent_t
RemoTI RNP and Remote Icall Messaging Interface Enumeration.
Definition: icall.h:911
ICall_Semaphore sem
semaphore
Definition: icall.h:688
void * ICall_Event
Event data type.
Definition: icall.h:441
uint32_t ICall_pwrGetXOSCStartupTime(uint_fast32_t timeUntilWakeupInMs)
uint_least32_t timeUntilWakeupInMs
field matching timeUntilWakeupInMs argument
Definition: icall.h:647
void * ICall_TimerID
Timer id data type.
Definition: icall.h:448
ICall_Errno ICall_enrollService(ICall_ServiceEnum service, ICall_ServiceFunc fn, ICall_EntityID *entity, ICall_SyncHandle *msgSyncHdl)
Registers a service entity.
ICall_FuncArgsHdr hdr
common arguments
Definition: icall.h:803
void * ICall_SyncHandle
Synchronization object data type.
Definition: icall.h:431
uint_fast8_t ICall_PwrTransition
Power state transition type of the following values:
Definition: icall.h:752
ICall_Errno ICall_pwrDispense(ICall_PwrBitmap_t bitmap)
Releases power constraints and dependencies.
ICall_enrollService arguments
Definition: icall.h:875
bool incFlag
a boolean flag to indicate either increment or decrement
Definition: icall.h:613
ICall_MSGFormat format
Message format.
Definition: icall.h:514
uint_least8_t mode
semaphore mode. Either ICALL_SEMAPHORE_MODE_BINARY or ICALL_SEMAPHORE_MODE_COUNTING ...
Definition: icall.h:679
struct _icall_thread_serves_args_t ICall_ThreadServesArgs
ICall_threadServes argument
uint_least8_t localId
local entity ID
Definition: icall.h:907
struct _icall_send_args_t ICall_SendArgs
ICall_sendServiceMsg and ICall_send arguments
ICall_LeaveCS leavecs
leave CS
Definition: icall.h:850
ICall_CSState(* ICall_EnterCS)(void)
Critical section entry function pointer type.
Definition: icall.h:825
int intPriority
interrupt priority
Definition: icall.h:585
void(* ICall_TimerCback)(void *arg)
Prototype of a callback function for timer.
Definition: icall.h:472
int_fast16_t ICall_Errno
Error code data type.
Definition: icall.h:419
ICall_Errno ICall_wait(uint_fast32_t milliseconds)
Waits for a signal to the semaphore associated with the calling thread.
ICall_sendServiceMsg and ICall_send arguments
Definition: icall.h:505
void(* ICall_LeaveCS)(ICall_CSState key)
Critical section exit function pointer type.
Definition: icall.h:833
ICall_pwrRegisterNotify arguments
Definition: icall.h:782
ICall_Errno ICall_pwrRequire(ICall_PwrBitmap_t bitmap)
Sets power constraints and dependencies.
struct _icall_post_semaphore_args_t ICall_PostSemaphoreArgs
ICall_postSemaphore argument
ICall_FuncArgsHdr hdr
common arguments
Definition: icall.h:646
uint_fast32_t ICall_getTickPeriod(void)
Gets the tick period.
uint_least16_t stacksize
task priority as understood by underlying RTOS implementation
Definition: icall.h:665
uint_least8_t priority
task priority as understood by underlying RTOS implementation
Definition: icall.h:664
ICall_Errno ICall_enableInt(int intnum)
Enables interrupt.
ICall_signal arguments
Definition: icall.h:546
uint_least32_t ICall_CSState
Critical section state data type.
Definition: icall.h:818
struct _icall_register_isr_args_t ICall_RegisterISRArgs
ICall_registerISR arguments
uint32_t totalFreeSize
Definition: icall.h:453
ICall_FuncArgsHdr hdr
common arguments
Definition: icall.h:687
struct _icall_set_timer_args_t ICall_SetTimerArgs
ICall_setTimer arguments
bool(* ICall_MsgMatchFn)(ICall_ServiceEnum src, ICall_EntityID dest, const void *msg)
Prototype of a function used to compare a received message for a match.
Definition: icall.h:465
ICall_createTask argument
Definition: icall.h:660
ICall_ServiceEnum servId
service id
Definition: icall.h:795
Event for app RTI->stack RTI module.
Definition: icall.h:915
ICall_EntityID entityId
entity id
Definition: icall.h:525
int ICall_createWorkerThread(void)
Create the worker thread which is a task that waits on queue message and executes a requested functio...
uint32_t largestFreeSize
Definition: icall.h:454
ICall_signal arguments
Definition: icall.h:539
ICall Lite Command Status.
Definition: icall.h:924
ICall_FuncArgsHdr hdr
common arguments
Definition: icall.h:628
icall_lite_id_t directAPI
Direct API.
Definition: icall.h:932
ICall_stopTimer arguments
Definition: icall.h:895
struct _icall_getuint32_args_t ICall_GetUint32Args
ICall_getTicks , ICall_getTickPeriod and ICall_getMaxMSecs arguments
ICall_ServiceEnum servId
Service ID of destination.
Definition: icall.h:512
uint32_t icall_directAPI(icall_lite_id_t id,...)
generic variadic function to translate API id to a functional call to the BLE service in the stack co...
Definition: icall.h:941
ICall_FuncArgsHdr hdr
common arguments
Definition: icall.h:694
uint_fast32_t ICall_getMaxMSecs(void)
Gets the maximum timeout period supported by ICall_setTimerMSecs function.
struct _icall_wait_semaphore_args_t ICall_WaitSemaphoreArgs
ICall_waitSemaphore argument
bool BLE_isInvokeRequired(void)
uint_least32_t value
field to store the retrieved value
Definition: icall.h:595
ICall_ServiceFunc fn
handler function which handles function calls to the service
Definition: icall.h:879
uint_fast8_t ICall_pwrGetTransitionState(void)
Retrieves power transition state.
ICall_EntityID entity
client entity id
Definition: icall.h:804
ICall_FuncID func
function id
Definition: icall.h:478
Definition: icall.h:935
struct _ICall_LiteCmdStatus_ ICall_LiteCmdStatus
ICall Lite Command Status.
ICall_SyncHandle msgSyncHdl
field to store the synchronous object handle associated with the calling thread
Definition: icall.h:486
ICall_PwrNotifyData * obj
data object
Definition: icall.h:786
ICall_FuncArgsHdr hdr
common arguments
Definition: icall.h:559
void * msg
field to store the starting address of the message body
Definition: icall.h:797
ICall_FuncArgsHdr hdr
common arguments
Definition: icall.h:662
Power state transition notify function data object type.
Definition: icall.h:772
bool pwrRequired
the result of current activity counter
Definition: icall.h:614
uint_least8_t ICall_MSGFormat
Message conversion format data type.
Definition: icall.h:425
ICall_Errno ICall_registerISR(int intnum, void(*isrfunc)(void))
Registers an interrupt service routine.
uint_least16_t ICall_FuncID
Function id data type.
Definition: icall.h:428
ICall_FuncArgsHdr hdr
Common arguments.
Definition: icall.h:904
struct _icall_pwr_get_transition_state_args_t ICall_PwrGetTransitionStateArgs
ICall_pwrGetTransitionState arguments
struct _icall_pwr_bitmap_args_t ICall_PwrBitmapArgs
ICall_pwrConfigActivityCounterAction , ICall_pwrRequire and ICall_pwrDispense arguments.
ICall_pwrGetTransitionState arguments
Definition: icall.h:635
struct _icall_intnum_args_t ICall_IntNumArgs
ICall_enableInt and ICall_disableInt arguments
ICall_EnterCS entercs
enter CS
Definition: icall.h:849
ICall_pwrIsStableXOSCHF arguments
Definition: icall.h:601
ICall_freeMsg or ICall_free arguments
Definition: icall.h:498
ICall_postSemaphore argument
Definition: icall.h:685
ICall_Errno ICall_pwrConfigACAction(ICall_PwrBitmap_t bitmap)
Configures power constraint/dependency set/release actions upon activity counter change.
bool BLE_invokeIfRequired(const void *pFxn, uint32_t *result,...)
ICall_enableInt and ICall_disableInt arguments
Definition: icall.h:565
ICall_Semaphore ICall_createSemaphore(uint_fast8_t mode, int initcount)
Creates a semaphore.
void * ptr
pointer to the address of a memory block to free
Definition: icall.h:501
ICall_threadServes argument
Definition: icall.h:652
struct _icall_register_isr_args_ext_t ICall_RegisterISRArgs_Ext
ICall_registerISR_Ext arguments.
void ICall_freeMsg(void *msg)
Frees the memory block allocated for a message.
Common service function arguments.
Definition: icall.h:475
ICall_EntityID entityId
Entity ID of destination.
Definition: icall.h:511
ICall_Dispatcher dispatch
ICall dispatcher.
Definition: icall.h:848
ICall_fetchServiceMsg and ICall_fetchMsg arguments
Definition: icall.h:519
bool value
Definition: icall.h:606
ICall_EntityID entity
entity id
Definition: icall.h:906
void ICall_createRemoteTasksAtRuntime(ICall_RemoteTask_t *remoteTaskTable, uint8_t nb_elems)
Create remote tasks with parameters define at runtime.
struct _icall_register_app_args_t ICall_RegisterAppArgs
ICall_registerApp arguments
ICall_FuncArgsHdr hdr
common arguments
Definition: icall.h:897
struct _icall_remote_task_arg_t ICall_RemoteTaskArg
Data type of the first argument passed to the entry point of an image which contains a remote task...
void ICall_free(void *msg)
Frees an allocated memory block.
size_t arg
argument passed to the task entry function
Definition: icall.h:666
ICall_registerISR_Ext arguments.
Definition: icall.h:580
struct _icall_wait_match_args_t ICall_WaitMatchArgs
ICall_waitMatch arguments
void * ICall_allocMsg(size_t size)
Allocates memory block for a message.
ICall_FuncArgsHdr hdr
common arguments
Definition: icall.h:574
size_t size
size of the message body in bytes
Definition: icall.h:493
struct _icall_create_task_args_t ICall_CreateTaskArgs
ICall_createTask argument
void * ICall_imgInitParam
Definition: icall.h:946
ICall_FuncArgsHdr hdr
common arguments
Definition: icall.h:500
ICall_SyncHandle msgSyncHdl
field to store the synchronous object handle associated with the calling thread
Definition: icall.h:881
ICall_Errno ICall_waitSemaphore(ICall_Semaphore sem, uint_fast32_t milliseconds)
Waits on a semaphore.
ICall_EntityID entity
field to store the entity id assigned to the application
Definition: icall.h:485
struct _icall_enroll_service_args_t ICall_EnrollServiceArgs
ICall_enrollService arguments
ICall_Errno ICall_disableInt(int intnum)
Disables interrupt.
struct _icall_alloc_args_t ICall_AllocArgs
ICall_allocMsg or ICall_malloc arguments
Data type of the first argument passed to the entry point of an image which contains a remote task...
Definition: icall.h:846
ICall_FuncArgsHdr hdr
common arguments
Definition: icall.h:637
ICall_Errno ICall_signal(ICall_SyncHandle msgSyncHdl)
Signals a semaphore.
uint_least32_t imgTaskPriority
Definition: icall.h:944
void * msg
pointer to the message body to send
Definition: icall.h:515
ICall_FuncArgsHdr hdr
common arguments
Definition: icall.h:612
ICall_ServiceEnum servId
Service ID of destination.
Definition: icall.h:655
ICall_Errno ICall_entityId2ServiceId(ICall_EntityID entityId, ICall_ServiceEnum *servId)
Transforms and entityId into a serviceId. Note that this function is useful in case an application wa...
struct _icall_get_local_msg_entity_id_args_t ICall_GetLocalMsgEntityIdArgs
ICall_getLocalMsgEntityId arguments
void * ICall_malloc(uint_least16_t size)
Allocates a memory block.
struct _icall_func_args_hdr_t ICall_FuncArgsHdr
Common service function arguments.
ICall_Errno ICall_disableMInt(void)
Disables central interrupt and context switching.
ICall_SyncHandle syncHandle
handle of a synchronous object to signal
Definition: icall.h:542
struct _icall_pwr_get_xosc_startup_time_args_t ICall_PwrGetXOSCStartupTimeArgs
ICall_pwrGetXOSCStartupTime arguments
int ICall_workerThreadSendMsg(void *func, void *arg, uint16 size)
Send message to the worker thread queue for execute a function call.
ICall_FuncArgsHdr hdr
common arguments
Definition: icall.h:792
void * ptr
pointer to store the start address of the newly allocated memory block
Definition: icall.h:494
ICall_LeaveCS ICall_leaveCriticalSection
Leave critical section function pointer of the current image.
Definition: icall.h:929
ICall_Errno ICall_abort(void)
Aborts.
void(* ICall_PwrNotifyFn)(ICall_PwrTransition pwrTrans, struct _icall_pwr_notify_data_t *obj)
Definition: icall.h:766
ICall_EntityID dest
field to store the entity id of the destination of the message
Definition: icall.h:527
ICall_getTicks , ICall_getTickPeriod and ICall_getMaxMSecs arguments
Definition: icall.h:592
ICall_Errno(* ICall_ServiceFunc)(ICall_FuncArgsHdr *args)
Call dispatcher service handler function pointer type.
Definition: icall.h:872
ICall_EntityID ICall_searchServiceEntity(ICall_ServiceEnum service)
Search for a service entity entry.
void * ICall_allocMsgLimited(size_t size)
ICall_Errno ICall_sendServiceMsg(ICall_EntityID src, ICall_ServiceEnum dest, ICall_MSGFormat format, void *msg)
Sends a message to a registered server.
struct _icall_free_args_t ICall_FreeArgs
ICall_freeMsg or ICall_free arguments
ICall_SyncHandle syncHandle
handle of a synchronous object to signal
Definition: icall.h:549
ICall_FuncArgsHdr hdr
common arguments
Definition: icall.h:492
struct _icall_entity2service_args_t ICall_EntityId2ServiceIdArgs
ICall_entityId2ServiceId arguments
ICall_pwrConfigActivityCounterAction , ICall_pwrRequire and ICall_pwrDispense arguments.
Definition: icall.h:626
uint_fast32_t ICall_PwrBitmap_t
Power control bitmap type.
Definition: icall.h:620
uint32_t icall_directAPIva(icall_lite_id_t id, va_list argp)
generic function to translate API id to a functional call to the BLE service in the stack context...
ICall_PwrNotifyFn _private
a field for private use. Do not access the field. User data should follow this field.
Definition: icall.h:778
ICall_FuncArgsHdr hdr
common arguments
Definition: icall.h:594
uint32_t events
events
Definition: icall.h:550
ICall_ServiceEnum service
service id
Definition: icall.h:477
ICall_ServiceEnum servId
field to store the service id
Definition: icall.h:561
ICall_Errno ICall_send(ICall_EntityID src, ICall_EntityID dest, ICall_MSGFormat format, void *msg)
Sends a message to an entity.
ICall_entityId2ServiceId arguments
Definition: icall.h:557
void * msg
field to store the starting address of the message body
Definition: icall.h:528
ICall_Errno ICall_postSemaphore(ICall_Semaphore sem)
Post on a semaphore.
uint_least32_t milliseconds
timeout period in milliseconds
Definition: icall.h:793
ICall_Errno(* ICall_Dispatcher)(ICall_FuncArgsHdr *args)
Call dispatcher function pointer type.
Definition: icall.h:813
ICall_FuncArgsHdr hdr
common arguments
Definition: icall.h:484
struct _icall_get_entity_id_args_t ICall_GetEntityIdArgs
ICall_getEntityId arguments
Event for app RTI->stack RC App.
Definition: icall.h:913
uint_fast8_t state
power transition state
Definition: icall.h:638
ICall_FuncArgsHdr hdr
common arguments
Definition: icall.h:654
uint_fast8_t ICall_getLocalMsgEntityId(ICall_ServiceEnum service, ICall_EntityID entity)
Retrieves an internal ID understood only by a service entity, corresponding to an ICall entity ID...
void ICall_stopTimer(ICall_TimerID id)
Stops a timer.
struct _icall_getbool_args_t ICall_GetBoolArgs
ICall_pwrIsStableXOSCHF arguments
int initcount
semaphore initial count value
Definition: icall.h:680
struct _icall_pwr_notify_data_t ICall_PwrNotifyData
Power state transition notify function data object type.
ICall_FuncArgsHdr hdr
common arguments
Definition: icall.h:548
struct _icall_stop_timer_args_t ICall_StopTimerArgs
ICall_stopTimer arguments
ICall_getEntityId arguments
Definition: icall.h:801
ICall_allocMsg or ICall_malloc arguments
Definition: icall.h:490
ICall_Errno ICall_registerISR_Ext(int intnum, void(*isrfunc)(void), int intPriority)
ICall Register ISR.
ICall_Errno ICall_pwrSwitchXOSCHF(void)
Switch clock source to HF XOSC. This function must be called after HF XOSC is stable.
ICall_waitMatch arguments
Definition: icall.h:790
ICall_EnterCS ICall_enterCriticalSection
Enter critical section function pointer of the current image.
bool ICall_pwrIsStableXOSCHF(void)
Checks whether HF XOSC is stable. This function must be called after HF XOSC is turned on (through po...
ICall_EntityID dest
field to store the entity id of the destination of the message
Definition: icall.h:796
int_least32_t intnum
interrupt number
Definition: icall.h:583
struct _icall_signal_args_t ICall_SignalArgs
ICall_signal arguments
ICall_Errno ICall_pwrRegisterNotify(ICall_PwrNotifyFn fn, ICall_PwrNotifyData *obj)
Registers a power state transition notify function.
ICall_Errno ICall_setTimerMSecs(uint_fast32_t msecs, ICall_TimerCback cback, void *arg, ICall_TimerID *id)
Set up or restart a timer. Note that the timer setup initially by this function may be restarted usin...
ICall_FuncArgsHdr hdr
common arguments
Definition: icall.h:877
uint_least32_t value
field to store the retrieved value
Definition: icall.h:648
ICall_wait arguments
Definition: icall.h:532
ICall_Errno ICall_sendServiceComplete(ICall_EntityID src, ICall_EntityID dest, ICall_MSGFormat format, void *msg)
function to indicate that servicing an direct API call is done
void ICall_createRemoteTasks(void)
Create remote tasks.
struct _icall_wait_args_t ICall_WaitArgs
ICall_wait arguments
ICall_TimerID timerid
timer ID
Definition: icall.h:889
void * arg
pointer to an argument to be passed to the callback function
Definition: icall.h:891
SYNC message from RNP app -> stack.
Definition: icall.h:918
ICall_ServiceEnum service
service id
Definition: icall.h:905
ICall_FuncArgsHdr hdr
common arguments
Definition: icall.h:507
ICall_waitSemaphore argument
Definition: icall.h:692
ICall_Errno ICall_setTimer(uint32_t ticks, ICall_TimerCback cback, void *arg, ICall_TimerID *id)
Set up or restart a timer. Note that the timer setup initially by this function may be restarted usin...
int_least32_t intnum
interrupt number
Definition: icall.h:568
struct _icall_pwr_upd_activity_counter_args_t ICall_PwrUpdActivityCounterArgs
ICall_pwrUpdActivityCounter arguments
uint_least32_t milliseconds
timeout in milliseconds
Definition: icall.h:696
uint32_t totalSize
Definition: icall.h:452
Event for stack RTI->app RTI module.
Definition: icall.h:916
ICall_FuncArgsHdr hdr
common arguments
Definition: icall.h:784
uint_least8_t cmdId
command id (applicable only to User Profile subgrp)
Definition: icall.h:926
ICall_TaskHandle ICall_getRemoteTaskHandle(uint8 index)
return the task handle of a task.
ICall_FuncArgsHdr hdr
common arguments
Definition: icall.h:673
ICall_registerISR arguments
Definition: icall.h:572
ICall_FuncArgsHdr hdr
common arguments
Definition: icall.h:567
ICall_FuncArgsHdr hdr
common arguments
Definition: icall.h:534
ICall_EntityID entityId
entity id
Definition: icall.h:560
void * ICall_TaskHandle
Synchronization object data type.
Definition: icall.h:434
void * ICall_Semaphore
Semaphore used for ICall.
Definition: icall.h:437
ICall_MsgHdr hdr
ICall Message Header.
Definition: icall.h:937
uint_least32_t icall_lite_id_t
ICall Lite ID.
Definition: icall.h:921
uint_least32_t milliseconds
timeout period in milliseconds
Definition: icall.h:535
ICall_EntityID entity
field to store the assigned entity id
Definition: icall.h:880
ICall_MsgMatchFn matchFn
match function
Definition: icall.h:794
ICall_TimerCback cback
callback function
Definition: icall.h:890
struct _icall_create_semaphore_args_t ICall_CreateSemaphoreArgs
ICall_createSemaphore argument
ICall_registerApp arguments
Definition: icall.h:482
Event for stack->app RC App.
Definition: icall.h:914
ICall_FuncArgsHdr hdr
Definition: icall.h:604
ICall_pwrUpdActivityCounter arguments
Definition: icall.h:610
icall_directAPIMsg_t msg
Direct API Message.
Definition: icall.h:938
ICall_Semaphore sem
semaphore
Definition: icall.h:695
uint_fast32_t ICall_getTicks(void)
Gets the current tick counter value.
void ICall_init(void)
Initializes the dispatcher implementation.
void * ICall_mallocLimited(uint_least16_t size)
ICall_getLocalMsgEntityId arguments
Definition: icall.h:902
void ICall_getHeapMgrGetMetrics(uint32_t *pBlkMax, uint32_t *pBlkCnt, uint32_t *pBlkFree, uint32_t *pMemAlo, uint32_t *pMemMax, uint32_t *pMemUB)
the function retrieve information about the osal heap. Note :ICall_getHeapMgrGetMetrics will not work...
ICall_ServiceEnum servId
service id
Definition: icall.h:524
ICall_createSemaphore argument
Definition: icall.h:671
struct _icall_pwr_register_notify_args_t ICall_PwrRegisterNotifyArgs
ICall_pwrRegisterNotify arguments
uint_least8_t ICall_resetReason
Special global variable to set the reset reason by the boot code, before ICall is initialized...
ICall_pwrGetXOSCStartupTime arguments
Definition: icall.h:644
uint_least8_t ICall_EntityID
Entity id data type.
Definition: icall.h:445
Definition: icall.h:450
uint_least32_t * pointerStack
Stack Pointer.
Definition: icall.h:931
int_least32_t intnum
interrupt number
Definition: icall.h:575
uint8 ICall_IsQueueEmpty()
ASYNC message from RNP app->stack.
Definition: icall.h:917
ICall_Dispatcher ICall_dispatcher
Call dispatcher pointer of the current image.
uint_least32_t imgTaskStackSize
Definition: icall.h:945
ICall_EntityID src
Entity id of the sender of the message Destination id.
Definition: icall.h:508
ICall_FuncArgsHdr hdr
common arguments
Definition: icall.h:582
ICall_FuncArgsHdr hdr
common arguments
Definition: icall.h:541
struct _icall_fetch_msg_args_t ICall_FetchMsgArgs
ICall_fetchServiceMsg and ICall_fetchMsg arguments
ICall_PwrNotifyFn fn
notify function to handle notification
Definition: icall.h:785
ICall_Errno ICall_fetchMsg(ICall_EntityID *src, ICall_EntityID *dest, void **msg)
Retrieves a message, queued to receive queue of the calling thread.
ICall_setTimer arguments
Definition: icall.h:885
ICall_Errno ICall_fetchServiceMsg(ICall_ServiceEnum *src, ICall_EntityID *dest, void **msg)
Retrieves a message received at the message queue associated with the calling thread.
uint_least32_t timeout
timeout period
Definition: icall.h:888
ICall_ServiceEnum service
service id of the enrolling service
Definition: icall.h:878
ICall_Errno ICall_enableMInt(void)
Enables central interrupt and context switching.
void(* ICall_RemoteTaskEntry)(const ICall_RemoteTaskArg *arg0, void *arg1)
Service entry function prototype.
Definition: icall.h:863
uint_fast8_t result
Result (true or false)
Definition: icall.h:656
ICall_TimerID timerid
timer ID
Definition: icall.h:898
uint_least16_t ICall_ServiceEnum
Service enumeration data type.
Definition: icall.h:422
ICall_Semaphore sem
created semaphore
Definition: icall.h:681
void ICall_getHeapStats(ICall_heapStats_t *stats)
Get Statistic on Heap.
ICall_CSState halIntState_t
Definition: icall.h:1831
ICall_Errno ICall_waitMatch(uint_least32_t milliseconds, ICall_MsgMatchFn matchFn, ICall_ServiceEnum *src, ICall_EntityID *dest, void **msg)
Waits for and retrieves a message received at the message queue associated with the calling thread...
struct _icall_signal_events_args_t ICall_SignalEventsArgs
ICall_signal arguments
ICall_RemoteTaskEntry startupEntry
Definition: icall.h:943
ICall_EntityID ICall_getEntityId(void)
Retrieves an entity ID of (arbitrary) one of the entities registered from the calling thread...
ICall_FuncArgsHdr hdr
common arguments
Definition: icall.h:887
bool ICall_pwrUpdActivityCounter(bool incFlag)
Increments or decrements power activity counter.
ICall_Errno ICall_registerApp(ICall_EntityID *entity, ICall_SyncHandle *msgSyncHdl)
Registers an application.
ICall_PwrBitmap_t bitmap
power configuration bitmap
Definition: icall.h:629
© Copyright 1995-2025, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale