Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
cmsis_types.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2018 Intel Corporation
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
12
13#ifndef ZEPHYR_INCLUDE_PORTABILITY_CMSIS_TYPES_H_
14#define ZEPHYR_INCLUDE_PORTABILITY_CMSIS_TYPES_H_
15
16#include <stdbool.h>
17#include <zephyr/kernel.h>
18#include <zephyr/portability/cmsis_os2.h>
19
28 sys_dnode_t node;
29 struct k_thread z_thread;
30 struct k_poll_signal poll_signal;
31 struct k_poll_event poll_event;
32 uint32_t signal_results;
33 uint32_t attr_bits;
35};
36
45 struct k_timer z_timer;
46 osTimerType_t type;
47 uint32_t status;
48 bool is_cb_dynamic_allocation;
49 const char *name;
50 void (*callback_function)(void *argument);
51 void *arg;
53};
54
63 struct k_mutex z_mutex;
64 bool is_cb_dynamic_allocation;
65 const char *name;
68};
69
78 struct k_sem z_semaphore;
79 bool is_cb_dynamic_allocation;
80 const char *name;
82};
83
92 struct k_mem_slab z_mslab;
93 void *pool;
94 char is_dynamic_allocation;
95 bool is_cb_dynamic_allocation;
96 const char *name;
98};
99
108 struct k_msgq z_msgq;
109 void *pool;
110 char is_dynamic_allocation;
111 bool is_cb_dynamic_allocation;
112 const char *name;
114};
115
124 struct k_event z_event;
125 bool is_cb_dynamic_allocation;
126 const char *name;
128};
129
130#endif /* ZEPHYR_INCLUDE_PORTABILITY_CMSIS_TYPES_H_ */
struct _dnode sys_dnode_t
Doubly-linked list node structure.
Definition dlist.h:59
Public kernel APIs.
state
Definition parser_state.h:29
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
Control block for a CMSIS-RTOSv2 event flag.
Definition cmsis_types.h:122
Control block for a CMSIS-RTOSv2 memory pool.
Definition cmsis_types.h:90
Control block for a CMSIS-RTOSv2 message queue.
Definition cmsis_types.h:106
Control block for a CMSIS-RTOSv2 mutex.
Definition cmsis_types.h:61
Control block for a CMSIS-RTOSv2 semaphore.
Definition cmsis_types.h:76
Control block for a CMSIS-RTOSv2 thread.
Definition cmsis_types.h:26
Control block for a CMSIS-RTOSv2 timer.
Definition cmsis_types.h:43
Event Structure.
Definition kernel.h:2778
Message Queue Structure.
Definition kernel.h:5325
Kernel mutex structure.
Definition kernel.h:3573
Poll Event.
Definition kernel.h:6906
Poll signal object.
Definition kernel.h:6871
Semaphore structure.
Definition kernel.h:3807
Thread Structure.
Definition thread.h:259
Kernel timer structure.
Definition kernel.h:1875