1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
26
31
36
41
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
66
67
68
69
70
71
72
73
74
80
81
82
83
84
85
86
87
88
94
95
96
97
98
99
100
101
102
103
104
105
/* ... */
#include "app_azure_rtos.h"
Includes
Private includes
Private typedef
Private define
Private macro
static UCHAR tx_byte_pool_buffer[TX_APP_MEM_POOL_SIZE];
static TX_BYTE_POOL tx_app_byte_pool;
Private variables
/* ... */
VOID tx_application_define(VOID *first_unused_memory)
{
VOID *memory_ptr;
if (tx_byte_pool_create(&tx_app_byte_pool, "Tx App memory pool", tx_byte_pool_buffer, TX_APP_MEM_POOL_SIZE) != TX_SUCCESS)
{
}if (tx_byte_pool_create(&tx_app_byte_pool, "Tx App memory pool", tx_byte_pool_buffer, TX_APP_MEM_POOL_SIZE) != TX_SUCCESS) { ... }
else
{
memory_ptr = (VOID *)&tx_app_byte_pool;
if (App_ThreadX_Init(memory_ptr) != TX_SUCCESS)
{
}if (App_ThreadX_Init(memory_ptr) != TX_SUCCESS) { ... }
}else { ... }
}{ ... }
Private function prototypes