diff --git a/Doc/Doxyfile b/Doc/Doxyfile index bf9845b..6d0c197 100644 --- a/Doc/Doxyfile +++ b/Doc/Doxyfile @@ -991,7 +991,9 @@ WARN_LOGFILE = # spaces. See also FILE_PATTERNS and EXTENSION_MAPPING # Note: If this tag is empty the current directory is searched. -INPUT = E:\.WORK\STM32\STM32_ExtendedLibs\MyLibsGeneral +INPUT = E:\.WORK\STM32\STM32_ExtendedLibs\MyLibs \ + E:\.WORK\STM32\STM32_ExtendedLibs\STM32_General \ + E:\.WORK\STM32\STM32_ExtendedLibs\mainpage.h # This tag can be used to specify the character encoding of the source files # that Doxygen parses. Internally Doxygen uses the UTF-8 encoding. Doxygen uses diff --git a/Doc/html/____general__flash_8c_source.html b/Doc/html/____general__flash_8c_source.html index f97c936..5c7ba7b 100644 --- a/Doc/html/____general__flash_8c_source.html +++ b/Doc/html/____general__flash_8c_source.html @@ -5,7 +5,7 @@ -MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/Src/__general_flash.c Source File +MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/STM32_General/Src/__general_flash.c Source File @@ -298,7 +298,7 @@ $(function(){initNavTree('____general__flash_8c_source.html','',''); }); diff --git a/Doc/html/____general__flash_8h_source.html b/Doc/html/____general__flash_8h_source.html index 463e16a..2bf89ea 100644 --- a/Doc/html/____general__flash_8h_source.html +++ b/Doc/html/____general__flash_8h_source.html @@ -5,7 +5,7 @@ -MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/Inc/__general_flash.h Source File +MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/STM32_General/Inc/__general_flash.h Source File @@ -151,7 +151,7 @@ $(function(){initNavTree('____general__flash_8h_source.html','',''); }); diff --git a/Doc/html/____general__spi_8c_source.html b/Doc/html/____general__spi_8c_source.html deleted file mode 100644 index f4b3e36..0000000 --- a/Doc/html/____general__spi_8c_source.html +++ /dev/null @@ -1,417 +0,0 @@ - - - - - - - -MyLibs: F:/Work/Projects/STM/.Elementary/STM32_ExtendedLibs/MyLibsGeneral/Src/__general_spi.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
MyLibs 1.0 -
-
Расширенные библиотеки для STM32
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
__general_spi.c
-
-
-
1/**
-
2**************************************************************************
-
3* @file general_spi.c
-
4* @brief Модуль для инициализации SPI.
-
5**************************************************************************
-
6* @details
-
7*
-
8* Функции:
-
9* - SPI_Base_Init Инициализация SPI
-
10*
-
11* Functions: spi initialize
-
12* - SPI_GPIO_Init Инициализация GPIO для SPI
-
13* - SPI_DMA_Init Инициализация DMA для SPI
-
14* - SPI_MspInit Аналог HAL_MspInit для SPI
-
15* - SPI_MspDeInit Аналог HAL_MspDeInit для SPI
-
16*
-
17*************************************************************************/
-
18#include "general_spi.h"
-
19#include "general_gpio.h"
-
20
-
21//-------------------------------------------------------------------
-
22//------------------------SPI INIT FUNCTIONS------------------------
-
23/**
-
24 * @brief Initialize SPI with SPI_SettingsTypeDef structure.
-
25 * @param sspi - указатель на структуру с настройками SPI.
-
26 * @return HAL status.
-
27 * @note SPI_SettingsTypeDef структура содержит хендл SPI и настройки перефирии (GPIO)
-
28 */
-
29HAL_StatusTypeDef SPI_Base_Init(SPI_SettingsTypeDef *sspi)
-
30{ // function takes setting structure for init
-
31
-
32 // check is settings are valid
-
33 if(Check_SPI_Init_Struct(sspi) != HAL_OK)
-
34 return HAL_ERROR;
-
35
-
36 SPI_MspInit(&sspi->hspi);
-
37
-
38 if (HAL_SPI_Init(&sspi->hspi) != HAL_OK)
-
39 {
- -
41 return HAL_ERROR;
-
42 }
-
43
-
44 // init gpio from SPISettings structure
-
45 SPI_GPIO_Init(sspi);
-
46
-
47// // init dma from SPISettings structure if need
-
48// if (sspi->DMAChannel != 0)
-
49// SPI_DMA_Init(&sspi->hspi, sspi->hspi.hdmarx, sspi->DMAChannel, sspi->DMA_CHANNEL_X);
-
50
-
51 return HAL_OK;
-
52}
-
53
-
54
-
55/**
-
56 * @brief Initialize GPIO for SPI.
-
57 * @param GPIOx - порт для настройки.
-
58 * @param GPIO_PIN_RX - пин для настройки на прием.
-
59 * @param GPIO_PIN_TX - пин для настройки на передачу.
-
60 */
-
61void SPI_GPIO_Init(SPI_SettingsTypeDef *sspi)
-
62{
-
63 GPIO_InitTypeDef GPIO_InitStruct = {0};
-
64 // GPIO INIT
-
65 GPIO_Clock_Enable(sspi->CLK_GPIOx);
-
66 GPIO_Clock_Enable(sspi->MISO_GPIOx);
-
67 GPIO_Clock_Enable(sspi->MOSI_GPIOx);
-
68 // CLK PIN INIT
-
69 GPIO_InitStruct.Pin = sspi->CLK_PIN;
-
70 GPIO_InitStruct.Alternate = sspi->CLK_GPIO_AlternageFunc;
-
71 GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
-
72 GPIO_InitStruct.Pull = GPIO_NOPULL;
-
73 GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
-
74 HAL_GPIO_Init(sspi->CLK_GPIOx, &GPIO_InitStruct);
-
75 // MISO PIN INIT
-
76 GPIO_InitStruct.Pin = sspi->MISO_PIN;
-
77 GPIO_InitStruct.Alternate = sspi->MISO_GPIO_AlternageFunc;
-
78 GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
-
79 GPIO_InitStruct.Pull = GPIO_NOPULL;
-
80 GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
-
81 HAL_GPIO_Init(sspi->MISO_GPIOx, &GPIO_InitStruct);
-
82 // MOSI PIN INIT
-
83 GPIO_InitStruct.Pin = sspi->MOSI_PIN;
-
84 GPIO_InitStruct.Alternate = sspi->MOSI_GPIO_AlternageFunc;
-
85 GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
-
86 GPIO_InitStruct.Pull = GPIO_NOPULL;
-
87 GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
-
88 HAL_GPIO_Init(sspi->MOSI_GPIOx, &GPIO_InitStruct);
-
89}
-
90
-
91/**
-
92 * @brief Initialize DMA for SPI.
-
93 * @param hspi - указатель на хендл SPI для настройки DMA.
-
94 * @param hdma_rx - указатель на хендл DMA для линии приема SPI.
-
95 * @param DMAChannel - указатель на канал DMA/поток DMA в STM32F407.
-
96 * @param DMA_CHANNEL_X - канал DMA.
-
97 */
-
98void SPI_DMA_Init(SPI_HandleTypeDef *hspi, DMA_HandleTypeDef *hdma_rx, DMA_Stream_TypeDef *DMAChannel, uint32_t DMA_CHANNEL_X)
-
99{ // function takes spi and dma handlers and dmachannel for spi
-
100// // for now only dma rx is supported, tx maybe later if needed
-
101// // calc defines on boot_project_setup.h
-
102
-
103// /* SPI3 DMA Init */
-
104// /* SPI3_RX Init */
-
105//
-
106// hdma_rx->Instance = DMAChannel;
-
107//#if defined(STM32F407xx) // dma channel choose for 407
-
108// hdma_rx->Init.Channel = DMA_CHANNEL_X;
-
109//#endif
-
110// hdma_rx->Init.Direction = DMA_PERIPH_TO_MEMORY;
-
111// hdma_rx->Init.PeriphInc = DMA_PINC_DISABLE;
-
112// hdma_rx->Init.MemInc = DMA_MINC_ENABLE;
-
113// hdma_rx->Init.PeriphDataAlignment = DMA_PDATAALIGN_BYTE;
-
114// hdma_rx->Init.MemDataAlignment = DMA_MDATAALIGN_BYTE;
-
115// hdma_rx->Init.Mode = DMA_CIRCULAR;
-
116// hdma_rx->Init.Priority = DMA_PRIORITY_LOW;
-
117// if (HAL_DMA_Init(hdma_rx) != HAL_OK)
-
118// {
-
119// MyLibs_Error_Handler();
-
120// }
-
121
-
122// __USER_LINKDMA(hspi,hdmarx,hdma_rx);
-
123//
-
124
-
125// // __USER_LINKDMA is need because __HAL_LINKDMA is written for global defined hdma_rx
-
126// // so you get error because hal uses . insted of ->
-
127}
-
128
-
129/**
-
130 * @brief Initialize SPI & DMA clock and interrupt.
-
131 * @param hspi - указатель на хендл SPI для инициализации.
-
132 * @note Чтобы не генерировать функцию с иницилизацией неиспользуемых SPI,
-
133 дефайнами в general_spi.h определяются используемые SPI.
-
134 */
-
135void SPI_MspInit(SPI_HandleTypeDef *hspi) // analog for hal function
-
136{
-
137 // rcc, dma and interrupt init for SPIs
-
138 // GPIO init was moved to own functions SPI_GPIO_Init
-
139 if(0);
-
140#ifdef USE_SPI1
-
141 else if(hspi->Instance==SPI1)
-
142 {
-
143
-
144// /* DMA2 clock enable */
-
145// __HAL_RCC_DMA2_CLK_ENABLE();
-
146// /* DMA interrupt init */
-
147// HAL_NVIC_SetPriority(DMA2_Stream2_IRQn, 0, 0);
-
148// HAL_NVIC_EnableIRQ(DMA2_Stream2_IRQn);
-
149
-
150 /* SPI1 clock enable */
-
151 __HAL_RCC_SPI1_CLK_ENABLE();
-
152
-
153 /* SPI1 interrupt Init */
-
154 HAL_NVIC_SetPriority(SPI1_IRQn, 0, 0);
-
155 HAL_NVIC_EnableIRQ(SPI1_IRQn);
-
156 }
-
157#endif // USE_SPI1
-
158#ifdef USE_SPI2
-
159 else if(hspi->Instance==SPI2)
-
160 {
-
161// /* DMA1 clock enable */
-
162// __HAL_RCC_DMA1_CLK_ENABLE();
-
163// /* DMA interrupt init */
-
164// HAL_NVIC_SetPriority(DMA1_Stream5_IRQn, 0, 0);
-
165// HAL_NVIC_EnableIRQ(DMA1_Stream5_IRQn);
-
166
-
167 /* SPI2 clock enable */
-
168 __HAL_RCC_SPI2_CLK_ENABLE();
-
169
-
170 /* SPI2 interrupt Init */
-
171 HAL_NVIC_SetPriority(SPI2_IRQn, 0, 0);
-
172 HAL_NVIC_EnableIRQ(SPI2_IRQn);
-
173 }
-
174#endif // USE_SPI2
-
175#ifdef USE_SPI3
-
176 else if(hspi->Instance==SPI3)
-
177 {
-
178// /* DMA1 clock enable */
-
179// __HAL_RCC_DMA1_CLK_ENABLE();
-
180// /* DMA interrupt init */
-
181// HAL_NVIC_SetPriority(DMA1_Stream1_IRQn, 0, 0);
-
182// HAL_NVIC_EnableIRQ(DMA1_Stream1_IRQn);
-
183
-
184 /* SPI3 clock enable */
-
185 __HAL_RCC_SPI3_CLK_ENABLE();
-
186 /* SPI3 interrupt Init */
-
187 HAL_NVIC_SetPriority(SPI3_IRQn, 0, 0);
-
188 HAL_NVIC_EnableIRQ(SPI3_IRQn);
-
189 }
-
190#endif // USE_SPI3
-
191}
-
192
-
193/**
-
194 * @brief Deinitialize SPI & DMA clock and interrupt.
-
195 * @param hspi - указатель на хендл SPI для деинициализации.
-
196 * @note Чтобы не генерировать функцию с деиницилизацией неиспользуемых SPI,
-
197 дефайнами определяются используемые SPI.
-
198 */
-
199void SPI_MspDeInit(SPI_HandleTypeDef *hspi) // analog for hal function
-
200{
-
201 // rcc, dma and interrupt init for SPIs
-
202 // GPIO init was moved to own functions SPI_GPIO_Init
-
203 if(0);
-
204#ifdef USE_SPI1
-
205 else if(hspi->Instance==SPI1)
-
206 {
-
207
-
208// /* DMA2 clock enable */
-
209// __HAL_RCC_DMA2_CLK_ENABLE();
-
210// /* DMA interrupt init */
-
211// HAL_NVIC_SetPriority(DMA2_Stream2_IRQn, 0, 0);
-
212// HAL_NVIC_EnableIRQ(DMA2_Stream2_IRQn);
-
213
-
214 /* SPI1 clock reset */
-
215 __HAL_RCC_SPI1_FORCE_RESET();
-
216 __HAL_RCC_SPI1_RELEASE_RESET();
-
217 }
-
218#endif // USE_SPI1
-
219#ifdef USE_SPI2
-
220 else if(hspi->Instance==SPI2)
-
221 {
-
222// /* DMA1 clock enable */
-
223// __HAL_RCC_DMA1_CLK_ENABLE();
-
224// /* DMA interrupt init */
-
225// HAL_NVIC_SetPriority(DMA1_Stream5_IRQn, 0, 0);
-
226// HAL_NVIC_EnableIRQ(DMA1_Stream5_IRQn);
-
227
-
228 /* SPI2 clock reset */
-
229 __HAL_RCC_SPI2_FORCE_RESET();
-
230 __HAL_RCC_SPI2_RELEASE_RESET();
-
231 }
-
232#endif // USE_SPI2
-
233#ifdef USE_SPI3
-
234 else if(hspi->Instance==SPI3)
-
235 {
-
236// /* DMA1 clock enable */
-
237// __HAL_RCC_DMA1_CLK_ENABLE();
-
238// /* DMA interrupt init */
-
239// HAL_NVIC_SetPriority(DMA1_Stream1_IRQn, 0, 0);
-
240// HAL_NVIC_EnableIRQ(DMA1_Stream1_IRQn);
-
241
-
242 /* SPI3 clock reset */
-
243 __HAL_RCC_SPI3_FORCE_RESET();
-
244 __HAL_RCC_SPI3_RELEASE_RESET();
-
245 }
-
246#endif // USE_SPI3
-
247}
-
248
-
249/**
-
250 * @brief Check that spi init structure have correct values.
-
251 * @param sspi - указатель на структуру с настройками SPI.
-
252 * @return HAL status.
-
253 */
-
254HAL_StatusTypeDef Check_SPI_Init_Struct(SPI_SettingsTypeDef *sspi)
-
255{
-
256 // check is settings are valid
-
257 if (!IS_SPI_ALL_INSTANCE(sspi->hspi.Instance))
-
258 return HAL_ERROR;
-
259
-
260 // check init settings
-
261 if (!IS_SPI_MODE(sspi->hspi.Init.Mode))
-
262 return HAL_ERROR;
-
263 if (!IS_SPI_DIRECTION(sspi->hspi.Init.Direction))
-
264 return HAL_ERROR;
-
265 if (!IS_SPI_DATASIZE(sspi->hspi.Init.DataSize))
-
266 return HAL_ERROR;
-
267 if (!IS_SPI_BAUDRATE_PRESCALER(sspi->hspi.Init.BaudRatePrescaler))
-
268 return HAL_ERROR;
-
269 if (!IS_SPI_CPOL(sspi->hspi.Init.CLKPolarity))
-
270 return HAL_ERROR;
-
271 if (!IS_SPI_CPHA(sspi->hspi.Init.CLKPhase))
-
272 return HAL_ERROR;
-
273 if (!IS_SPI_NSS(sspi->hspi.Init.NSS))
-
274 return HAL_ERROR;
-
275 if (!IS_SPI_FIRST_BIT(sspi->hspi.Init.FirstBit))
-
276 return HAL_ERROR;
-
277 if (!IS_SPI_CRC_CALCULATION(sspi->hspi.Init.CRCCalculation))
-
278 return HAL_ERROR;
-
279 if (!IS_SPI_CRC_POLYNOMIAL(sspi->hspi.Init.NSS) &&
-
280 (sspi->hspi.Init.CRCCalculation != SPI_CRCCALCULATION_DISABLE))
-
281 return HAL_ERROR;
-
282 if (!IS_SPI_TIMODE(sspi->hspi.Init.TIMode))
-
283 return HAL_ERROR;
-
284
-
285 // check gpio
-
286 if (!IS_GPIO_ALL_INSTANCE(sspi->CLK_GPIOx) || !IS_GPIO_ALL_INSTANCE(sspi->MISO_GPIOx) || !IS_GPIO_ALL_INSTANCE(sspi->MOSI_GPIOx))
-
287 return HAL_ERROR;
-
288 if (!IS_GPIO_PIN(sspi->CLK_PIN) && !IS_GPIO_PIN(sspi->MISO_PIN) && !IS_GPIO_PIN(sspi->MOSI_PIN)) // if both pins arent set up
-
289 return HAL_ERROR;
-
290
-
291 return HAL_OK;
-
292}
-
Заголовочный файл для модуля инициализации портов и работы с ними.
-
#define MyLibs_Error_Handler(params)
Error_Handler который будет вызыватся в библиотеке
Definition mylibs_defs.h:31
-
HAL_StatusTypeDef GPIO_Clock_Enable(GPIO_TypeDef *GPIOx)
Включить тактирование порта GPIO.
- -
-
- - - - diff --git a/Doc/html/____general__spi_8h_source.html b/Doc/html/____general__spi_8h_source.html deleted file mode 100644 index 31fdfcd..0000000 --- a/Doc/html/____general__spi_8h_source.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - - -MyLibs: F:/Work/Projects/STM/.Elementary/STM32_ExtendedLibs/MyLibsGeneral/Inc/__general_spi.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
MyLibs 1.0 -
-
Расширенные библиотеки для STM32
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
__general_spi.h
-
-
-
1/**
-
2**************************************************************************
-
3* @file general_spi.h
-
4* @brief Заголовочны файл модуля инициализации SPI.
-
5*************************************************************************/
-
6#ifndef __SPI_GENERAL_H_
-
7#define __SPI_GENERAL_H_
-
8
-
9//////////////////////////////////////////////////////////////////////
-
10/////////////////////////---USER SETTINGS---/////////////////////////
-
11#define HAL_SPI_MODULE_ENABLED // need to uncomment these defines in stm32f4xx_hal_conf.h
-
12 // also need to add hal_spi.c (source code)
-
13
-
14#define USE_SPI1
-
15#define USE_SPI2
-
16#define USE_SPI3
-
17
-
18/////////////////////////---USER SETTINGS---/////////////////////////
-
19#include "mylibs_defs.h"
-
20
-
21
-
22
-
23/////////////////////////////////////////////////////////////////////
-
24////////////////////////////---DEFINES---////////////////////////////
-
25
-
26
-
27
-
28////////////////////////////---DEFINES---////////////////////////////
-
29
-
30
-
31/////////////////////////////////////////////////////////////////////
-
32///////////////////////---STRUCTURES & ENUMS---//////////////////////
-
-
33typedef struct // struct with settings for custom function
-
34{
-
35 SPI_HandleTypeDef hspi;
-
36
-
37 GPIO_TypeDef *CLK_GPIOx;
-
38 uint32_t CLK_PIN;
-
39 uint32_t CLK_GPIO_AlternageFunc;
-
40
-
41 GPIO_TypeDef *MISO_GPIOx;
-
42 uint32_t MISO_PIN;
-
43 uint32_t MISO_GPIO_AlternageFunc;
-
44
-
45 GPIO_TypeDef *MOSI_GPIOx;
-
46 uint32_t MOSI_PIN;
-
47 uint32_t MOSI_GPIO_AlternageFunc;
-
48
- -
-
50///////////////////////---STRUCTURES & ENUMS---//////////////////////
-
51
-
52
-
53/////////////////////////////////////////////////////////////////////
-
54///////////////////////////---FUNCTIONS---///////////////////////////
-
55/**
-
56 * @brief Initialize SPI with SPI_SettingsTypeDef structure.
-
57 * @param sspi - указатель на структуру с настройками SPI.
-
58 * @return HAL status.
-
59 * @note Данная структура содержит хендл ЮАРТ и настройки перефирии (GPIO)
-
60 */
-
61HAL_StatusTypeDef SPI_Base_Init(SPI_SettingsTypeDef *sspi);
-
62/**
-
63 * @brief Initialize GPIO for SPI.
-
64 * @param GPIOx - порт для настройки.
-
65 * @param GPIO_PIN_RX - пин для настройки на прием.
-
66 * @param GPIO_PIN_TX - пин для настройки на передачу.
-
67 */
-
68void SPI_GPIO_Init(SPI_SettingsTypeDef *sspi);
-
69/**
-
70 * @brief Initialize DMA for SPI.
-
71 * @param hspi - указатель на хендл SPI для настройки DMA.
-
72 * @param hdma_rx - указатель на хендл DMA для линии приема SPI.
-
73 * @param DMAChannel - указатель на канал DMA/поток DMA в STM32F407.
-
74 * @param DMA_CHANNEL_X - канал DMA.
-
75 */
-
76void SPI_DMA_Init(SPI_HandleTypeDef *hspi, DMA_HandleTypeDef *hdma_rx, DMA_Stream_TypeDef *DMAChannel, uint32_t DMA_CHANNEL_X);
-
77/**
-
78 * @brief Initialize SPI & DMA clock and interrupt.
-
79 * @param hspi - указатель на хендл SPI для инициализации.
-
80 * @note Чтобы не генерировать функцию с иницилизацией неиспользуемых SPI,
-
81 дефайнами определяются используемые SPI.
-
82 */
-
83void SPI_MspInit(SPI_HandleTypeDef *hspi);
-
84/**
-
85 * @brief Deinitialize SPI & DMA clock and interrupt.
-
86 * @param hspi - указатель на хендл SPI для деинициализации.
-
87 * @note Чтобы не генерировать функцию с деиницилизацией неиспользуемых SPI,
-
88 дефайнами в rs_message.h определяются используемые SPI.
-
89 */
-
90void SPI_MspDeInit(SPI_HandleTypeDef *hspi);
-
91
-
92/**
-
93 * @brief Check that spi init structure have correct values.
-
94 * @param sspi - указатель на структуру с настройками SPI.
-
95 * @return HAL status.
-
96 */
-
97HAL_StatusTypeDef Check_SPI_Init_Struct(SPI_SettingsTypeDef *sspi);
-
98///////////////////////////---FUNCTIONS---///////////////////////////
-
99
-
100#endif // __SPI_GENERAL_H_
-
Заголочный файл для дефайнов библиотеки MyLibsGeneral.
- -
-
- - - - diff --git a/Doc/html/____general__uart_8c_source.html b/Doc/html/____general__uart_8c_source.html deleted file mode 100644 index aa257bf..0000000 --- a/Doc/html/____general__uart_8c_source.html +++ /dev/null @@ -1,505 +0,0 @@ - - - - - - - -MyLibs: F:/Work/Projects/STM/.Elementary/STM32_ExtendedLibs/MyLibsGeneral/Src/__general_uart.c Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
MyLibs 1.0 -
-
Расширенные библиотеки для STM32
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
__general_uart.c
-
-
-
1/**
-
2 **************************************************************************
-
3 * @file general_uart.c
-
4 * @brief Модуль для инициализации UART.
-
5 **************************************************************************
-
6 * //-------------------Функции-------------------//
-
7 * @verbatim
-
8 * Functions: users
-
9 * - UART_Base_Init Инициализация UART
-
10 *
-
11 * Functions: uart initialize
-
12 * - UART_GPIO_Init Инициализация GPIO для UART
-
13 * - UART_DMA_Init Инициализация DMA для UART
-
14 * - UART_MspInit Аналог HAL_MspInit для UART
-
15 * - UART_MspDeInit Аналог HAL_MspDeInit для UART
-
16 * @endverbatim
-
17***************************************************************************/
-
18#include "general_uart.h"
-
19#include "general_gpio.h"
-
20
-
21//-------------------------------------------------------------------
-
22//------------------------UART INIT FUNCTIONS------------------------
-
23/**
-
24 * @brief Initialize UART with UART_SettingsTypeDef structure.
-
25 * @param suart - указатель на структуру с настройками UART.
-
26 * @return HAL status.
-
27 * @note Данная структура содержит хендл ЮАРТ и настройки перефирии (GPIO)
-
28 */
-
29HAL_StatusTypeDef UART_Base_Init(UART_SettingsTypeDef *suart)
-
30{ // function takes setting structure for init
-
31
-
32 // check is settings are valid
-
33 if(Check_UART_Init_Struct(suart) != HAL_OK)
-
34 return HAL_ERROR;
-
35
-
36 suart->huart.Init.Mode = UART_MODE_TX_RX;
-
37
-
38 UART_MspInit(&suart->huart);
-
39
-
40
-
41 if (HAL_UART_Init(&suart->huart) != HAL_OK)
-
42 {
- -
44 return HAL_ERROR;
-
45 }
-
46
-
47 // init gpio from UARTSettings structure
-
48 UART_GPIO_Init(suart->GPIOx, suart->GPIO_PIN_RX, suart->GPIO_PIN_TX);
-
49
-
50 __HAL_UART_ENABLE_IT(&suart->huart, UART_IT_IDLE);
-
51 // init dma from UARTSettings structure if need
-
52 if (suart->DMAChannel != 0)
-
53 UART_DMA_Init(&suart->huart, suart->huart.hdmarx, suart->DMAChannel, suart->DMA_CHANNEL_X);
-
54
-
55
-
56 return HAL_OK;
-
57}
-
58
-
59
-
60/**
-
61 * @brief Initialize GPIO for UART.
-
62 * @param GPIOx - порт для настройки.
-
63 * @param GPIO_PIN_RX - пин для настройки на прием.
-
64 * @param GPIO_PIN_TX - пин для настройки на передачу.
-
65 */
-
66void UART_GPIO_Init(GPIO_TypeDef *GPIOx, uint16_t GPIO_PIN_RX, uint16_t GPIO_PIN_TX)
-
67{ // function takes port and pins (for rx and tx)
-
68 GPIO_InitTypeDef GPIO_InitStruct = {0};
-
69
-
70 // choose port for enable clock
-
71 GPIO_Clock_Enable(GPIOx);
-
72
-
73 //USART3 GPIO Configuration
-
74 //GPIO_PIN_TX ------> USART_TX
-
75 //GPIO_PIN_RX ------> USART_RX
-
76
-
77#if defined(STM32F407xx) // gpio init for 407
-
78 GPIO_InitStruct.Pin = GPIO_PIN_TX|GPIO_PIN_RX;
-
79 GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
-
80 GPIO_InitStruct.Pull = GPIO_NOPULL;
-
81 GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
-
82 GPIO_InitStruct.Alternate = GPIO_AF7_USART3;
-
83 HAL_GPIO_Init(GPIOx, &GPIO_InitStruct);
-
84#elif defined(STM32F103xG) // gpio init for atm403/stm103
-
85 //GPIO_PIN_TX ------> USART_TX
-
86 GPIO_InitStruct.Pin = GPIO_PIN_TX;
-
87 GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
-
88 GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
-
89 HAL_GPIO_Init(GPIOx, &GPIO_InitStruct);
-
90
-
91// GPIO_PIN_RX ------> USART_RX
-
92 GPIO_InitStruct.Pin = GPIO_PIN_RX;
-
93 GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
-
94 GPIO_InitStruct.Pull = GPIO_NOPULL;
-
95 HAL_GPIO_Init(GPIOx, &GPIO_InitStruct);
-
96#endif
-
97}
-
98
-
99/**
-
100 * @brief Initialize DMA for UART.
-
101 * @param huart - указатель на хендл UART для настройки DMA.
-
102 * @param hdma_rx - указатель на хендл DMA для линии приема UART.
-
103 * @param DMAChannel - указатель на канал DMA/поток DMA в STM32F407.
-
104 * @param DMA_CHANNEL_X - канал DMA.
-
105 */
-
106void UART_DMA_Init(UART_HandleTypeDef *huart, DMA_HandleTypeDef *hdma_rx, DMA_Stream_TypeDef *DMAChannel, uint32_t DMA_CHANNEL_X)
-
107{ // function takes uart and dma handlers and dmachannel for uart
-
108 // for now only dma rx is supported, tx maybe later if needed
-
109 // calc defines on boot_project_setup.h
-
110
-
111 /* USART3 DMA Init */
-
112 /* USART3_RX Init */
-
113
-
114 hdma_rx->Instance = DMAChannel;
-
115#if defined(STM32F407xx) // dma channel choose for 407
-
116 hdma_rx->Init.Channel = DMA_CHANNEL_X;
-
117#endif
-
118 hdma_rx->Init.Direction = DMA_PERIPH_TO_MEMORY;
-
119 hdma_rx->Init.PeriphInc = DMA_PINC_DISABLE;
-
120 hdma_rx->Init.MemInc = DMA_MINC_ENABLE;
-
121 hdma_rx->Init.PeriphDataAlignment = DMA_PDATAALIGN_BYTE;
-
122 hdma_rx->Init.MemDataAlignment = DMA_MDATAALIGN_BYTE;
-
123 hdma_rx->Init.Mode = DMA_CIRCULAR;
-
124 hdma_rx->Init.Priority = DMA_PRIORITY_LOW;
-
125 if (HAL_DMA_Init(hdma_rx) != HAL_OK)
-
126 {
- -
128 }
-
129
-
130 __USER_LINKDMA(huart,hdmarx,hdma_rx);
-
131
-
132
-
133 // __USER_LINKDMA is need because __HAL_LINKDMA is written for global defined hdma_rx
-
134 // so you get error because hal uses . insted of ->
-
135}
-
136
-
137/**
-
138 * @brief Initialize UART & DMA clock and interrupt.
-
139 * @param huart - указатель на хендл UART для инициализации.
-
140 * @note Чтобы не генерировать функцию с иницилизацией неиспользуемых UART,
-
141 дефайнами в rs_message.h определяются используемые UART.
-
142 */
-
143void UART_MspInit(UART_HandleTypeDef *huart) // analog for hal function
-
144{
-
145// __RCC_DMA_UART_CLK_ENABLE();
-
146// /* DMA interrupt init */
-
147// /* DMA1_Stream1_IRQn interrupt configuration */
-
148// HAL_NVIC_SetPriority(DMA_UART_IRQn, 0, 0);
-
149// HAL_NVIC_EnableIRQ(DMA_UART_IRQn);
-
150
-
151 // rcc, dma and interrupt init for USARTs
-
152 // GPIO init was moved to own functions UART_GPIO_Init
-
153 if(0);
-
154#ifdef USE_USART1
-
155 else if(huart->Instance==USART1)
-
156 {
-
157
-
158 /* DMA2 clock enable */
-
159 __HAL_RCC_DMA2_CLK_ENABLE();
-
160 /* DMA interrupt init */
-
161 HAL_NVIC_SetPriority(DMA2_Stream2_IRQn, 0, 0);
-
162 HAL_NVIC_EnableIRQ(DMA2_Stream2_IRQn);
-
163
-
164 /* USART1 clock enable */
-
165 __HAL_RCC_USART1_CLK_ENABLE();
-
166
-
167 /* USART1 interrupt Init */
-
168 HAL_NVIC_SetPriority(USART1_IRQn, 0, 0);
-
169 HAL_NVIC_EnableIRQ(USART1_IRQn);
-
170 }
-
171#endif // USE_USART1
-
172#ifdef USE_USART2
-
173 else if(huart->Instance==USART2)
-
174 {
-
175 /* DMA1 clock enable */
-
176 __HAL_RCC_DMA1_CLK_ENABLE();
-
177 /* DMA interrupt init */
-
178 HAL_NVIC_SetPriority(DMA1_Stream5_IRQn, 0, 0);
-
179 HAL_NVIC_EnableIRQ(DMA1_Stream5_IRQn);
-
180
-
181 /* USART2 clock enable */
-
182 __HAL_RCC_USART2_CLK_ENABLE();
-
183
-
184 /* USART2 interrupt Init */
-
185 HAL_NVIC_SetPriority(USART2_IRQn, 0, 0);
-
186 HAL_NVIC_EnableIRQ(USART2_IRQn);
-
187 }
-
188#endif // USE_USART2
-
189#ifdef USE_USART3
-
190 else if(huart->Instance==USART3)
-
191 {
-
192 /* DMA1 clock enable */
-
193 __HAL_RCC_DMA1_CLK_ENABLE();
-
194 /* DMA interrupt init */
-
195 HAL_NVIC_SetPriority(DMA1_Stream1_IRQn, 0, 0);
-
196 HAL_NVIC_EnableIRQ(DMA1_Stream1_IRQn);
-
197
-
198 /* USART3 clock enable */
-
199 __HAL_RCC_USART3_CLK_ENABLE();
-
200 /* USART3 interrupt Init */
-
201 HAL_NVIC_SetPriority(USART3_IRQn, 0, 0);
-
202 HAL_NVIC_EnableIRQ(USART3_IRQn);
-
203 }
-
204#endif // USE_USART3
-
205#ifdef USE_UART4
-
206 else if(huart->Instance==UART4)
-
207 {
-
208 /* DMA1 clock enable */
-
209 __HAL_RCC_DMA1_CLK_ENABLE();
-
210 /* DMA interrupt init */
-
211 HAL_NVIC_SetPriority(DMA1_Stream2_IRQn, 0, 0);
-
212 HAL_NVIC_EnableIRQ(DMA1_Stream2_IRQn);
-
213
-
214 /* UART4 clock enable */
-
215 __HAL_RCC_UART4_CLK_ENABLE();
-
216
-
217 /* UART4 interrupt Init */
-
218 HAL_NVIC_SetPriority(UART4_IRQn, 0, 0);
-
219 HAL_NVIC_EnableIRQ(UART4_IRQn);
-
220 }
-
221#endif // USE_UART4
-
222#ifdef USE_UART5
-
223 else if(huart->Instance==UART5)
-
224 {
-
225 /* DMA1 clock enable */
-
226 __HAL_RCC_DMA1_CLK_ENABLE();
-
227 /* DMA interrupt init */
-
228 HAL_NVIC_SetPriority(DMA1_Stream0_IRQn, 0, 0);
-
229 HAL_NVIC_EnableIRQ(DMA1_Stream0_IRQn);
-
230
-
231 /* UART5 clock enable */
-
232 __HAL_RCC_DMA1_CLK_ENABLE();
-
233
-
234 /* UART5 interrupt Init */
-
235 HAL_NVIC_SetPriority(UART5_IRQn, 0, 0);
-
236 HAL_NVIC_EnableIRQ(UART5_IRQn);
-
237 }
-
238#endif // USE_UART5
-
239#ifdef USE_USART6
-
240 else if(huart->Instance==USART6)
-
241 {
-
242 /* DMA2 clock enable */
-
243 __HAL_RCC_DMA2_CLK_ENABLE();
-
244 /* DMA interrupt init */
-
245 HAL_NVIC_SetPriority(DMA2_Stream1_IRQn, 0, 0);
-
246 HAL_NVIC_EnableIRQ(DMA2_Stream1_IRQn);
-
247
-
248 /* USART6 clock enable */
-
249 __HAL_RCC_USART6_CLK_ENABLE();
-
250
-
251 /* USART6 interrupt Init */
-
252 HAL_NVIC_SetPriority(USART6_IRQn, 0, 0);
-
253 HAL_NVIC_EnableIRQ(USART6_IRQn);
-
254 }
-
255#endif // USE_USART6
-
256}
-
257
-
258/**
-
259 * @brief Deinitialize UART & DMA clock and interrupt.
-
260 * @param huart - указатель на хендл UART для деинициализации.
-
261 * @note Чтобы не генерировать функцию с деиницилизацией неиспользуемых UART,
-
262 дефайнами определяются используемые UART.
-
263 */
-
264void UART_MspDeInit(UART_HandleTypeDef *huart) // analog for hal function
-
265{
-
266 // rcc, dma and interrupt init for USARTs
-
267 // GPIO init was moved to own functions UART_GPIO_Init
-
268 if(0);
-
269#ifdef USE_USART1
-
270 else if(huart->Instance==USART1)
-
271 {
-
272
-
273// /* DMA2 clock enable */
-
274// __HAL_RCC_DMA2_CLK_ENABLE();
-
275// /* DMA interrupt init */
-
276// HAL_NVIC_SetPriority(DMA2_Stream2_IRQn, 0, 0);
-
277// HAL_NVIC_EnableIRQ(DMA2_Stream2_IRQn);
-
278
-
279 /* USART1 clock reset */
-
280 __HAL_RCC_USART1_FORCE_RESET();
-
281 __HAL_RCC_USART1_RELEASE_RESET();
-
282 }
-
283#endif // USE_USART1
-
284#ifdef USE_USART2
-
285 else if(huart->Instance==USART2)
-
286 {
-
287// /* DMA1 clock enable */
-
288// __HAL_RCC_DMA1_CLK_ENABLE();
-
289// /* DMA interrupt init */
-
290// HAL_NVIC_SetPriority(DMA1_Stream5_IRQn, 0, 0);
-
291// HAL_NVIC_EnableIRQ(DMA1_Stream5_IRQn);
-
292
-
293 /* USART2 clock reset */
-
294 __HAL_RCC_USART2_FORCE_RESET();
-
295 __HAL_RCC_USART2_RELEASE_RESET();
-
296 }
-
297#endif // USE_USART2
-
298#ifdef USE_USART3
-
299 else if(huart->Instance==USART3)
-
300 {
-
301// /* DMA1 clock enable */
-
302// __HAL_RCC_DMA1_CLK_ENABLE();
-
303// /* DMA interrupt init */
-
304// HAL_NVIC_SetPriority(DMA1_Stream1_IRQn, 0, 0);
-
305// HAL_NVIC_EnableIRQ(DMA1_Stream1_IRQn);
-
306
-
307 /* USART3 clock reset */
-
308 __HAL_RCC_USART3_FORCE_RESET();
-
309 __HAL_RCC_USART3_RELEASE_RESET();
-
310 }
-
311#endif // USE_USART3
-
312#ifdef USE_UART4
-
313 else if(huart->Instance==UART4)
-
314 {
-
315// /* DMA1 clock enable */
-
316// __HAL_RCC_DMA1_CLK_ENABLE();
-
317// /* DMA interrupt init */
-
318// HAL_NVIC_SetPriority(DMA1_Stream2_IRQn, 0, 0);
-
319// HAL_NVIC_EnableIRQ(DMA1_Stream2_IRQn);
-
320
-
321 /* UART4 clock reset */
-
322 __HAL_RCC_UART4_FORCE_RESET();
-
323 __HAL_RCC_UART4_RELEASE_RESET();
-
324 }
-
325#endif // USE_UART4
-
326#ifdef USE_UART5
-
327 else if(huart->Instance==UART5)
-
328 {
-
329// /* DMA1 clock enable */
-
330// __HAL_RCC_DMA1_CLK_ENABLE();
-
331// /* DMA interrupt init */
-
332// HAL_NVIC_SetPriority(DMA1_Stream0_IRQn, 0, 0);
-
333// HAL_NVIC_EnableIRQ(DMA1_Stream0_IRQn);
-
334
-
335 /* UART5 clock reset */
-
336 __HAL_RCC_UART5_FORCE_RESET();
-
337 __HAL_RCC_UART5_RELEASE_RESET();
-
338 }
-
339#endif // USE_UART5
-
340#ifdef USE_USART6
-
341 else if(huart->Instance==USART6)
-
342 {
-
343// /* DMA2 clock enable */
-
344// __HAL_RCC_DMA2_CLK_ENABLE();
-
345// /* DMA interrupt init */
-
346// HAL_NVIC_SetPriority(DMA2_Stream1_IRQn, 0, 0);
-
347// HAL_NVIC_EnableIRQ(DMA2_Stream1_IRQn);
-
348
-
349 /* USART6 clock reset */
-
350 __HAL_RCC_USART6_FORCE_RESET();
-
351 __HAL_RCC_USART6_RELEASE_RESET();
-
352 }
-
353#endif // USE_USART6
-
354}
-
355
-
356/**
-
357 * @brief Check that uart init structure have correct values.
-
358 * @param suart - указатель на структуру с настройками UART.
-
359 * @return HAL status.
-
360 */
-
361HAL_StatusTypeDef Check_UART_Init_Struct(UART_SettingsTypeDef *suart)
-
362{
-
363 // check is settings are valid
-
364 if (!IS_UART_INSTANCE(suart->huart.Instance))
-
365 return HAL_ERROR;
-
366
-
367 if (!IS_UART_BAUDRATE(suart->huart.Init.BaudRate) || (suart->huart.Init.BaudRate == NULL))
-
368 return HAL_ERROR;
-
369
-
370 if (!IS_GPIO_ALL_INSTANCE(suart->GPIOx))
-
371 return HAL_ERROR;
-
372
-
373 if (!IS_GPIO_PIN(suart->GPIO_PIN_RX) && !IS_GPIO_PIN(suart->GPIO_PIN_TX)) // if both pins arent set up
-
374 return HAL_ERROR;
-
375
-
376 return HAL_OK;
-
377}
-
378
-
379//------------------------UART INIT FUNCTIONS------------------------
-
380//-------------------------------------------------------------------
-
Заголовочный файл для модуля инициализации портов и работы с ними.
-
#define MyLibs_Error_Handler(params)
Error_Handler который будет вызыватся в библиотеке
Definition mylibs_defs.h:31
-
HAL_StatusTypeDef GPIO_Clock_Enable(GPIO_TypeDef *GPIOx)
Включить тактирование порта GPIO.
- -
-
- - - - diff --git a/Doc/html/____general__uart_8h_source.html b/Doc/html/____general__uart_8h_source.html deleted file mode 100644 index 4f87464..0000000 --- a/Doc/html/____general__uart_8h_source.html +++ /dev/null @@ -1,233 +0,0 @@ - - - - - - - -MyLibs: F:/Work/Projects/STM/.Elementary/STM32_ExtendedLibs/MyLibsGeneral/Inc/__general_uart.h Source File - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
MyLibs 1.0 -
-
Расширенные библиотеки для STM32
-
-
- - - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
__general_uart.h
-
-
-
1/**
-
2**************************************************************************
-
3* @file general_uart.h
-
4* @brief Заголовочный файл для модуля инициализации UART.
-
5*************************************************************************/
-
6#ifndef __UART_GENERAL_H_
-
7#define __UART_GENERAL_H_
-
8
-
9//////////////////////////////////////////////////////////////////////
-
10/////////////////////////---USER SETTINGS---/////////////////////////
-
11#define HAL_UART_MODULE_ENABLED // need to uncomment these defines in stm32f4xx_hal_conf.h
-
12//#define HAL_USART_MODULE_ENABLED // maybe also need to add hal_uart.h/.c (source code)
-
13
-
14//#define USE_USART1
-
15//#define USE_USART2
-
16//#define USE_USART3
-
17//#define USE_UART4
-
18//#define USE_UART5
-
19//#define USE_USART6
-
20/* note: used uart defines in modbus.h */
-
21
-
22/////////////////////////---USER SETTINGS---/////////////////////////
-
23#include "interface_config.h" /* used uart defines in modbus.h */
-
24
-
25
-
26
-
27/////////////////////////////////////////////////////////////////////
-
28////////////////////////////---DEFINES---////////////////////////////
-
29#include "mylibs_defs.h"
-
30/**
-
31 * @brief Analog for HAL define. Remade with pointer to structure.
-
32 * @note @ref __HAL_LINKDMA.
-
33 */
-
34#define __USER_LINKDMA(__HANDLE__, __PPP_DMA_FIELD__, __DMA_HANDLE__) \
-
35do{ \
-
36(__HANDLE__)->__PPP_DMA_FIELD__ = (__DMA_HANDLE__); \
-
37(__DMA_HANDLE__)->Parent = (__HANDLE__);} while(0U)
-
38
-
39
-
40////////////////////////////---DEFINES---////////////////////////////
-
41
-
42
-
43/////////////////////////////////////////////////////////////////////
-
44///////////////////////---STRUCTURES & ENUMS---//////////////////////
-
-
45typedef struct // struct with settings for custom function
-
46{
-
47 UART_HandleTypeDef huart;
-
48
-
49 GPIO_TypeDef *GPIOx;
-
50 uint16_t GPIO_PIN_RX;
-
51 uint16_t GPIO_PIN_TX;
-
52
-
53 DMA_Stream_TypeDef *DMAChannel; // DMAChannel = 0 if doesnt need
-
54 uint32_t DMA_CHANNEL_X; // DMAChannel = 0 if doesnt need
-
55
-
56
- -
-
58///////////////////////---STRUCTURES & ENUMS---//////////////////////
-
59
-
60
-
61/////////////////////////////////////////////////////////////////////
-
62///////////////////////////---FUNCTIONS---///////////////////////////
-
63/**
-
64 * @brief Initialize UART with UART_SettingsTypeDef structure.
-
65 * @param suart - указатель на структуру с настройками UART.
-
66 * @return HAL status.
-
67 * @note Данная структура содержит хендл ЮАРТ и настройки перефирии (GPIO)
-
68 */
-
69HAL_StatusTypeDef UART_Base_Init(UART_SettingsTypeDef *suart);
-
70/**
-
71 * @brief Initialize GPIO for UART.
-
72 * @param GPIOx - порт для настройки.
-
73 * @param GPIO_PIN_RX - пин для настройки на прием.
-
74 * @param GPIO_PIN_TX - пин для настройки на передачу.
-
75 */
-
76void UART_GPIO_Init(GPIO_TypeDef *GPIOx, uint16_t GPIO_PIN_RX, uint16_t GPIO_PIN_TX);
-
77/**
-
78 * @brief Initialize DMA for UART.
-
79 * @param huart - указатель на хендл UART для настройки DMA.
-
80 * @param hdma_rx - указатель на хендл DMA для линии приема UART.
-
81 * @param DMAChannel - указатель на канал DMA/поток DMA в STM32F407.
-
82 * @param DMA_CHANNEL_X - канал DMA.
-
83 */
-
84void UART_DMA_Init(UART_HandleTypeDef *huart, DMA_HandleTypeDef *hdma_rx, DMA_Stream_TypeDef *DMAChannel, uint32_t DMA_CHANNEL_X);
-
85/**
-
86 * @brief Initialize UART & DMA clock and interrupt.
-
87 * @param huart - указатель на хендл UART для инициализации.
-
88 * @note Чтобы не генерировать функцию с иницилизацией неиспользуемых UART,
-
89 дефайнами определяются используемые UART.
-
90 */
-
91void UART_MspInit(UART_HandleTypeDef *huart);
-
92/**
-
93 * @brief Deinitialize UART & DMA clock and interrupt.
-
94 * @param huart - указатель на хендл UART для деинициализации.
-
95 * @note Чтобы не генерировать функцию с деиницилизацией неиспользуемых UART,
-
96 дефайнами в rs_message.h определяются используемые UART.
-
97 */
-
98void UART_MspDeInit(UART_HandleTypeDef *huart);
-
99
-
100/**
-
101 * @brief Check that uart init structure have correct values.
-
102 * @param suart - указатель на структуру с настройками UART.
-
103 * @return HAL status.
-
104 */
-
105HAL_StatusTypeDef Check_UART_Init_Struct(UART_SettingsTypeDef *suart);
-
106///////////////////////////---FUNCTIONS---///////////////////////////
-
107
-
108#endif // __UART_GENERAL_H_
-
Заголочный файл для дефайнов библиотеки MyLibsGeneral.
- -
-
- - - - diff --git a/Doc/html/_s_p_i__usage__example-example.html b/Doc/html/_s_p_i__usage__example-example.html deleted file mode 100644 index e9f6df9..0000000 --- a/Doc/html/_s_p_i__usage__example-example.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - - - -MyLibs: SPI_Usage_Example - - - - - - - - - - - - - - - - - -
-
- - - - - - -
-
MyLibs 1.0 -
-
Расширенные библиотеки для STM32
-
-
- - - - - - - - -
-
- -
-
-
- -
-
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
SPI_Usage_Example
-
-
-

Пример использования SPI_Base_Init.

-

Пример использования SPI_Base_Init. Инициализация SPI1 с базовыми настройками:

#include "general_spi.h"
-
- -
-
void SPI1_Init(void)
-
{
-
// Настройка SPI1
-
mySPI.hspi.Instance = SPI1;
-
mySPI.hspi.Init.Mode = SPI_MODE_MASTER;
-
mySPI.hspi.Init.Direction = SPI_DIRECTION_2LINES;
-
mySPI.hspi.Init.DataSize = SPI_DATASIZE_8BIT;
-
mySPI.hspi.Init.CLKPolarity = SPI_POLARITY_LOW;
-
mySPI.hspi.Init.CLKPhase = SPI_PHASE_1EDGE;
-
mySPI.hspi.Init.NSS = SPI_NSS_SOFT;
-
mySPI.hspi.Init.BaudRatePrescaler = SPI_BAUDRATEPRESCALER_16;
-
mySPI.hspi.Init.FirstBit = SPI_FIRSTBIT_MSB;
-
mySPI.hspi.Init.TIMode = SPI_TIMODE_DISABLE;
-
mySPI.hspi.Init.CRCCalculation = SPI_CRCCALCULATION_DISABLE;
-
-
// Настройка GPIO для SPI
-
mySPI.CLK_GPIOx = GPIOA;
-
mySPI.CLK_PIN = GPIO_PIN_5;
-
mySPI.CLK_GPIO_AlternageFunc = GPIO_AF5_SPI1;
-
-
mySPI.MISO_GPIOx = GPIOA;
-
mySPI.MISO_PIN = GPIO_PIN_6;
-
mySPI.MISO_GPIO_AlternageFunc = GPIO_AF5_SPI1;
-
-
mySPI.MOSI_GPIOx = GPIOA;
-
mySPI.MOSI_PIN = GPIO_PIN_7;
-
mySPI.MOSI_GPIO_AlternageFunc = GPIO_AF5_SPI1;
-
-
// Инициализация SPI
-
if(SPI_Base_Init(&mySPI) != HAL_OK)
-
{
-
// Обработка ошибки
-
}
-
}
-
Заголовочный файл для модуля инициализации SPI.
-
HAL_StatusTypeDef SPI_Base_Init(SPI_SettingsTypeDef *sspi)
Инициализация SPI с помощью структуры SPI_SettingsTypeDef.
Definition general_spi.c:23
-
Структура настроек SPI.
-
GPIO_TypeDef * MOSI_GPIOx
Порт MOSI.
-
GPIO_TypeDef * MISO_GPIOx
Порт MISO.
-
uint32_t MISO_PIN
Пин MISO.
-
uint32_t CLK_PIN
Пин CLK.
-
uint32_t CLK_GPIO_AlternageFunc
Альтернативная функция для CLK.
-
GPIO_TypeDef * CLK_GPIOx
Порт CLK.
-
uint32_t MOSI_PIN
Пин MOSI.
-
SPI_HandleTypeDef hspi
HAL handle SPI.
-
uint32_t MISO_GPIO_AlternageFunc
Альтернативная функция для MISO.
-
uint32_t MOSI_GPIO_AlternageFunc
Альтернативная функция для MOSI.
-
-
-
- - - - diff --git a/Doc/html/bc_s.png b/Doc/html/bc_s.png deleted file mode 100644 index 224b29a..0000000 Binary files a/Doc/html/bc_s.png and /dev/null differ diff --git a/Doc/html/bc_sd.png b/Doc/html/bc_sd.png deleted file mode 100644 index 31ca888..0000000 Binary files a/Doc/html/bc_sd.png and /dev/null differ diff --git a/Doc/html/bit__access_8h.html b/Doc/html/bit__access_8h.html index eacf932..2fd2aef 100644 --- a/Doc/html/bit__access_8h.html +++ b/Doc/html/bit__access_8h.html @@ -5,7 +5,7 @@ -MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/Inc/bit_access.h File Reference +MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibs/Inc/bit_access.h File Reference @@ -108,26 +108,26 @@ $(function(){initNavTree('bit__access_8h.html','',''); });
This graph shows which files directly or indirectly include this file:
@@ -168,7 +168,7 @@ Macros diff --git a/Doc/html/bit__access_8h__dep__incl.map b/Doc/html/bit__access_8h__dep__incl.map index 11c4cbf..4ab689b 100644 --- a/Doc/html/bit__access_8h__dep__incl.map +++ b/Doc/html/bit__access_8h__dep__incl.map @@ -1,5 +1,5 @@ - - - - + + + + diff --git a/Doc/html/bit__access_8h__dep__incl.md5 b/Doc/html/bit__access_8h__dep__incl.md5 index 2f7fcbf..642ffdc 100644 --- a/Doc/html/bit__access_8h__dep__incl.md5 +++ b/Doc/html/bit__access_8h__dep__incl.md5 @@ -1 +1 @@ -9d0f52ae67584f7f09caa88b8c7ab4e9 \ No newline at end of file +90cf62b6f2167bce533474179c32e7c8 \ No newline at end of file diff --git a/Doc/html/bit__access_8h__dep__incl.png b/Doc/html/bit__access_8h__dep__incl.png index 79f6619..d26f8be 100644 Binary files a/Doc/html/bit__access_8h__dep__incl.png and b/Doc/html/bit__access_8h__dep__incl.png differ diff --git a/Doc/html/bit__access_8h__incl.map b/Doc/html/bit__access_8h__incl.map index 9afbbb7..6d8c1a2 100644 --- a/Doc/html/bit__access_8h__incl.map +++ b/Doc/html/bit__access_8h__incl.map @@ -1,9 +1,9 @@ - - - - - - - - + + + + + + + + diff --git a/Doc/html/bit__access_8h__incl.md5 b/Doc/html/bit__access_8h__incl.md5 index dd84ccf..2ba796d 100644 --- a/Doc/html/bit__access_8h__incl.md5 +++ b/Doc/html/bit__access_8h__incl.md5 @@ -1 +1 @@ -4b8c2556090cdbb9271b9fbe97d7cf5b \ No newline at end of file +5594521ddd55c9695dfd6f9ee1107722 \ No newline at end of file diff --git a/Doc/html/bit__access_8h__incl.png b/Doc/html/bit__access_8h__incl.png index 6e25770..71e9828 100644 Binary files a/Doc/html/bit__access_8h__incl.png and b/Doc/html/bit__access_8h__incl.png differ diff --git a/Doc/html/bit__access_8h_source.html b/Doc/html/bit__access_8h_source.html index 37a5171..c2902e9 100644 --- a/Doc/html/bit__access_8h_source.html +++ b/Doc/html/bit__access_8h_source.html @@ -5,7 +5,7 @@ -MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/Inc/bit_access.h Source File +MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibs/Inc/bit_access.h Source File @@ -278,7 +278,7 @@ $(function(){initNavTree('bit__access_8h_source.html','',''); }); diff --git a/Doc/html/closed.png b/Doc/html/closed.png deleted file mode 100644 index 98cc2c9..0000000 Binary files a/Doc/html/closed.png and /dev/null differ diff --git a/Doc/html/examples.html b/Doc/html/dir_000000_000004.html similarity index 78% rename from Doc/html/examples.html rename to Doc/html/dir_000000_000004.html index 425d399..4e70a3c 100644 --- a/Doc/html/examples.html +++ b/Doc/html/dir_000000_000004.html @@ -5,7 +5,7 @@ -MyLibs: Examples +MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibs/Inc -> STM32_General Relation @@ -71,7 +71,7 @@ $(function() {
@@ -96,19 +96,21 @@ $(function(){initNavTree('examples.html','',''); });
-
-
Examples
-
-
Here is a list of all examples:
-
+

Inc → STM32_General Relation

File in MyLibs/IncIncludes file in STM32_General
mylibs_include.hInc / general_gpio.h
+ diff --git a/Doc/html/dir_000001_000002.html b/Doc/html/dir_000001_000002.html new file mode 100644 index 0000000..28db3a6 --- /dev/null +++ b/Doc/html/dir_000001_000002.html @@ -0,0 +1,118 @@ + + + + + + + +MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/STM32_General/Inc -> MyLibs Relation + + + + + + + + + + + + + + + + + +
+
+ + + + + + +
+
MyLibs 1.0 +
+
Расширенные библиотеки для STM32
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+

Inc → MyLibs Relation

File in STM32_General/IncIncludes file in MyLibs
__general_flash.hInc / mylibs_defs.h
general_gpio.hInc / mylibs_defs.h
general_spi.hInc / mylibs_defs.h
general_tim.hInc / mylibs_defs.h
general_uart.hInc / mylibs_defs.h
+
+ +
+ + + + diff --git a/Doc/html/dir_000002_000000.html b/Doc/html/dir_000003_000001.html similarity index 92% rename from Doc/html/dir_000002_000000.html rename to Doc/html/dir_000003_000001.html index fe40133..dfea558 100644 --- a/Doc/html/dir_000002_000000.html +++ b/Doc/html/dir_000003_000001.html @@ -5,7 +5,7 @@ -MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/Src -> Inc Relation +MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/STM32_General/Src -> Inc Relation @@ -71,7 +71,7 @@ $(function() {
@@ -97,7 +97,7 @@ $(function(){initNavTree('dir_9c80311a018e1f8cfb6659b73d634be4.html','',''); });
+

Src → Inc Relation

File in STM32_General/SrcIncludes file in STM32_General/Inc
general_gpio.cgeneral_gpio.h
general_spi.cgeneral_gpio.h
general_spi.cgeneral_spi.h
general_tim.cgeneral_tim.h
general_uart.cgeneral_gpio.h
general_uart.cgeneral_uart.h
@@ -104,13 +104,13 @@ $(function(){initNavTree('dir_9c80311a018e1f8cfb6659b73d634be4.html','',''); });
@@ -139,7 +139,7 @@ Files diff --git a/Doc/html/dir_9c80311a018e1f8cfb6659b73d634be4.js b/Doc/html/dir_3d5e348fed410a00f9c665596ca3b887.js similarity index 88% rename from Doc/html/dir_9c80311a018e1f8cfb6659b73d634be4.js rename to Doc/html/dir_3d5e348fed410a00f9c665596ca3b887.js index 6f89d24..d52061a 100644 --- a/Doc/html/dir_9c80311a018e1f8cfb6659b73d634be4.js +++ b/Doc/html/dir_3d5e348fed410a00f9c665596ca3b887.js @@ -1,4 +1,4 @@ -var dir_9c80311a018e1f8cfb6659b73d634be4 = +var dir_3d5e348fed410a00f9c665596ca3b887 = [ [ "__general_flash.c", "____general__flash_8c_source.html", null ], [ "general_gpio.c", "general__gpio_8c.html", "general__gpio_8c" ], diff --git a/Doc/html/dir_3d5e348fed410a00f9c665596ca3b887_dep.map b/Doc/html/dir_3d5e348fed410a00f9c665596ca3b887_dep.map new file mode 100644 index 0000000..c04dafa --- /dev/null +++ b/Doc/html/dir_3d5e348fed410a00f9c665596ca3b887_dep.map @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Doc/html/dir_3d5e348fed410a00f9c665596ca3b887_dep.md5 b/Doc/html/dir_3d5e348fed410a00f9c665596ca3b887_dep.md5 new file mode 100644 index 0000000..141ffab --- /dev/null +++ b/Doc/html/dir_3d5e348fed410a00f9c665596ca3b887_dep.md5 @@ -0,0 +1 @@ +5cc6d7a2540515568af57b2a10316ffd \ No newline at end of file diff --git a/Doc/html/dir_3d5e348fed410a00f9c665596ca3b887_dep.png b/Doc/html/dir_3d5e348fed410a00f9c665596ca3b887_dep.png new file mode 100644 index 0000000..67968d4 Binary files /dev/null and b/Doc/html/dir_3d5e348fed410a00f9c665596ca3b887_dep.png differ diff --git a/Doc/html/dir_9e11e9a41112194af3eee6cc728f9515.html b/Doc/html/dir_57feeba75fefbd1a9c832b76e3bce520.html similarity index 74% rename from Doc/html/dir_9e11e9a41112194af3eee6cc728f9515.html rename to Doc/html/dir_57feeba75fefbd1a9c832b76e3bce520.html index 48001a0..00ae9de 100644 --- a/Doc/html/dir_9e11e9a41112194af3eee6cc728f9515.html +++ b/Doc/html/dir_57feeba75fefbd1a9c832b76e3bce520.html @@ -5,7 +5,7 @@ -MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral Directory Reference +MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/STM32_General Directory Reference @@ -71,7 +71,7 @@ $(function() {
@@ -97,31 +97,30 @@ $(function(){initNavTree('dir_9e11e9a41112194af3eee6cc728f9515.html','',''); });
-
MyLibsGeneral Directory Reference
+
STM32_General Directory Reference
-
Directory dependency graph for MyLibsGeneral:
+
Directory dependency graph for STM32_General:
- - -

Directories

 
Inc
 
Src
- - + +

-Files

 
mainpage.h
 
Inc
 
Src
@@ -136,7 +135,7 @@ Files diff --git a/Doc/html/dir_57feeba75fefbd1a9c832b76e3bce520.js b/Doc/html/dir_57feeba75fefbd1a9c832b76e3bce520.js new file mode 100644 index 0000000..b68ca24 --- /dev/null +++ b/Doc/html/dir_57feeba75fefbd1a9c832b76e3bce520.js @@ -0,0 +1,5 @@ +var dir_57feeba75fefbd1a9c832b76e3bce520 = +[ + [ "Inc", "dir_2cad7b5fa94233a09111fd73c6202518.html", "dir_2cad7b5fa94233a09111fd73c6202518" ], + [ "Src", "dir_3d5e348fed410a00f9c665596ca3b887.html", "dir_3d5e348fed410a00f9c665596ca3b887" ] +]; \ No newline at end of file diff --git a/Doc/html/dir_57feeba75fefbd1a9c832b76e3bce520_dep.map b/Doc/html/dir_57feeba75fefbd1a9c832b76e3bce520_dep.map new file mode 100644 index 0000000..f249082 --- /dev/null +++ b/Doc/html/dir_57feeba75fefbd1a9c832b76e3bce520_dep.map @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/Doc/html/dir_57feeba75fefbd1a9c832b76e3bce520_dep.md5 b/Doc/html/dir_57feeba75fefbd1a9c832b76e3bce520_dep.md5 new file mode 100644 index 0000000..f3faf62 --- /dev/null +++ b/Doc/html/dir_57feeba75fefbd1a9c832b76e3bce520_dep.md5 @@ -0,0 +1 @@ +00df5832c3671ec71ddedfed2e441e5b \ No newline at end of file diff --git a/Doc/html/dir_57feeba75fefbd1a9c832b76e3bce520_dep.png b/Doc/html/dir_57feeba75fefbd1a9c832b76e3bce520_dep.png new file mode 100644 index 0000000..c35bb58 Binary files /dev/null and b/Doc/html/dir_57feeba75fefbd1a9c832b76e3bce520_dep.png differ diff --git a/Doc/html/dir_eb423fea8a9c4b9b32b922020ec391e1.html b/Doc/html/dir_8eb68c124db7670c3cb56141b10519ea.html similarity index 71% rename from Doc/html/dir_eb423fea8a9c4b9b32b922020ec391e1.html rename to Doc/html/dir_8eb68c124db7670c3cb56141b10519ea.html index 8a5dfde..b7a3c97 100644 --- a/Doc/html/dir_eb423fea8a9c4b9b32b922020ec391e1.html +++ b/Doc/html/dir_8eb68c124db7670c3cb56141b10519ea.html @@ -5,7 +5,7 @@ -MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/Inc Directory Reference +MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibs/Inc Directory Reference @@ -71,7 +71,7 @@ $(function() {
@@ -104,28 +104,22 @@ $(function(){initNavTree('dir_eb423fea8a9c4b9b32b922020ec391e1.html','',''); });
- - - - - - - - - @@ -150,7 +144,7 @@ Files diff --git a/Doc/html/dir_eb423fea8a9c4b9b32b922020ec391e1.js b/Doc/html/dir_8eb68c124db7670c3cb56141b10519ea.js similarity index 53% rename from Doc/html/dir_eb423fea8a9c4b9b32b922020ec391e1.js rename to Doc/html/dir_8eb68c124db7670c3cb56141b10519ea.js index 3cc106f..2b5dc8a 100644 --- a/Doc/html/dir_eb423fea8a9c4b9b32b922020ec391e1.js +++ b/Doc/html/dir_8eb68c124db7670c3cb56141b10519ea.js @@ -1,12 +1,7 @@ -var dir_eb423fea8a9c4b9b32b922020ec391e1 = +var dir_8eb68c124db7670c3cb56141b10519ea = [ - [ "__general_flash.h", "____general__flash_8h_source.html", null ], [ "bit_access.h", "bit__access_8h.html", "bit__access_8h" ], [ "evolve_optimizer.h", "evolve__optimizer_8h.html", "evolve__optimizer_8h" ], - [ "general_gpio.h", "general__gpio_8h.html", "general__gpio_8h" ], - [ "general_spi.h", "general__spi_8h.html", "general__spi_8h" ], - [ "general_tim.h", "general__tim_8h.html", "general__tim_8h" ], - [ "general_uart.h", "general__uart_8h.html", "general__uart_8h" ], [ "mylibs_config.h", "mylibs__config_8h.html", "mylibs__config_8h" ], [ "mylibs_defs.h", "mylibs__defs_8h.html", "mylibs__defs_8h" ], [ "mylibs_include.h", "mylibs__include_8h.html", null ], diff --git a/Doc/html/dir_8eb68c124db7670c3cb56141b10519ea_dep.map b/Doc/html/dir_8eb68c124db7670c3cb56141b10519ea_dep.map new file mode 100644 index 0000000..422b65a --- /dev/null +++ b/Doc/html/dir_8eb68c124db7670c3cb56141b10519ea_dep.map @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Doc/html/dir_8eb68c124db7670c3cb56141b10519ea_dep.md5 b/Doc/html/dir_8eb68c124db7670c3cb56141b10519ea_dep.md5 new file mode 100644 index 0000000..e1692c4 --- /dev/null +++ b/Doc/html/dir_8eb68c124db7670c3cb56141b10519ea_dep.md5 @@ -0,0 +1 @@ +ae7b3aba5d71eb1d9172fce905d93d12 \ No newline at end of file diff --git a/Doc/html/dir_8eb68c124db7670c3cb56141b10519ea_dep.png b/Doc/html/dir_8eb68c124db7670c3cb56141b10519ea_dep.png new file mode 100644 index 0000000..6f57ff9 Binary files /dev/null and b/Doc/html/dir_8eb68c124db7670c3cb56141b10519ea_dep.png differ diff --git a/Doc/html/dir_9c80311a018e1f8cfb6659b73d634be4_dep.map b/Doc/html/dir_9c80311a018e1f8cfb6659b73d634be4_dep.map deleted file mode 100644 index 52c2821..0000000 --- a/Doc/html/dir_9c80311a018e1f8cfb6659b73d634be4_dep.map +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/Doc/html/dir_9c80311a018e1f8cfb6659b73d634be4_dep.md5 b/Doc/html/dir_9c80311a018e1f8cfb6659b73d634be4_dep.md5 deleted file mode 100644 index 933f5ab..0000000 --- a/Doc/html/dir_9c80311a018e1f8cfb6659b73d634be4_dep.md5 +++ /dev/null @@ -1 +0,0 @@ -ffa428a4e7938b24bbf734d10d788ade \ No newline at end of file diff --git a/Doc/html/dir_9c80311a018e1f8cfb6659b73d634be4_dep.png b/Doc/html/dir_9c80311a018e1f8cfb6659b73d634be4_dep.png deleted file mode 100644 index 41d2896..0000000 Binary files a/Doc/html/dir_9c80311a018e1f8cfb6659b73d634be4_dep.png and /dev/null differ diff --git a/Doc/html/dir_9e11e9a41112194af3eee6cc728f9515.js b/Doc/html/dir_9e11e9a41112194af3eee6cc728f9515.js deleted file mode 100644 index 7596784..0000000 --- a/Doc/html/dir_9e11e9a41112194af3eee6cc728f9515.js +++ /dev/null @@ -1,6 +0,0 @@ -var dir_9e11e9a41112194af3eee6cc728f9515 = -[ - [ "Inc", "dir_eb423fea8a9c4b9b32b922020ec391e1.html", "dir_eb423fea8a9c4b9b32b922020ec391e1" ], - [ "Src", "dir_9c80311a018e1f8cfb6659b73d634be4.html", "dir_9c80311a018e1f8cfb6659b73d634be4" ], - [ "mainpage.h", "mainpage_8h_source.html", null ] -]; \ No newline at end of file diff --git a/Doc/html/dir_9e11e9a41112194af3eee6cc728f9515_dep.map b/Doc/html/dir_9e11e9a41112194af3eee6cc728f9515_dep.map deleted file mode 100644 index 65a89e3..0000000 --- a/Doc/html/dir_9e11e9a41112194af3eee6cc728f9515_dep.map +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/Doc/html/dir_9e11e9a41112194af3eee6cc728f9515_dep.md5 b/Doc/html/dir_9e11e9a41112194af3eee6cc728f9515_dep.md5 deleted file mode 100644 index 13dbe4c..0000000 --- a/Doc/html/dir_9e11e9a41112194af3eee6cc728f9515_dep.md5 +++ /dev/null @@ -1 +0,0 @@ -8443f86a129039a222fea0f68a874d48 \ No newline at end of file diff --git a/Doc/html/dir_9e11e9a41112194af3eee6cc728f9515_dep.png b/Doc/html/dir_9e11e9a41112194af3eee6cc728f9515_dep.png deleted file mode 100644 index 8bc91fc..0000000 Binary files a/Doc/html/dir_9e11e9a41112194af3eee6cc728f9515_dep.png and /dev/null differ diff --git a/Doc/html/dir_d4b2573a0c19afb61452cc3d00967af1.html b/Doc/html/dir_d4b2573a0c19afb61452cc3d00967af1.html new file mode 100644 index 0000000..7f97c9f --- /dev/null +++ b/Doc/html/dir_d4b2573a0c19afb61452cc3d00967af1.html @@ -0,0 +1,139 @@ + + + + + + + +MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibs Directory Reference + + + + + + + + + + + + + + + + + +
+
+

Files

 
__general_flash.h
 
bit_access.h
 Заголочный файл для дефайнов битового доступа.
 
evolve_optimizer.h
 Заголовочный файл для адаптивного подбора параметров
 
general_gpio.h
 Заголовочный файл для модуля инициализации портов и работы с ними.
 
general_spi.h
 Заголовочный файл для модуля инициализации SPI.
 
general_tim.h
 Заголовочный файл для модуля инициализации таймеров и работы с ними.
 
general_uart.h
 Заголовочный файл для модуля инициализации UART.
 
mylibs_config.h
 Конфигурации для библиотек MyLibs.
 
mylibs_defs.h
+ + + + + +
+
MyLibs 1.0 +
+
Расширенные библиотеки для STM32
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
MyLibs Directory Reference
+
+
+
Directory dependency graph for MyLibs:
+
+
+ + + + +

+Directories

 
Inc
+
+
+ +
+ + + + diff --git a/Doc/html/dir_d4b2573a0c19afb61452cc3d00967af1.js b/Doc/html/dir_d4b2573a0c19afb61452cc3d00967af1.js new file mode 100644 index 0000000..3e7ea07 --- /dev/null +++ b/Doc/html/dir_d4b2573a0c19afb61452cc3d00967af1.js @@ -0,0 +1,4 @@ +var dir_d4b2573a0c19afb61452cc3d00967af1 = +[ + [ "Inc", "dir_8eb68c124db7670c3cb56141b10519ea.html", "dir_8eb68c124db7670c3cb56141b10519ea" ] +]; \ No newline at end of file diff --git a/Doc/html/dir_d4b2573a0c19afb61452cc3d00967af1_dep.map b/Doc/html/dir_d4b2573a0c19afb61452cc3d00967af1_dep.map new file mode 100644 index 0000000..3ea513c --- /dev/null +++ b/Doc/html/dir_d4b2573a0c19afb61452cc3d00967af1_dep.map @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Doc/html/dir_d4b2573a0c19afb61452cc3d00967af1_dep.md5 b/Doc/html/dir_d4b2573a0c19afb61452cc3d00967af1_dep.md5 new file mode 100644 index 0000000..f0b5df3 --- /dev/null +++ b/Doc/html/dir_d4b2573a0c19afb61452cc3d00967af1_dep.md5 @@ -0,0 +1 @@ +0bfaa81751ac1e7c7d71433f3f44b7e3 \ No newline at end of file diff --git a/Doc/html/dir_d4b2573a0c19afb61452cc3d00967af1_dep.png b/Doc/html/dir_d4b2573a0c19afb61452cc3d00967af1_dep.png new file mode 100644 index 0000000..81935bc Binary files /dev/null and b/Doc/html/dir_d4b2573a0c19afb61452cc3d00967af1_dep.png differ diff --git a/Doc/html/dir_eb423fea8a9c4b9b32b922020ec391e1_dep.map b/Doc/html/dir_eb423fea8a9c4b9b32b922020ec391e1_dep.map deleted file mode 100644 index 8f7cb36..0000000 --- a/Doc/html/dir_eb423fea8a9c4b9b32b922020ec391e1_dep.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/Doc/html/dir_eb423fea8a9c4b9b32b922020ec391e1_dep.md5 b/Doc/html/dir_eb423fea8a9c4b9b32b922020ec391e1_dep.md5 deleted file mode 100644 index f594f8b..0000000 --- a/Doc/html/dir_eb423fea8a9c4b9b32b922020ec391e1_dep.md5 +++ /dev/null @@ -1 +0,0 @@ -51bda8bf2e3b4eafeabf6cf3520068b7 \ No newline at end of file diff --git a/Doc/html/dir_eb423fea8a9c4b9b32b922020ec391e1_dep.png b/Doc/html/dir_eb423fea8a9c4b9b32b922020ec391e1_dep.png deleted file mode 100644 index 9cf8f9f..0000000 Binary files a/Doc/html/dir_eb423fea8a9c4b9b32b922020ec391e1_dep.png and /dev/null differ diff --git a/Doc/html/doc.svg b/Doc/html/doc.svg deleted file mode 100644 index 0b928a5..0000000 --- a/Doc/html/doc.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - diff --git a/Doc/html/docd.svg b/Doc/html/docd.svg deleted file mode 100644 index ac18b27..0000000 --- a/Doc/html/docd.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - diff --git a/Doc/html/doxygen_crawl.html b/Doc/html/doxygen_crawl.html index ddd0271..671925d 100644 --- a/Doc/html/doxygen_crawl.html +++ b/Doc/html/doxygen_crawl.html @@ -14,10 +14,14 @@ - - - - + + + + + + + + @@ -82,6 +86,7 @@ + diff --git a/Doc/html/evolve__optimizer_8h.html b/Doc/html/evolve__optimizer_8h.html index 8b7d966..620ae77 100644 --- a/Doc/html/evolve__optimizer_8h.html +++ b/Doc/html/evolve__optimizer_8h.html @@ -5,7 +5,7 @@ -MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/Inc/evolve_optimizer.h File Reference +MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibs/Inc/evolve_optimizer.h File Reference @@ -110,9 +110,9 @@ $(function(){initNavTree('evolve__optimizer_8h.html','',''); });
@@ -181,7 +181,7 @@ Functions
diff --git a/Doc/html/evolve__optimizer_8h__dep__incl.map b/Doc/html/evolve__optimizer_8h__dep__incl.map index 2741c58..4c4b006 100644 --- a/Doc/html/evolve__optimizer_8h__dep__incl.map +++ b/Doc/html/evolve__optimizer_8h__dep__incl.map @@ -1,5 +1,5 @@ - - - - + + + + diff --git a/Doc/html/evolve__optimizer_8h__dep__incl.md5 b/Doc/html/evolve__optimizer_8h__dep__incl.md5 index 4ae7408..77ad751 100644 --- a/Doc/html/evolve__optimizer_8h__dep__incl.md5 +++ b/Doc/html/evolve__optimizer_8h__dep__incl.md5 @@ -1 +1 @@ -41a81c5527cb10d478e05e49562aedc3 \ No newline at end of file +424cb7f34817e542ea5f5660027a6b81 \ No newline at end of file diff --git a/Doc/html/evolve__optimizer_8h__dep__incl.png b/Doc/html/evolve__optimizer_8h__dep__incl.png index 02dd104..ba778ca 100644 Binary files a/Doc/html/evolve__optimizer_8h__dep__incl.png and b/Doc/html/evolve__optimizer_8h__dep__incl.png differ diff --git a/Doc/html/evolve__optimizer_8h__incl.map b/Doc/html/evolve__optimizer_8h__incl.map index 97465e0..d907fc1 100644 --- a/Doc/html/evolve__optimizer_8h__incl.map +++ b/Doc/html/evolve__optimizer_8h__incl.map @@ -1,5 +1,5 @@ - - + + diff --git a/Doc/html/evolve__optimizer_8h__incl.md5 b/Doc/html/evolve__optimizer_8h__incl.md5 index 29bbece..37ffe87 100644 --- a/Doc/html/evolve__optimizer_8h__incl.md5 +++ b/Doc/html/evolve__optimizer_8h__incl.md5 @@ -1 +1 @@ -4993f7378dc2ed7a2e950385e8313f89 \ No newline at end of file +715956b53baa360ead244690f04d1978 \ No newline at end of file diff --git a/Doc/html/evolve__optimizer_8h__incl.png b/Doc/html/evolve__optimizer_8h__incl.png index 09857dc..4a506cd 100644 Binary files a/Doc/html/evolve__optimizer_8h__incl.png and b/Doc/html/evolve__optimizer_8h__incl.png differ diff --git a/Doc/html/evolve__optimizer_8h_source.html b/Doc/html/evolve__optimizer_8h_source.html index 1b2d3ba..dbb8f99 100644 --- a/Doc/html/evolve__optimizer_8h_source.html +++ b/Doc/html/evolve__optimizer_8h_source.html @@ -5,7 +5,7 @@ -MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/Inc/evolve_optimizer.h Source File +MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibs/Inc/evolve_optimizer.h Source File @@ -475,7 +475,7 @@ $(function(){initNavTree('evolve__optimizer_8h_source.html','',''); }); diff --git a/Doc/html/examples.js b/Doc/html/examples.js deleted file mode 100644 index 2b5561e..0000000 --- a/Doc/html/examples.js +++ /dev/null @@ -1,4 +0,0 @@ -var examples = -[ - [ "SPI_Usage_Example", "_s_p_i__usage__example-example.html", null ] -]; \ No newline at end of file diff --git a/Doc/html/files.html b/Doc/html/files.html index cda73dd..97cb96a 100644 --- a/Doc/html/files.html +++ b/Doc/html/files.html @@ -102,27 +102,29 @@ $(function(){initNavTree('files.html','',''); });
Here is a list of all documented files with brief descriptions:
[detail level 123]
- - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + +
 
MyLibsGeneral
 
Inc
 
__general_flash.h
 
bit_access.h
Заголочный файл для дефайнов битового доступа
 
evolve_optimizer.h
Заголовочный файл для адаптивного подбора параметров
 
general_gpio.h
Заголовочный файл для модуля инициализации портов и работы с ними
 
general_spi.h
Заголовочный файл для модуля инициализации SPI
 
general_tim.h
Заголовочный файл для модуля инициализации таймеров и работы с ними
 
general_uart.h
Заголовочный файл для модуля инициализации UART
 
mylibs_config.h
Конфигурации для библиотек MyLibs
 
mylibs_defs.h
Заголочный файл для дефайнов библиотеки MyLibsGeneral
 
mylibs_include.h
Заголочный файл для всех библиотек
 
trace.h
Заголочный файл для работы с трассировкой
 
trackers.h
Заголочный файл для работы с трекерами Trackers defines
 
Src
 
__general_flash.c
 
general_gpio.c
Модуль для инициализации портов и работы с ними
 
general_spi.c
Модуль для инициализации SPI
 
general_tim.c
Модуль для инициализации таймеров и работы с ними
 
general_uart.c
Модуль для инициализации UART
 
mainpage.h
 
MyLibs
 
Inc
 
bit_access.h
Заголочный файл для дефайнов битового доступа
 
evolve_optimizer.h
Заголовочный файл для адаптивного подбора параметров
 
mylibs_config.h
Конфигурации для библиотек MyLibs
 
mylibs_defs.h
Заголочный файл для дефайнов библиотеки MyLibsGeneral
 
mylibs_include.h
Заголочный файл для всех библиотек
 
trace.h
Заголочный файл для работы с трассировкой
 
trackers.h
Заголочный файл для работы с трекерами Trackers defines
 
STM32_General
 
Inc
 
__general_flash.h
 
general_gpio.h
Заголовочный файл для модуля инициализации портов и работы с ними
 
general_spi.h
Заголовочный файл для модуля инициализации SPI
 
general_tim.h
Заголовочный файл для модуля инициализации таймеров и работы с ними
 
general_uart.h
Заголовочный файл для модуля инициализации UART
 
Src
 
__general_flash.c
 
general_gpio.c
Модуль для инициализации портов и работы с ними
 
general_spi.c
Модуль для инициализации SPI
 
general_tim.c
Модуль для инициализации таймеров и работы с ними
 
general_uart.c
Модуль для инициализации UART
 
mainpage.h
diff --git a/Doc/html/files_dup.js b/Doc/html/files_dup.js index bf95d50..95a874e 100644 --- a/Doc/html/files_dup.js +++ b/Doc/html/files_dup.js @@ -1,4 +1,6 @@ var files_dup = [ - [ "MyLibsGeneral", "dir_9e11e9a41112194af3eee6cc728f9515.html", "dir_9e11e9a41112194af3eee6cc728f9515" ] + [ "MyLibs", "dir_d4b2573a0c19afb61452cc3d00967af1.html", "dir_d4b2573a0c19afb61452cc3d00967af1" ], + [ "STM32_General", "dir_57feeba75fefbd1a9c832b76e3bce520.html", "dir_57feeba75fefbd1a9c832b76e3bce520" ], + [ "mainpage.h", "mainpage_8h_source.html", null ] ]; \ No newline at end of file diff --git a/Doc/html/folderclosed.svg b/Doc/html/folderclosed.svg deleted file mode 100644 index b04bed2..0000000 --- a/Doc/html/folderclosed.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - diff --git a/Doc/html/folderclosedd.svg b/Doc/html/folderclosedd.svg deleted file mode 100644 index 52f0166..0000000 --- a/Doc/html/folderclosedd.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - diff --git a/Doc/html/folderopen.svg b/Doc/html/folderopen.svg deleted file mode 100644 index f6896dd..0000000 --- a/Doc/html/folderopen.svg +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - diff --git a/Doc/html/folderopend.svg b/Doc/html/folderopend.svg deleted file mode 100644 index 2d1f06e..0000000 --- a/Doc/html/folderopend.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - diff --git a/Doc/html/general__gpio_8c.html b/Doc/html/general__gpio_8c.html index 895b805..b02741e 100644 --- a/Doc/html/general__gpio_8c.html +++ b/Doc/html/general__gpio_8c.html @@ -5,7 +5,7 @@ -MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/Src/general_gpio.c File Reference +MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/STM32_General/Src/general_gpio.c File Reference @@ -108,17 +108,17 @@ $(function(){initNavTree('general__gpio_8c.html','',''); });
@@ -170,7 +170,7 @@ Functions diff --git a/Doc/html/general__gpio_8c__incl.map b/Doc/html/general__gpio_8c__incl.map index 1d47388..27c52b4 100644 --- a/Doc/html/general__gpio_8c__incl.map +++ b/Doc/html/general__gpio_8c__incl.map @@ -1,11 +1,11 @@ - - - - - - - - - - + + + + + + + + + + diff --git a/Doc/html/general__gpio_8c__incl.md5 b/Doc/html/general__gpio_8c__incl.md5 index 958ccc2..9d6736f 100644 --- a/Doc/html/general__gpio_8c__incl.md5 +++ b/Doc/html/general__gpio_8c__incl.md5 @@ -1 +1 @@ -6e517891df2cdbcb0824fafba9ac3005 \ No newline at end of file +3a2b6777588aefbcc57665f957601b87 \ No newline at end of file diff --git a/Doc/html/general__gpio_8c__incl.png b/Doc/html/general__gpio_8c__incl.png index f8a4a65..f729f30 100644 Binary files a/Doc/html/general__gpio_8c__incl.png and b/Doc/html/general__gpio_8c__incl.png differ diff --git a/Doc/html/general__gpio_8c_source.html b/Doc/html/general__gpio_8c_source.html index f0c45b5..31cc13f 100644 --- a/Doc/html/general__gpio_8c_source.html +++ b/Doc/html/general__gpio_8c_source.html @@ -5,7 +5,7 @@ -MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/Src/general_gpio.c Source File +MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/STM32_General/Src/general_gpio.c Source File @@ -483,7 +483,7 @@ $(function(){initNavTree('general__gpio_8c_source.html','',''); }); diff --git a/Doc/html/general__gpio_8h.html b/Doc/html/general__gpio_8h.html index 014c240..a9a01fc 100644 --- a/Doc/html/general__gpio_8h.html +++ b/Doc/html/general__gpio_8h.html @@ -5,7 +5,7 @@ -MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/Inc/general_gpio.h File Reference +MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/STM32_General/Inc/general_gpio.h File Reference @@ -108,37 +108,36 @@ $(function(){initNavTree('general__gpio_8h.html','',''); });
This graph shows which files directly or indirectly include this file:
@@ -153,6 +152,8 @@ Classes + + @@ -213,7 +214,7 @@ Functions diff --git a/Doc/html/general__gpio_8h.js b/Doc/html/general__gpio_8h.js index e739a8f..4434c4d 100644 --- a/Doc/html/general__gpio_8h.js +++ b/Doc/html/general__gpio_8h.js @@ -1,5 +1,6 @@ var general__gpio_8h = [ + [ "local_time", "group___g_p_i_o___i_n_i_t.html#ga9c853b02c22f26023c34d1d404b6d653", null ], [ "LED_PWM_TICKS", "group___g_p_i_o___i_n_i_t.html#ga1d42e219765ec526d99e306638ac0023", null ], [ "LED_ON", "group___g_p_i_o___i_n_i_t.html#gaf2e697ac60e05813d45ea2c9c9e79c25", null ], [ "LED_OFF", "group___g_p_i_o___i_n_i_t.html#ga80700bb63bd56ebabbb4728aa433fd29", null ], diff --git a/Doc/html/general__gpio_8h__dep__incl.map b/Doc/html/general__gpio_8h__dep__incl.map index 4a3628e..9e57e6a 100644 --- a/Doc/html/general__gpio_8h__dep__incl.map +++ b/Doc/html/general__gpio_8h__dep__incl.map @@ -1,16 +1,15 @@ - - - - - - - - - - - - - - - + + + + + + + + + + + + + + diff --git a/Doc/html/general__gpio_8h__dep__incl.md5 b/Doc/html/general__gpio_8h__dep__incl.md5 index 4499c32..08fcda2 100644 --- a/Doc/html/general__gpio_8h__dep__incl.md5 +++ b/Doc/html/general__gpio_8h__dep__incl.md5 @@ -1 +1 @@ -f0505ab3694aaaff670ed9b2b0d44914 \ No newline at end of file +9947edebe001b74bb89b7ef540c5825f \ No newline at end of file diff --git a/Doc/html/general__gpio_8h__dep__incl.png b/Doc/html/general__gpio_8h__dep__incl.png index 8c65085..9730fee 100644 Binary files a/Doc/html/general__gpio_8h__dep__incl.png and b/Doc/html/general__gpio_8h__dep__incl.png differ diff --git a/Doc/html/general__gpio_8h__incl.map b/Doc/html/general__gpio_8h__incl.map index 2a678e8..07ed133 100644 --- a/Doc/html/general__gpio_8h__incl.map +++ b/Doc/html/general__gpio_8h__incl.map @@ -1,9 +1,9 @@ - - - - - - - - + + + + + + + + diff --git a/Doc/html/general__gpio_8h__incl.md5 b/Doc/html/general__gpio_8h__incl.md5 index e999f78..04a7851 100644 --- a/Doc/html/general__gpio_8h__incl.md5 +++ b/Doc/html/general__gpio_8h__incl.md5 @@ -1 +1 @@ -64dafee7a8d3ae5fb443763ec7bc3400 \ No newline at end of file +0bd4cc8651d63206603e0eef34874ab9 \ No newline at end of file diff --git a/Doc/html/general__gpio_8h__incl.png b/Doc/html/general__gpio_8h__incl.png index 04247fc..58524d2 100644 Binary files a/Doc/html/general__gpio_8h__incl.png and b/Doc/html/general__gpio_8h__incl.png differ diff --git a/Doc/html/general__gpio_8h_source.html b/Doc/html/general__gpio_8h_source.html index 7f0a29f..da0db81 100644 --- a/Doc/html/general__gpio_8h_source.html +++ b/Doc/html/general__gpio_8h_source.html @@ -5,7 +5,7 @@ -MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/Inc/general_gpio.h Source File +MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/STM32_General/Inc/general_gpio.h Source File @@ -130,7 +130,7 @@ $(function(){initNavTree('general__gpio_8h_source.html','',''); });
28 */
29
30#ifndef local_time
-
31#define local_time() HAL_GetTick() ///< Локальное время
+
31#define local_time() HAL_GetTick() ///< Локальное время
32#endif
33
34#ifndef LED_PWM_TICKS
@@ -377,7 +377,7 @@ $(function(){initNavTree('general__gpio_8h_source.html','',''); }); diff --git a/Doc/html/general__spi_8c.html b/Doc/html/general__spi_8c.html index f4f02f1..aff95f3 100644 --- a/Doc/html/general__spi_8c.html +++ b/Doc/html/general__spi_8c.html @@ -5,7 +5,7 @@ -MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/Src/general_spi.c File Reference +MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/STM32_General/Src/general_spi.c File Reference @@ -109,9 +109,9 @@ $(function(){initNavTree('general__spi_8c.html','',''); });
This graph shows which files directly or indirectly include this file:
@@ -177,7 +177,7 @@ Functions diff --git a/Doc/html/general__spi_8h__dep__incl.map b/Doc/html/general__spi_8h__dep__incl.map index 2b0811b..137d3ba 100644 --- a/Doc/html/general__spi_8h__dep__incl.map +++ b/Doc/html/general__spi_8h__dep__incl.map @@ -1,5 +1,5 @@ - - - - + + + + diff --git a/Doc/html/general__spi_8h__dep__incl.md5 b/Doc/html/general__spi_8h__dep__incl.md5 index 81e4d30..9bc3b53 100644 --- a/Doc/html/general__spi_8h__dep__incl.md5 +++ b/Doc/html/general__spi_8h__dep__incl.md5 @@ -1 +1 @@ -4329b58f85cc157f873e0efea5ebf705 \ No newline at end of file +28ba97d776dc60daf2dacbd07abd4950 \ No newline at end of file diff --git a/Doc/html/general__spi_8h__dep__incl.png b/Doc/html/general__spi_8h__dep__incl.png index 8bbc97a..92a63c7 100644 Binary files a/Doc/html/general__spi_8h__dep__incl.png and b/Doc/html/general__spi_8h__dep__incl.png differ diff --git a/Doc/html/general__spi_8h__incl.map b/Doc/html/general__spi_8h__incl.map index 3212273..7899738 100644 --- a/Doc/html/general__spi_8h__incl.map +++ b/Doc/html/general__spi_8h__incl.map @@ -1,9 +1,9 @@ - - - - - - - - + + + + + + + + diff --git a/Doc/html/general__spi_8h__incl.md5 b/Doc/html/general__spi_8h__incl.md5 index 1d36217..4835835 100644 --- a/Doc/html/general__spi_8h__incl.md5 +++ b/Doc/html/general__spi_8h__incl.md5 @@ -1 +1 @@ -e0af89a349938fa4f2a316fa222eee4c \ No newline at end of file +213a09e6961a8140466f45197dec0d04 \ No newline at end of file diff --git a/Doc/html/general__spi_8h__incl.png b/Doc/html/general__spi_8h__incl.png index 7deb629..f79fbf8 100644 Binary files a/Doc/html/general__spi_8h__incl.png and b/Doc/html/general__spi_8h__incl.png differ diff --git a/Doc/html/general__spi_8h_source.html b/Doc/html/general__spi_8h_source.html index 862f814..6371d3b 100644 --- a/Doc/html/general__spi_8h_source.html +++ b/Doc/html/general__spi_8h_source.html @@ -5,7 +5,7 @@ -MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/Inc/general_spi.h Source File +MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/STM32_General/Inc/general_spi.h Source File @@ -297,7 +297,7 @@ $(function(){initNavTree('general__spi_8h_source.html','',''); }); diff --git a/Doc/html/general__tim_8c.html b/Doc/html/general__tim_8c.html index bc889a7..2ef52ed 100644 --- a/Doc/html/general__tim_8c.html +++ b/Doc/html/general__tim_8c.html @@ -5,7 +5,7 @@ -MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/Src/general_tim.c File Reference +MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/STM32_General/Src/general_tim.c File Reference @@ -108,20 +108,20 @@ $(function(){initNavTree('general__tim_8c.html','',''); });
@@ -174,7 +174,7 @@ Functions diff --git a/Doc/html/general__tim_8c__incl.map b/Doc/html/general__tim_8c__incl.map index 1096c09..e83abba 100644 --- a/Doc/html/general__tim_8c__incl.map +++ b/Doc/html/general__tim_8c__incl.map @@ -1,14 +1,14 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + diff --git a/Doc/html/general__tim_8c__incl.md5 b/Doc/html/general__tim_8c__incl.md5 index b3c8500..5340347 100644 --- a/Doc/html/general__tim_8c__incl.md5 +++ b/Doc/html/general__tim_8c__incl.md5 @@ -1 +1 @@ -b9386d564e6b4fd6c35f93b0536b2339 \ No newline at end of file +adcb5705b981f835d5bb5ebef2b2957e \ No newline at end of file diff --git a/Doc/html/general__tim_8c__incl.png b/Doc/html/general__tim_8c__incl.png index 616abfe..e6a9305 100644 Binary files a/Doc/html/general__tim_8c__incl.png and b/Doc/html/general__tim_8c__incl.png differ diff --git a/Doc/html/general__tim_8c_source.html b/Doc/html/general__tim_8c_source.html index 9efe1e5..192191d 100644 --- a/Doc/html/general__tim_8c_source.html +++ b/Doc/html/general__tim_8c_source.html @@ -5,7 +5,7 @@ -MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/Src/general_tim.c Source File +MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/STM32_General/Src/general_tim.c Source File @@ -891,7 +891,7 @@ $(function(){initNavTree('general__tim_8c_source.html','',''); }); diff --git a/Doc/html/general__tim_8h.html b/Doc/html/general__tim_8h.html index eb1d4bc..7d2c85a 100644 --- a/Doc/html/general__tim_8h.html +++ b/Doc/html/general__tim_8h.html @@ -5,7 +5,7 @@ -MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/Inc/general_tim.h File Reference +MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/STM32_General/Inc/general_tim.h File Reference @@ -109,31 +109,29 @@ $(function(){initNavTree('general__tim_8h.html','',''); });
This graph shows which files directly or indirectly include this file:
@@ -274,7 +272,7 @@ Functions diff --git a/Doc/html/general__tim_8h__dep__incl.map b/Doc/html/general__tim_8h__dep__incl.map index e76bc39..84adee9 100644 --- a/Doc/html/general__tim_8h__dep__incl.map +++ b/Doc/html/general__tim_8h__dep__incl.map @@ -1,7 +1,5 @@ - - - - - - + + + + diff --git a/Doc/html/general__tim_8h__dep__incl.md5 b/Doc/html/general__tim_8h__dep__incl.md5 index abe2711..8904165 100644 --- a/Doc/html/general__tim_8h__dep__incl.md5 +++ b/Doc/html/general__tim_8h__dep__incl.md5 @@ -1 +1 @@ -44714191f83fa51a72cbc1377ffdbdff \ No newline at end of file +8802313afe910e242feaa8190128829f \ No newline at end of file diff --git a/Doc/html/general__tim_8h__dep__incl.png b/Doc/html/general__tim_8h__dep__incl.png index c7c1671..b6cf84e 100644 Binary files a/Doc/html/general__tim_8h__dep__incl.png and b/Doc/html/general__tim_8h__dep__incl.png differ diff --git a/Doc/html/general__tim_8h__incl.map b/Doc/html/general__tim_8h__incl.map index ee3bd57..389feb9 100644 --- a/Doc/html/general__tim_8h__incl.map +++ b/Doc/html/general__tim_8h__incl.map @@ -1,12 +1,12 @@ - - - - - - - - - - - + + + + + + + + + + + diff --git a/Doc/html/general__tim_8h__incl.md5 b/Doc/html/general__tim_8h__incl.md5 index c5ffabb..36709ff 100644 --- a/Doc/html/general__tim_8h__incl.md5 +++ b/Doc/html/general__tim_8h__incl.md5 @@ -1 +1 @@ -8d2ac3de78aaeedbad6de045ad16b161 \ No newline at end of file +ae2c66b7d004eaa522ecfa16e35c3dc6 \ No newline at end of file diff --git a/Doc/html/general__tim_8h__incl.png b/Doc/html/general__tim_8h__incl.png index ac28d97..90e478a 100644 Binary files a/Doc/html/general__tim_8h__incl.png and b/Doc/html/general__tim_8h__incl.png differ diff --git a/Doc/html/general__tim_8h_source.html b/Doc/html/general__tim_8h_source.html index d716fed..e269d44 100644 --- a/Doc/html/general__tim_8h_source.html +++ b/Doc/html/general__tim_8h_source.html @@ -5,7 +5,7 @@ -MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/Inc/general_tim.h Source File +MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/STM32_General/Inc/general_tim.h Source File @@ -461,7 +461,7 @@ $(function(){initNavTree('general__tim_8h_source.html','',''); }); diff --git a/Doc/html/general__uart_8c.html b/Doc/html/general__uart_8c.html index fed8a13..5d34ff8 100644 --- a/Doc/html/general__uart_8c.html +++ b/Doc/html/general__uart_8c.html @@ -5,7 +5,7 @@ -MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/Src/general_uart.c File Reference +MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/STM32_General/Src/general_uart.c File Reference @@ -109,9 +109,9 @@ $(function(){initNavTree('general__uart_8c.html','',''); });
This graph shows which files directly or indirectly include this file:
@@ -183,7 +183,7 @@ Functions diff --git a/Doc/html/general__uart_8h__dep__incl.map b/Doc/html/general__uart_8h__dep__incl.map index 3fc50f2..018bede 100644 --- a/Doc/html/general__uart_8h__dep__incl.map +++ b/Doc/html/general__uart_8h__dep__incl.map @@ -1,5 +1,5 @@ - - - - + + + + diff --git a/Doc/html/general__uart_8h__dep__incl.md5 b/Doc/html/general__uart_8h__dep__incl.md5 index 72c181c..6db4c7d 100644 --- a/Doc/html/general__uart_8h__dep__incl.md5 +++ b/Doc/html/general__uart_8h__dep__incl.md5 @@ -1 +1 @@ -ee757a0889d23a9f20e9362475bd6f5a \ No newline at end of file +6bb50d26e5b3283573c6c05b2d6234bd \ No newline at end of file diff --git a/Doc/html/general__uart_8h__dep__incl.png b/Doc/html/general__uart_8h__dep__incl.png index 7259788..9824e4d 100644 Binary files a/Doc/html/general__uart_8h__dep__incl.png and b/Doc/html/general__uart_8h__dep__incl.png differ diff --git a/Doc/html/general__uart_8h__incl.map b/Doc/html/general__uart_8h__incl.map index 39e2c3f..132be1a 100644 --- a/Doc/html/general__uart_8h__incl.map +++ b/Doc/html/general__uart_8h__incl.map @@ -1,9 +1,9 @@ - - - - - - - - + + + + + + + + diff --git a/Doc/html/general__uart_8h__incl.md5 b/Doc/html/general__uart_8h__incl.md5 index 00ba33d..0460597 100644 --- a/Doc/html/general__uart_8h__incl.md5 +++ b/Doc/html/general__uart_8h__incl.md5 @@ -1 +1 @@ -26572d8168d54cd9681b4ae6726cb93e \ No newline at end of file +82fa5509209ca330e6fbcd1a22121907 \ No newline at end of file diff --git a/Doc/html/general__uart_8h__incl.png b/Doc/html/general__uart_8h__incl.png index 121f85e..1590198 100644 Binary files a/Doc/html/general__uart_8h__incl.png and b/Doc/html/general__uart_8h__incl.png differ diff --git a/Doc/html/general__uart_8h_source.html b/Doc/html/general__uart_8h_source.html index 144eb8a..bc91a20 100644 --- a/Doc/html/general__uart_8h_source.html +++ b/Doc/html/general__uart_8h_source.html @@ -5,7 +5,7 @@ -MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/Inc/general_uart.h Source File +MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/STM32_General/Inc/general_uart.h Source File @@ -278,7 +278,7 @@ $(function(){initNavTree('general__uart_8h_source.html','',''); }); diff --git a/Doc/html/globals.html b/Doc/html/globals.html index 772cd86..e327839 100644 --- a/Doc/html/globals.html +++ b/Doc/html/globals.html @@ -190,7 +190,7 @@ $(function(){initNavTree('globals.html','',''); });
  • LED_OFF : general_gpio.h
  • LED_ON : general_gpio.h
  • LED_PWM_TICKS : general_gpio.h
  • -
  • local_time : mylibs_config.h
  • +
  • local_time : mylibs_config.h, general_gpio.h
  • LOG_LEVEL : mylibs_config.h
  • log_printf : trace.h
  • diff --git a/Doc/html/globals_defs.html b/Doc/html/globals_defs.html index 0d6f81e..e5c1fac 100644 --- a/Doc/html/globals_defs.html +++ b/Doc/html/globals_defs.html @@ -171,7 +171,7 @@ $(function(){initNavTree('globals_defs.html','',''); });
  • LED_OFF : general_gpio.h
  • LED_ON : general_gpio.h
  • LED_PWM_TICKS : general_gpio.h
  • -
  • local_time : mylibs_config.h
  • +
  • local_time : mylibs_config.h, general_gpio.h
  • LOG_LEVEL : mylibs_config.h
  • log_printf : trace.h
  • diff --git a/Doc/html/group___g_p_i_o___i_n_i_t.html b/Doc/html/group___g_p_i_o___i_n_i_t.html index 51ad3d1..d45aa4c 100644 --- a/Doc/html/group___g_p_i_o___i_n_i_t.html +++ b/Doc/html/group___g_p_i_o___i_n_i_t.html @@ -116,6 +116,8 @@ $(function(){initNavTree('group___g_p_i_o___i_n_i_t.html','',''); });

    Macros

    #define local_time()
     Локальное время
    #define LED_PWM_TICKS   15
     Количество тиков в периоде ШИМ
    #define LED_ON   1
    + + @@ -130,6 +132,28 @@ Macros

    Detailed Description

    Настройка состояний кнопок и количества тиков в периоде ШИМ

    Macro Definition Documentation

    + +

    ◆ local_time

    + +
    +
    +

    Macros

    #define local_time()
     Локальное время
    #define LED_PWM_TICKS   15
     Количество тиков в периоде ШИМ
    #define LED_ON   1
    + + + + + + +
    #define local_time()
    +
    +Value:
    HAL_GetTick()
    +
    +

    Локальное время

    + +

    Definition at line 31 of file general_gpio.h.

    + +
    +

    ◆ LED_PWM_TICKS

    diff --git a/Doc/html/group___g_p_i_o___i_n_i_t.js b/Doc/html/group___g_p_i_o___i_n_i_t.js index 97248d0..ca0a456 100644 --- a/Doc/html/group___g_p_i_o___i_n_i_t.js +++ b/Doc/html/group___g_p_i_o___i_n_i_t.js @@ -1,5 +1,6 @@ var group___g_p_i_o___i_n_i_t = [ + [ "local_time", "group___g_p_i_o___i_n_i_t.html#ga9c853b02c22f26023c34d1d404b6d653", null ], [ "LED_PWM_TICKS", "group___g_p_i_o___i_n_i_t.html#ga1d42e219765ec526d99e306638ac0023", null ], [ "LED_ON", "group___g_p_i_o___i_n_i_t.html#gaf2e697ac60e05813d45ea2c9c9e79c25", null ], [ "LED_OFF", "group___g_p_i_o___i_n_i_t.html#ga80700bb63bd56ebabbb4728aa433fd29", null ], diff --git a/Doc/html/group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l.html b/Doc/html/group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l.html deleted file mode 100644 index b3953b2..0000000 --- a/Doc/html/group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l.html +++ /dev/null @@ -1,273 +0,0 @@ - - - - - - - -MyLibs: General tools - - - - - - - - - - - - - - - - - -
    -
    - - - - - - -
    -
    MyLibs 1.0 -
    -
    Расширенные библиотеки для STM32
    -
    -
    - - - - - - - - -
    -
    - -
    -
    -
    - -
    -
    - -
    -
    - - -
    -
    -
    -
    -
    -
    Loading...
    -
    Searching...
    -
    No Matches
    -
    -
    -
    -
    - -
    -
    General tools
    -
    -
    - -

    Функции для базовой инициализации UART. -More...

    -
    Collaboration diagram for General tools:
    -
    -
    - - - - - -

    -Topics

     Init defines
     Настройка UART.
    - - - -

    -Classes

    struct  UART_SettingsTypeDef
     Структура настроек UART. More...
    - - - - - - - - - -

    -Functions

    HAL_StatusTypeDef UART_Base_Init (UART_SettingsTypeDef *suart)
     Инициализация UART с помощью структуры UART_SettingsTypeDef.
    HAL_StatusTypeDef Check_UART_Init_Struct (UART_SettingsTypeDef *suart)
     Проверка корректности структуры инициализации UART.
    void UART_MspInit (UART_HandleTypeDef *huart)
     Настройка тактирования и прерываний UART.
    void UART_MspDeInit (UART_HandleTypeDef *huart)
     Deinitialize UART & DMA clock and interrupt.
    -

    Detailed Description

    -

    Функции для базовой инициализации UART.

    -

    Function Documentation

    - -

    ◆ UART_Base_Init()

    - -
    -
    - - - - - - - -
    HAL_StatusTypeDef UART_Base_Init (UART_SettingsTypeDef * suart)
    -
    - -

    Инициализация UART с помощью структуры UART_SettingsTypeDef.

    -
    Parameters
    - - -
    suartУказатель на структуру с настройками UART.
    -
    -
    -
    Returns
    HAL status.
    -


    - Инициализирует UART и при необходимости его GPIO и DMA.

    - -

    Definition at line 24 of file general_uart.c.

    - -
    -
    - -

    ◆ Check_UART_Init_Struct()

    - -
    -
    - - - - - - - -
    HAL_StatusTypeDef Check_UART_Init_Struct (UART_SettingsTypeDef * suart)
    -
    - -

    Проверка корректности структуры инициализации UART.

    -
    Parameters
    - - -
    suartУказатель на структуру с настройками UART.
    -
    -
    -
    Returns
    HAL status.
    - -

    Definition at line 356 of file general_uart.c.

    - -
    -
    - -

    ◆ UART_MspInit()

    - -
    -
    - - - - - - - -
    void UART_MspInit (UART_HandleTypeDef * huart)
    -
    - -

    Настройка тактирования и прерываний UART.

    -
    Parameters
    - - -
    huartУказатель на хендл UART.
    -
    -
    -
    Note
    Чтобы не генерировать функцию с иницилизацией неиспользуемых UART, дефайнами Init defines в general_uart.h определяются используемые UART.
    - -

    Definition at line 138 of file general_uart.c.

    - -
    -
    - -

    ◆ UART_MspDeInit()

    - -
    -
    - - - - - - - -
    void UART_MspDeInit (UART_HandleTypeDef * huart)
    -
    - -

    Deinitialize UART & DMA clock and interrupt.

    -
    Parameters
    - - -
    huart- указатель на хендл UART для деинициализации.
    -
    -
    -
    Note
    Чтобы не генерировать функцию с деиницилизацией неиспользуемых UART, дефайнами Init defines в general_uart.h определяются используемые UART.
    - -

    Definition at line 259 of file general_uart.c.

    - -
    -
    -
    -
    - -
    - - - - diff --git a/Doc/html/group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l.js b/Doc/html/group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l.js deleted file mode 100644 index 05466b3..0000000 --- a/Doc/html/group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l.js +++ /dev/null @@ -1,16 +0,0 @@ -var group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l = -[ - [ "Init defines", "group___u_a_r_t___i_n_i_t.html", "group___u_a_r_t___i_n_i_t" ], - [ "UART_SettingsTypeDef", "struct_u_a_r_t___settings_type_def.html", [ - [ "huart", "struct_u_a_r_t___settings_type_def.html#accf2c9448a3ea8eb3b8c25a569276fea", null ], - [ "GPIOx", "struct_u_a_r_t___settings_type_def.html#af6f9910d065bae715cdb4a1024143a8f", null ], - [ "GPIO_PIN_RX", "struct_u_a_r_t___settings_type_def.html#a3fba2b52788fe453348b5d92ed52ba49", null ], - [ "GPIO_PIN_TX", "struct_u_a_r_t___settings_type_def.html#a5f1babfcfb436cd77f5614253c0a5bef", null ], - [ "DMAChannel", "struct_u_a_r_t___settings_type_def.html#a1ecc9ac6a1d2747ade56770cbab6a613", null ], - [ "DMA_CHANNEL_X", "struct_u_a_r_t___settings_type_def.html#a15ce92b03f7f189bfbe1ab88a5f94d19", null ] - ] ], - [ "UART_Base_Init", "group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l.html#gab9f07396b778505c934143e89953e154", null ], - [ "Check_UART_Init_Struct", "group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l.html#gac9c27133622dfaf1f43683f4edf0ff65", null ], - [ "UART_MspInit", "group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l.html#gab9313fd2f9fc6873ca6bfbc5b96edbbb", null ], - [ "UART_MspDeInit", "group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l.html#ga93ed6ceef4e3b5e7885786125cce93bc", null ] -]; \ No newline at end of file diff --git a/Doc/html/group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l.map b/Doc/html/group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l.map deleted file mode 100644 index 7cd0297..0000000 --- a/Doc/html/group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/Doc/html/group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l.md5 b/Doc/html/group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l.md5 deleted file mode 100644 index 7716970..0000000 --- a/Doc/html/group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l.md5 +++ /dev/null @@ -1 +0,0 @@ -e6d1f13a7d892bfe12b1137f7c4b33fa \ No newline at end of file diff --git a/Doc/html/group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l.png b/Doc/html/group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l.png deleted file mode 100644 index 35db670..0000000 Binary files a/Doc/html/group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l.png and /dev/null differ diff --git a/Doc/html/index.html b/Doc/html/index.html index bea1476..4155f67 100644 --- a/Doc/html/index.html +++ b/Doc/html/index.html @@ -103,6 +103,9 @@ $(function(){initNavTree('index.html','',''); });

    Обзор

    MyLibs - это набор библиотек для удобной работы с STM32.

    +

    +Актуальная версия +

    Основные возможности

    @@ -148,23 +151,36 @@ $(function(){initNavTree('index.html','',''); });

    Структура проекта

    -
    ├── inc/ # Заголовочные файлы
    -
    │ ├── mylibs_include.h # Главный include файл
    -
    │ ├── mylibs_config.h # Конфигурация библиотек
    -
    │ ├── mylibs_defs.h # Общие определения и макросы
    -
    │ ├── bit_access.h # Битовый доступ к регистрам
    -
    │ ├── evolve_optimizer.h # Оптимизатор (генетический алгоритм)
    -
    │ ├── trackers.h # Трекеры для отладки
    -
    │ ├── trace.h # Трассировка и логирование
    -
    │ ├── general_gpio.h # Работа с GPIO
    -
    ├── general_spi.h # Работа с SPI
    -
    │ └── general_tim.h # Работа с таймерами
    -
    ├── general_uart.h # Работа с UART
    -
    └── src/ # Исходные файлы
    -
    ├── general_gpio.c # Реализация GPIO
    -
    ├── general_spi.c # Реализация SPI
    -
    └── general_tim.c # Реализация TIM
    -
    ├── general_uart.c # Реализация UART
    +
    ProjectRoot/
    +
    ├── MyLibs/ # Общие библиотеки, независимые от платформы (или почти)
    +
    │ ├── inc/
    +
    │ │ ├── mylibs_include.h # Главный include файл
    +
    │ │ ├── mylibs_config.h # Конфигурация библиотек
    +
    │ │ ├── mylibs_defs.h # Общие определения и макросы
    +
    │ │ ├── bit_access.h # Битовый доступ к регистрам
    +
    │ │ ├── evolve_optimizer.h # Оптимизатор (генетический алгоритм)
    +
    │ │ ├── trackers.h # Трекеры для отладки
    +
    │ │ └── trace.h # Трассировка и логирование
    +
    │ └── src/
    +
    +
    ├──RTT # Библиотека RTT
    +
    │ ├── __SEGGER_RTT_Conf.h # Конфигурационный файл RTT
    +
    │ ├── SEGGER_RTT.c # Основной модуль RTT
    +
    │ ├── SEGGER_RTT.h # Основной заголовок RTT
    +
    │ ├── SEGGER_RTT_ASM_ARMv7M.S # Ассемблерная оптимизация для ARMv7M
    +
    │ └── SEGGER_RTT_printf.c # Реализация printf() через RTT
    +
    +
    └── STM32_General # Работа с периферией STM32
    +
    ├── inc/
    +
    │ ├── general_gpio.h # Работа с GPIO
    +
    │ ├── general_spi.h # Работа с SPI
    +
    │ ├── general_tim.h # Работа с таймерами
    +
    │ └── general_uart.h # Работа с UART
    +
    └── src/
    +
    ├── general_gpio.c # Реализация GPIO
    +
    ├── general_spi.c # Реализация SPI
    +
    ├── general_tim.c # Реализация TIM
    +
    └── general_uart.c # Реализация UART

    Использование

    Инструкция по подключению:

    diff --git a/Doc/html/mainpage_8h_source.html b/Doc/html/mainpage_8h_source.html index 67363ab..489de5b 100644 --- a/Doc/html/mainpage_8h_source.html +++ b/Doc/html/mainpage_8h_source.html @@ -5,7 +5,7 @@ -MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/mainpage.h Source File +MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/mainpage.h Source File @@ -97,90 +97,110 @@ $(function(){initNavTree('mainpage_8h_source.html','',''); });
    -
    mainpage.h
    +
    E:/.WORK/STM32/STM32_ExtendedLibs/mainpage.h
    -
    1
    -
    2/**
    -
    3@mainpage
    -
    4
    +
    1/**
    +
    2@mainpage
    +
    3
    +
    4
    5@section overview Обзор
    6MyLibs - это набор библиотек для удобной работы с STM32.
    7
    -
    8@subsection features Основные возможности
    -
    9
    -
    10@subsubsection utils_module Общие утилиты (@ref MYLIBS_DEFINES)
    -
    11- Макросы для задержек и утилит (@ref DELAYS_DEFINES и @ref UTILS_DEFINES)
    -
    12- Трекеры для статистики и отладки (@ref TRACKERS и @ref TRACE)
    -
    13- Эволюционный алгоритм для оптимизации параметров (@ref EVOLVE_OPTIMIZER)
    -
    14- Битовый доступ к регистрам через union (@ref BIT_ACCESS_DEFINES)
    -
    15
    -
    16@subsubsection trace_module Трассировка @ref TRACE
    -
    17- Serial трассировка через SWO и RTT (@ref TRACE_SERIAL)
    -
    18- GPIO трассировка для отладки (@ref TRACE_GPIO)
    -
    19- Сохранение логов в Flash память (@ref TRACE_RTT_FLASH)
    -
    20- Обработка HardFault с сохранением контекста (@ref TRACE_HARDFAULT)
    -
    21
    -
    22@subsubsection gpio_module Модуль GPIO @ref MY_LIBS_GPIO
    -
    23- Инициализация портов и тактирования (@ref MYLIBS_GPIO_GENERAL)
    -
    24- Управление светодиодами (включение/выключение, моргание, плавное затухание) (@ref MYLIBS_GPIO_LEDS)
    -
    25- Работа с кнопками (чтение состояния, фильтрация дребезга) (@ref MYLIBS_GPIO_SWITCH)
    -
    26
    -
    27@subsubsection tim_module Модуль таймеров @ref MY_LIBS_TIM
    -
    28- Базовая инициализация таймеров (@ref MYLIBS_TIM_GENERAL)
    -
    29- Формирование задержек (блокирующие и неблокирующие) (@ref MYLIBS_TIM_DELAY)
    -
    30- Работа с энкодерами (чтение положения, обработка кнопок) (@ref MYLIBS_TIM_ENCODER)
    -
    31- Настройка ШИМ и Output Compare (@ref MYLIBS_TIM_OC)
    -
    32
    -
    33@subsubsection uart_module Модуль UART @ref MY_LIBS_UART
    -
    34- Базовая инициализация UART и его пинов одной функцией (@ref UART_Base_Init)
    -
    35
    -
    36@subsubsection spi_module Модуль SPI @ref MY_LIBS_SPI
    -
    37- Базовая инициализация SPI и пинов одной функцией (@ref SPI_Base_Init)
    -
    38
    -
    39@subsection structure Структура проекта
    -
    40
    -
    41@code
    -
    42├── inc/ # Заголовочные файлы
    -
    43│ ├── mylibs_include.h # Главный include файл
    -
    44│ ├── mylibs_config.h # Конфигурация библиотек
    -
    45│ ├── mylibs_defs.h # Общие определения и макросы
    -
    46│ ├── bit_access.h # Битовый доступ к регистрам
    -
    47│ ├── evolve_optimizer.h # Оптимизатор (генетический алгоритм)
    -
    48│ ├── trackers.h # Трекеры для отладки
    -
    49│ ├── trace.h # Трассировка и логирование
    -
    50│ ├── general_gpio.h # Работа с GPIO
    -
    51 ├── general_spi.h # Работа с SPI
    -
    52│ └── general_tim.h # Работа с таймерами
    -
    53 ├── general_uart.h # Работа с UART
    -
    54└── src/ # Исходные файлы
    -
    55 ├── general_gpio.c # Реализация GPIO
    -
    56 ├── general_spi.c # Реализация SPI
    -
    57 └── general_tim.c # Реализация TIM
    -
    58 ├── general_uart.c # Реализация UART
    -
    59@endcode
    -
    60
    -
    61@subsection usage_basic Использование
    -
    62
    -
    63Инструкция по подключению:
    -
    64
    -
    651. Настройте конфигурацию @ref MYLIBS_CONFIG в @ref mylibs_config.h
    -
    66
    -
    672. Подключите главный заголовочный файл:
    -
    68@code
    -
    69#include "mylibs_include.h"
    -
    70@endcode
    -
    71
    -
    723. Используйте нужные модули в своем коде. Примеры использования приведены в соответствующей теме
    -
    73
    -
    74 */
    +
    8\htmlonly
    +
    9<a href="https://git.arktika.cyou/Razvalyaev/STM32_ExtendedLibs/src/branch/release">Актуальная версия</a>
    +
    10\endhtmlonly
    +
    11
    +
    12@subsection features Основные возможности
    +
    13
    +
    14@subsubsection utils_module Общие утилиты (@ref MYLIBS_DEFINES)
    +
    15- Макросы для задержек и утилит (@ref DELAYS_DEFINES и @ref UTILS_DEFINES)
    +
    16- Трекеры для статистики и отладки (@ref TRACKERS и @ref TRACE)
    +
    17- Эволюционный алгоритм для оптимизации параметров (@ref EVOLVE_OPTIMIZER)
    +
    18- Битовый доступ к регистрам через union (@ref BIT_ACCESS_DEFINES)
    +
    19
    +
    20@subsubsection trace_module Трассировка @ref TRACE
    +
    21- Serial трассировка через SWO и RTT (@ref TRACE_SERIAL)
    +
    22- GPIO трассировка для отладки (@ref TRACE_GPIO)
    +
    23- Сохранение логов в Flash память (@ref TRACE_RTT_FLASH)
    +
    24- Обработка HardFault с сохранением контекста (@ref TRACE_HARDFAULT)
    +
    25
    +
    26@subsubsection gpio_module Модуль GPIO @ref MY_LIBS_GPIO
    +
    27- Инициализация портов и тактирования (@ref MYLIBS_GPIO_GENERAL)
    +
    28- Управление светодиодами (включение/выключение, моргание, плавное затухание) (@ref MYLIBS_GPIO_LEDS)
    +
    29- Работа с кнопками (чтение состояния, фильтрация дребезга) (@ref MYLIBS_GPIO_SWITCH)
    +
    30
    +
    31@subsubsection tim_module Модуль таймеров @ref MY_LIBS_TIM
    +
    32- Базовая инициализация таймеров (@ref MYLIBS_TIM_GENERAL)
    +
    33- Формирование задержек (блокирующие и неблокирующие) (@ref MYLIBS_TIM_DELAY)
    +
    34- Работа с энкодерами (чтение положения, обработка кнопок) (@ref MYLIBS_TIM_ENCODER)
    +
    35- Настройка ШИМ и Output Compare (@ref MYLIBS_TIM_OC)
    +
    36
    +
    37@subsubsection uart_module Модуль UART @ref MY_LIBS_UART
    +
    38- Базовая инициализация UART и его пинов одной функцией (@ref UART_Base_Init)
    +
    39
    +
    40@subsubsection spi_module Модуль SPI @ref MY_LIBS_SPI
    +
    41- Базовая инициализация SPI и пинов одной функцией (@ref SPI_Base_Init)
    +
    42
    +
    43@subsection structure Структура проекта
    +
    44
    +
    45@code
    +
    46ProjectRoot/
    +
    47├── MyLibs/ # Общие библиотеки, независимые от платформы (или почти)
    +
    48│ ├── inc/
    +
    49│ │ ├── mylibs_include.h # Главный include файл
    +
    50│ │ ├── mylibs_config.h # Конфигурация библиотек
    +
    51│ │ ├── mylibs_defs.h # Общие определения и макросы
    +
    52│ │ ├── bit_access.h # Битовый доступ к регистрам
    +
    53│ │ ├── evolve_optimizer.h # Оптимизатор (генетический алгоритм)
    +
    54│ │ ├── trackers.h # Трекеры для отладки
    +
    55│ │ └── trace.h # Трассировка и логирование
    +
    56│ └── src/
    +
    57
    +
    58├──RTT # Библиотека RTT
    +
    59│ ├── __SEGGER_RTT_Conf.h # Конфигурационный файл RTT
    +
    60│ ├── SEGGER_RTT.c # Основной модуль RTT
    +
    61│ ├── SEGGER_RTT.h # Основной заголовок RTT
    +
    62│ ├── SEGGER_RTT_ASM_ARMv7M.S # Ассемблерная оптимизация для ARMv7M
    +
    63│ └── SEGGER_RTT_printf.c # Реализация printf() через RTT
    +
    64
    +
    65└── STM32_General # Работа с периферией STM32
    +
    66 ├── inc/
    +
    67 │ ├── general_gpio.h # Работа с GPIO
    +
    68 │ ├── general_spi.h # Работа с SPI
    +
    69 │ ├── general_tim.h # Работа с таймерами
    +
    70 │ └── general_uart.h # Работа с UART
    +
    71 └── src/
    +
    72 ├── general_gpio.c # Реализация GPIO
    +
    73 ├── general_spi.c # Реализация SPI
    +
    74 ├── general_tim.c # Реализация TIM
    +
    75 └── general_uart.c # Реализация UART
    +
    76@endcode
    +
    77
    +
    78
    +
    79
    +
    80
    +
    81@subsection usage_basic Использование
    +
    82
    +
    83Инструкция по подключению:
    +
    84
    +
    851. Настройте конфигурацию @ref MYLIBS_CONFIG в @ref mylibs_config.h
    +
    86
    +
    872. Подключите главный заголовочный файл:
    +
    88@code
    +
    89#include "mylibs_include.h"
    +
    90@endcode
    +
    91
    +
    923. Используйте нужные модули в своем коде. Примеры использования приведены в соответствующей теме
    +
    93
    +
    94*/
    diff --git a/Doc/html/minus.svg b/Doc/html/minus.svg deleted file mode 100644 index f70d0c1..0000000 --- a/Doc/html/minus.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/Doc/html/minusd.svg b/Doc/html/minusd.svg deleted file mode 100644 index 5f8e879..0000000 --- a/Doc/html/minusd.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/Doc/html/mylibs__config_8h.html b/Doc/html/mylibs__config_8h.html index c0e7444..cceab33 100644 --- a/Doc/html/mylibs__config_8h.html +++ b/Doc/html/mylibs__config_8h.html @@ -5,7 +5,7 @@ -MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/Inc/mylibs_config.h File Reference +MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibs/Inc/mylibs_config.h File Reference @@ -108,62 +108,61 @@ $(function(){initNavTree('mylibs__config_8h.html','',''); });
    This graph shows which files directly or indirectly include this file:
    @@ -241,7 +240,7 @@ Macros diff --git a/Doc/html/mylibs__config_8h__dep__incl.map b/Doc/html/mylibs__config_8h__dep__incl.map index 614dd43..1d4324b 100644 --- a/Doc/html/mylibs__config_8h__dep__incl.map +++ b/Doc/html/mylibs__config_8h__dep__incl.map @@ -1,45 +1,44 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Doc/html/mylibs__config_8h__dep__incl.md5 b/Doc/html/mylibs__config_8h__dep__incl.md5 index 6fc3081..2bf2c87 100644 --- a/Doc/html/mylibs__config_8h__dep__incl.md5 +++ b/Doc/html/mylibs__config_8h__dep__incl.md5 @@ -1 +1 @@ -8d5bfdadc4587edbd964391d4cdcd645 \ No newline at end of file +5684ae5794e6a9fd93ea5670cfcc39cf \ No newline at end of file diff --git a/Doc/html/mylibs__config_8h__dep__incl.png b/Doc/html/mylibs__config_8h__dep__incl.png index 4ec6cdd..eb504b4 100644 Binary files a/Doc/html/mylibs__config_8h__dep__incl.png and b/Doc/html/mylibs__config_8h__dep__incl.png differ diff --git a/Doc/html/mylibs__config_8h__incl.map b/Doc/html/mylibs__config_8h__incl.map index a83cb29..12ec093 100644 --- a/Doc/html/mylibs__config_8h__incl.map +++ b/Doc/html/mylibs__config_8h__incl.map @@ -1,5 +1,5 @@ - - - - + + + + diff --git a/Doc/html/mylibs__config_8h__incl.md5 b/Doc/html/mylibs__config_8h__incl.md5 index f136b91..64436a1 100644 --- a/Doc/html/mylibs__config_8h__incl.md5 +++ b/Doc/html/mylibs__config_8h__incl.md5 @@ -1 +1 @@ -fb457d2826e0abaa227e1adc840edd68 \ No newline at end of file +3b483905491b70f9181b98bcf03c66f5 \ No newline at end of file diff --git a/Doc/html/mylibs__config_8h__incl.png b/Doc/html/mylibs__config_8h__incl.png index 9c49be9..725c7fb 100644 Binary files a/Doc/html/mylibs__config_8h__incl.png and b/Doc/html/mylibs__config_8h__incl.png differ diff --git a/Doc/html/mylibs__config_8h_source.html b/Doc/html/mylibs__config_8h_source.html index 325193d..e4296be 100644 --- a/Doc/html/mylibs__config_8h_source.html +++ b/Doc/html/mylibs__config_8h_source.html @@ -5,7 +5,7 @@ -MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/Inc/mylibs_config.h Source File +MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibs/Inc/mylibs_config.h Source File @@ -202,7 +202,7 @@ $(function(){initNavTree('mylibs__config_8h_source.html','',''); }); diff --git a/Doc/html/mylibs__defs_8h.html b/Doc/html/mylibs__defs_8h.html index 44f1469..45402d5 100644 --- a/Doc/html/mylibs__defs_8h.html +++ b/Doc/html/mylibs__defs_8h.html @@ -5,7 +5,7 @@ -MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/Inc/mylibs_defs.h File Reference +MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibs/Inc/mylibs_defs.h File Reference @@ -108,62 +108,61 @@ $(function(){initNavTree('mylibs__defs_8h.html','',''); });
    This graph shows which files directly or indirectly include this file:
    @@ -222,7 +221,7 @@ void Error_Handler (vo diff --git a/Doc/html/mylibs__defs_8h__dep__incl.map b/Doc/html/mylibs__defs_8h__dep__incl.map index ce26d5a..07ec6b0 100644 --- a/Doc/html/mylibs__defs_8h__dep__incl.map +++ b/Doc/html/mylibs__defs_8h__dep__incl.map @@ -1,43 +1,42 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Doc/html/mylibs__defs_8h__dep__incl.md5 b/Doc/html/mylibs__defs_8h__dep__incl.md5 index f9d40e4..751fc98 100644 --- a/Doc/html/mylibs__defs_8h__dep__incl.md5 +++ b/Doc/html/mylibs__defs_8h__dep__incl.md5 @@ -1 +1 @@ -ffd75cfd03af0339ae80d27ad27b99ee \ No newline at end of file +9c1097cc7666ffa0cae2ac5bbe1fbab9 \ No newline at end of file diff --git a/Doc/html/mylibs__defs_8h__dep__incl.png b/Doc/html/mylibs__defs_8h__dep__incl.png index c8452b8..5fae33f 100644 Binary files a/Doc/html/mylibs__defs_8h__dep__incl.png and b/Doc/html/mylibs__defs_8h__dep__incl.png differ diff --git a/Doc/html/mylibs__defs_8h__incl.map b/Doc/html/mylibs__defs_8h__incl.map index 3999afd..c155425 100644 --- a/Doc/html/mylibs__defs_8h__incl.map +++ b/Doc/html/mylibs__defs_8h__incl.map @@ -1,7 +1,7 @@ - - - - - - + + + + + + diff --git a/Doc/html/mylibs__defs_8h__incl.md5 b/Doc/html/mylibs__defs_8h__incl.md5 index 9f55d02..9bb77a8 100644 --- a/Doc/html/mylibs__defs_8h__incl.md5 +++ b/Doc/html/mylibs__defs_8h__incl.md5 @@ -1 +1 @@ -b9276a0f630657b77b3f0cee41c5de21 \ No newline at end of file +3a51314a907fe511867519c1d9e934bd \ No newline at end of file diff --git a/Doc/html/mylibs__defs_8h__incl.png b/Doc/html/mylibs__defs_8h__incl.png index 4b2f864..bf20d2d 100644 Binary files a/Doc/html/mylibs__defs_8h__incl.png and b/Doc/html/mylibs__defs_8h__incl.png differ diff --git a/Doc/html/mylibs__defs_8h_source.html b/Doc/html/mylibs__defs_8h_source.html index fc3c67c..5c4e9a8 100644 --- a/Doc/html/mylibs__defs_8h_source.html +++ b/Doc/html/mylibs__defs_8h_source.html @@ -5,7 +5,7 @@ -MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/Inc/mylibs_defs.h Source File +MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibs/Inc/mylibs_defs.h Source File @@ -313,7 +313,7 @@ $(function(){initNavTree('mylibs__defs_8h_source.html','',''); }); diff --git a/Doc/html/mylibs__include_8h.html b/Doc/html/mylibs__include_8h.html index 1ca6082..bf4d850 100644 --- a/Doc/html/mylibs__include_8h.html +++ b/Doc/html/mylibs__include_8h.html @@ -5,7 +5,7 @@ -MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/Inc/mylibs_include.h File Reference +MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibs/Inc/mylibs_include.h File Reference @@ -111,52 +111,47 @@ $(function(){initNavTree('mylibs__include_8h.html','',''); }); #include "evolve_optimizer.h"
    #include "__general_flash.h"
    #include "general_gpio.h"
    -#include "general_tim.h"
    Include dependency graph for mylibs_include.h:
    @@ -179,7 +174,7 @@ $(function(){initNavTree('mylibs__include_8h.html','',''); }); diff --git a/Doc/html/mylibs__include_8h__incl.map b/Doc/html/mylibs__include_8h__incl.map index a466c9e..5e244f9 100644 --- a/Doc/html/mylibs__include_8h__incl.map +++ b/Doc/html/mylibs__include_8h__incl.map @@ -1,41 +1,37 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Doc/html/mylibs__include_8h__incl.md5 b/Doc/html/mylibs__include_8h__incl.md5 index b5a412b..9409983 100644 --- a/Doc/html/mylibs__include_8h__incl.md5 +++ b/Doc/html/mylibs__include_8h__incl.md5 @@ -1 +1 @@ -8e2530f35d180e53745360e22f4da2e4 \ No newline at end of file +af25a11761fc6d3531ecbff4e1cdce60 \ No newline at end of file diff --git a/Doc/html/mylibs__include_8h__incl.png b/Doc/html/mylibs__include_8h__incl.png index e935326..1075bc6 100644 Binary files a/Doc/html/mylibs__include_8h__incl.png and b/Doc/html/mylibs__include_8h__incl.png differ diff --git a/Doc/html/mylibs__include_8h_source.html b/Doc/html/mylibs__include_8h_source.html index 4a8e2ca..898ae7b 100644 --- a/Doc/html/mylibs__include_8h_source.html +++ b/Doc/html/mylibs__include_8h_source.html @@ -5,7 +5,7 @@ -MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/Inc/mylibs_include.h Source File +MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibs/Inc/mylibs_include.h Source File @@ -241,7 +241,7 @@ $(function(){initNavTree('mylibs__include_8h_source.html','',''); }); diff --git a/Doc/html/nav_f.png b/Doc/html/nav_f.png deleted file mode 100644 index 72a58a5..0000000 Binary files a/Doc/html/nav_f.png and /dev/null differ diff --git a/Doc/html/nav_fd.png b/Doc/html/nav_fd.png deleted file mode 100644 index 032fbdd..0000000 Binary files a/Doc/html/nav_fd.png and /dev/null differ diff --git a/Doc/html/nav_g.png b/Doc/html/nav_g.png deleted file mode 100644 index 2093a23..0000000 Binary files a/Doc/html/nav_g.png and /dev/null differ diff --git a/Doc/html/nav_h.png b/Doc/html/nav_h.png deleted file mode 100644 index 33389b1..0000000 Binary files a/Doc/html/nav_h.png and /dev/null differ diff --git a/Doc/html/nav_hd.png b/Doc/html/nav_hd.png deleted file mode 100644 index de80f18..0000000 Binary files a/Doc/html/nav_hd.png and /dev/null differ diff --git a/Doc/html/navtreedata.js b/Doc/html/navtreedata.js index a65bea9..b8175d6 100644 --- a/Doc/html/navtreedata.js +++ b/Doc/html/navtreedata.js @@ -62,7 +62,7 @@ var NAVTREE = var NAVTREEINDEX = [ "____general__flash_8c_source.html", -"struct_evolve_optimizer__t.html#a74b81df1c298c99162310f3f7d91735a" +"struct_evolve_optimizer__t.html#a0ae0e63ba351335d4445d927991c64ae" ]; var SYNCONMSG = 'click to disable panel synchronization'; diff --git a/Doc/html/navtreeindex0.js b/Doc/html/navtreeindex0.js index ccfbfcc..8854031 100644 --- a/Doc/html/navtreeindex0.js +++ b/Doc/html/navtreeindex0.js @@ -1,38 +1,40 @@ var NAVTREEINDEX0 = { -"____general__flash_8c_source.html":[3,0,0,1,0], -"____general__flash_8h_source.html":[3,0,0,0,0], +"____general__flash_8c_source.html":[3,0,1,1,0], +"____general__flash_8h_source.html":[3,0,1,0,0], "annotated.html":[2,0], -"bit__access_8h.html":[3,0,0,0,1], -"bit__access_8h_source.html":[3,0,0,0,1], +"bit__access_8h.html":[3,0,0,0,0], +"bit__access_8h_source.html":[3,0,0,0,0], "classes.html":[2,1], -"dir_9c80311a018e1f8cfb6659b73d634be4.html":[3,0,0,1], -"dir_9e11e9a41112194af3eee6cc728f9515.html":[3,0,0], -"dir_eb423fea8a9c4b9b32b922020ec391e1.html":[3,0,0,0], -"evolve__optimizer_8h.html":[3,0,0,0,2], -"evolve__optimizer_8h_source.html":[3,0,0,0,2], +"dir_2cad7b5fa94233a09111fd73c6202518.html":[3,0,1,0], +"dir_3d5e348fed410a00f9c665596ca3b887.html":[3,0,1,1], +"dir_57feeba75fefbd1a9c832b76e3bce520.html":[3,0,1], +"dir_8eb68c124db7670c3cb56141b10519ea.html":[3,0,0,0], +"dir_d4b2573a0c19afb61452cc3d00967af1.html":[3,0,0], +"evolve__optimizer_8h.html":[3,0,0,0,1], +"evolve__optimizer_8h_source.html":[3,0,0,0,1], "files.html":[3,0], "functions.html":[2,2,0], "functions_vars.html":[2,2,1], -"general__gpio_8c.html":[3,0,0,1,1], -"general__gpio_8c_source.html":[3,0,0,1,1], -"general__gpio_8h.html":[3,0,0,0,3], -"general__gpio_8h_source.html":[3,0,0,0,3], -"general__spi_8c.html":[3,0,0,1,2], -"general__spi_8c.html#ae80d21e5cab86571709a2619442733b5":[3,0,0,1,2,1], -"general__spi_8c_source.html":[3,0,0,1,2], -"general__spi_8h.html":[3,0,0,0,4], -"general__spi_8h_source.html":[3,0,0,0,4], -"general__tim_8c.html":[3,0,0,1,3], -"general__tim_8c_source.html":[3,0,0,1,3], -"general__tim_8h.html":[3,0,0,0,5], -"general__tim_8h_source.html":[3,0,0,0,5], -"general__uart_8c.html":[3,0,0,1,4], -"general__uart_8c.html#a3abae05bbde5f3b402bf18ca13dc6a0b":[3,0,0,1,4,1], -"general__uart_8c.html#ad82d0cbd19151675135fd75dad315d05":[3,0,0,1,4,2], -"general__uart_8c_source.html":[3,0,0,1,4], -"general__uart_8h.html":[3,0,0,0,6], -"general__uart_8h_source.html":[3,0,0,0,6], +"general__gpio_8c.html":[3,0,1,1,1], +"general__gpio_8c_source.html":[3,0,1,1,1], +"general__gpio_8h.html":[3,0,1,0,1], +"general__gpio_8h_source.html":[3,0,1,0,1], +"general__spi_8c.html":[3,0,1,1,2], +"general__spi_8c.html#ae80d21e5cab86571709a2619442733b5":[3,0,1,1,2,1], +"general__spi_8c_source.html":[3,0,1,1,2], +"general__spi_8h.html":[3,0,1,0,2], +"general__spi_8h_source.html":[3,0,1,0,2], +"general__tim_8c.html":[3,0,1,1,3], +"general__tim_8c_source.html":[3,0,1,1,3], +"general__tim_8h.html":[3,0,1,0,3], +"general__tim_8h_source.html":[3,0,1,0,3], +"general__uart_8c.html":[3,0,1,1,4], +"general__uart_8c.html#a3abae05bbde5f3b402bf18ca13dc6a0b":[3,0,1,1,4,1], +"general__uart_8c.html#ad82d0cbd19151675135fd75dad315d05":[3,0,1,1,4,2], +"general__uart_8c_source.html":[3,0,1,1,4], +"general__uart_8h.html":[3,0,1,0,4], +"general__uart_8h_source.html":[3,0,1,0,4], "globals.html":[3,1,0], "globals_defs.html":[3,1,4], "globals_enum.html":[3,1,2], @@ -68,11 +70,12 @@ var NAVTREEINDEX0 = "group___e_v_o_l_v_e___o_p_t_i_m_i_z_e_r.html#gaa1d5510fe5f0bd989473f3ebe324bde3":[1,0,1,1,2], "group___e_v_o_l_v_e___o_p_t_i_m_i_z_e_r.html#gaef44a1f3298514569cc2b396a92101ef":[1,0,1,1,7], "group___g_p_i_o___i_n_i_t.html":[1,0,2,0,0,0], -"group___g_p_i_o___i_n_i_t.html#ga19d9e3aced311179a2914e0c9b13d0f9":[1,0,2,0,0,0,3], -"group___g_p_i_o___i_n_i_t.html#ga1d42e219765ec526d99e306638ac0023":[1,0,2,0,0,0,0], -"group___g_p_i_o___i_n_i_t.html#ga80700bb63bd56ebabbb4728aa433fd29":[1,0,2,0,0,0,2], -"group___g_p_i_o___i_n_i_t.html#gacd8900c9ec0efde1da3253b718574067":[1,0,2,0,0,0,4], -"group___g_p_i_o___i_n_i_t.html#gaf2e697ac60e05813d45ea2c9c9e79c25":[1,0,2,0,0,0,1], +"group___g_p_i_o___i_n_i_t.html#ga19d9e3aced311179a2914e0c9b13d0f9":[1,0,2,0,0,0,4], +"group___g_p_i_o___i_n_i_t.html#ga1d42e219765ec526d99e306638ac0023":[1,0,2,0,0,0,1], +"group___g_p_i_o___i_n_i_t.html#ga80700bb63bd56ebabbb4728aa433fd29":[1,0,2,0,0,0,3], +"group___g_p_i_o___i_n_i_t.html#ga9c853b02c22f26023c34d1d404b6d653":[1,0,2,0,0,0,0], +"group___g_p_i_o___i_n_i_t.html#gacd8900c9ec0efde1da3253b718574067":[1,0,2,0,0,0,5], +"group___g_p_i_o___i_n_i_t.html#gaf2e697ac60e05813d45ea2c9c9e79c25":[1,0,2,0,0,0,2], "group___l_i_b_s___c_o_n_f_i_g.html":[1,0,0,2], "group___l_i_b_s___c_o_n_f_i_g.html#ga0a3ca94b616997069dd53e2c6c2687d7":[1,0,0,2,4], "group___l_i_b_s___c_o_n_f_i_g.html#ga181a46326e46b60afb160190832c7281":[1,0,0,2,5], @@ -238,16 +241,13 @@ var NAVTREEINDEX0 = "index.html#uart_module":[0,0,4], "index.html#usage_basic":[0,2], "index.html#utils_module":[0,0,0], -"mainpage_8h_source.html":[3,0,0,2], -"mylibs__config_8h.html":[3,0,0,0,7], -"mylibs__config_8h_source.html":[3,0,0,0,7], -"mylibs__defs_8h.html":[3,0,0,0,8], -"mylibs__defs_8h_source.html":[3,0,0,0,8], -"mylibs__include_8h.html":[3,0,0,0,9], -"mylibs__include_8h_source.html":[3,0,0,0,9], +"mainpage_8h_source.html":[3,0,2], +"mylibs__config_8h.html":[3,0,0,0,2], +"mylibs__config_8h_source.html":[3,0,0,0,2], +"mylibs__defs_8h.html":[3,0,0,0,3], +"mylibs__defs_8h_source.html":[3,0,0,0,3], +"mylibs__include_8h.html":[3,0,0,0,4], +"mylibs__include_8h_source.html":[3,0,0,0,4], "pages.html":[], -"struct_evolve_optimizer__t.html":[1,0,1,1,0], -"struct_evolve_optimizer__t.html#a0ae0e63ba351335d4445d927991c64ae":[1,0,1,1,0,5], -"struct_evolve_optimizer__t.html#a1c270fce82e0c97e6c88fd0971c1eed8":[1,0,1,1,0,1], -"struct_evolve_optimizer__t.html#a3be8c0c34db8429210ff470497a56727":[1,0,1,1,0,7] +"struct_evolve_optimizer__t.html":[1,0,1,1,0] }; diff --git a/Doc/html/navtreeindex1.js b/Doc/html/navtreeindex1.js index c6bdd85..be8ca82 100644 --- a/Doc/html/navtreeindex1.js +++ b/Doc/html/navtreeindex1.js @@ -1,5 +1,8 @@ var NAVTREEINDEX1 = { +"struct_evolve_optimizer__t.html#a0ae0e63ba351335d4445d927991c64ae":[1,0,1,1,0,5], +"struct_evolve_optimizer__t.html#a1c270fce82e0c97e6c88fd0971c1eed8":[1,0,1,1,0,1], +"struct_evolve_optimizer__t.html#a3be8c0c34db8429210ff470497a56727":[1,0,1,1,0,7], "struct_evolve_optimizer__t.html#a74b81df1c298c99162310f3f7d91735a":[1,0,1,1,0,10], "struct_evolve_optimizer__t.html#a80eb0b8525b6bb838484f5922b9d8f7c":[1,0,1,1,0,0], "struct_evolve_optimizer__t.html#a93f628397c2f8d4027f2906752b650df":[1,0,1,1,0,8], @@ -75,10 +78,10 @@ var NAVTREEINDEX1 = "struct_u_a_r_t___settings_type_def.html#accf2c9448a3ea8eb3b8c25a569276fea":[1,0,2,3,1,0], "struct_u_a_r_t___settings_type_def.html#af6f9910d065bae715cdb4a1024143a8f":[1,0,2,3,1,1], "topics.html":[1], -"trace_8h.html":[3,0,0,0,10], -"trace_8h_source.html":[3,0,0,0,10], -"trackers_8h.html":[3,0,0,0,11], -"trackers_8h_source.html":[3,0,0,0,11], +"trace_8h.html":[3,0,0,0,5], +"trace_8h_source.html":[3,0,0,0,5], +"trackers_8h.html":[3,0,0,0,6], +"trackers_8h_source.html":[3,0,0,0,6], "unionuint16___bit_type_def.html":[1,0,1,0,1], "unionuint32___bit_type_def.html":[1,0,1,0,2], "unionuint64___bit_type_def.html":[1,0,1,0,3], diff --git a/Doc/html/open.png b/Doc/html/open.png deleted file mode 100644 index 30f75c7..0000000 Binary files a/Doc/html/open.png and /dev/null differ diff --git a/Doc/html/plus.svg b/Doc/html/plus.svg deleted file mode 100644 index 0752016..0000000 --- a/Doc/html/plus.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/Doc/html/plusd.svg b/Doc/html/plusd.svg deleted file mode 100644 index 0c65bfe..0000000 --- a/Doc/html/plusd.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/Doc/html/resize.js b/Doc/html/resize.js deleted file mode 100644 index 6ad2ae8..0000000 --- a/Doc/html/resize.js +++ /dev/null @@ -1,109 +0,0 @@ -/* - @licstart The following is the entire license notice for the JavaScript code in this file. - - The MIT License (MIT) - - Copyright (C) 1997-2020 by Dimitri van Heesch - - Permission is hereby granted, free of charge, to any person obtaining a copy of this software - and associated documentation files (the "Software"), to deal in the Software without restriction, - including without limitation the rights to use, copy, modify, merge, publish, distribute, - sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all copies or - substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING - BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, - DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - @licend The above is the entire license notice for the JavaScript code in this file - */ - -function initResizable() { - let sidenav,navtree,content,header,footer,barWidth=6; - const RESIZE_COOKIE_NAME = ''+'width'; - - function resizeWidth() { - const sidenavWidth = $(sidenav).outerWidth(); - content.css({marginLeft:parseInt(sidenavWidth)+"px"}); - if (typeof page_layout!=='undefined' && page_layout==1) { - footer.css({marginLeft:parseInt(sidenavWidth)+"px"}); - } - Cookie.writeSetting(RESIZE_COOKIE_NAME,sidenavWidth-barWidth); - } - - function restoreWidth(navWidth) { - content.css({marginLeft:parseInt(navWidth)+barWidth+"px"}); - if (typeof page_layout!=='undefined' && page_layout==1) { - footer.css({marginLeft:parseInt(navWidth)+barWidth+"px"}); - } - sidenav.css({width:navWidth + "px"}); - } - - function resizeHeight() { - const headerHeight = header.outerHeight(); - const footerHeight = footer.outerHeight(); - const windowHeight = $(window).height(); - let contentHeight,navtreeHeight,sideNavHeight; - if (typeof page_layout==='undefined' || page_layout==0) { /* DISABLE_INDEX=NO */ - contentHeight = windowHeight - headerHeight - footerHeight; - navtreeHeight = contentHeight; - sideNavHeight = contentHeight; - } else if (page_layout==1) { /* DISABLE_INDEX=YES */ - contentHeight = windowHeight - footerHeight; - navtreeHeight = windowHeight - headerHeight; - sideNavHeight = windowHeight; - } - content.css({height:contentHeight + "px"}); - navtree.css({height:navtreeHeight + "px"}); - sidenav.css({height:sideNavHeight + "px"}); - if (location.hash.slice(1)) { - (document.getElementById(location.hash.slice(1))||document.body).scrollIntoView(); - } - } - - function collapseExpand() { - let newWidth; - if (sidenav.width()>0) { - newWidth=0; - } else { - const width = Cookie.readSetting(RESIZE_COOKIE_NAME,250); - newWidth = (width>250 && width<$(window).width()) ? width : 250; - } - restoreWidth(newWidth); - const sidenavWidth = $(sidenav).outerWidth(); - Cookie.writeSetting(RESIZE_COOKIE_NAME,sidenavWidth-barWidth); - } - - header = $("#top"); - sidenav = $("#side-nav"); - content = $("#doc-content"); - navtree = $("#nav-tree"); - footer = $("#nav-path"); - $(".side-nav-resizable").resizable({resize: () => resizeWidth() }); - $(sidenav).resizable({ minWidth: 0 }); - $(window).resize(() => resizeHeight()); - const device = navigator.userAgent.toLowerCase(); - const touch_device = device.match(/(iphone|ipod|ipad|android)/); - if (touch_device) { /* wider split bar for touch only devices */ - $(sidenav).css({ paddingRight:'20px' }); - $('.ui-resizable-e').css({ width:'20px' }); - $('#nav-sync').css({ right:'34px' }); - barWidth=20; - } - const width = Cookie.readSetting(RESIZE_COOKIE_NAME,250); - if (width) { restoreWidth(width); } else { resizeWidth(); } - resizeHeight(); - const url = location.href; - const i=url.indexOf("#"); - if (i>=0) window.location.hash=url.substr(i); - const _preventDefault = (evt) => evt.preventDefault(); - $("#splitbar").bind("dragstart", _preventDefault).bind("selectstart", _preventDefault); - $(".ui-resizable-handle").dblclick(collapseExpand); - $(window).on('load',resizeHeight); -} -/* @license-end */ diff --git a/Doc/html/search/all_1a.js b/Doc/html/search/all_1a.js deleted file mode 100644 index fd98780..0000000 --- a/Doc/html/search/all_1a.js +++ /dev/null @@ -1,6 +0,0 @@ -var searchData= -[ - ['таймеров_20ref_20my_5flibs_5ftim_0',['Модуль таймеров @ref MY_LIBS_TIM',['../index.html#tim_module',1,'']]], - ['таймером_1',['Пример работы с таймером',['../index.html#tim_example',1,'']]], - ['трассировка_20ref_20trace_2',['Трассировка @ref TRACE',['../index.html#trace_module',1,'']]] -]; diff --git a/Doc/html/search/all_1b.js b/Doc/html/search/all_1b.js deleted file mode 100644 index 03ba3a5..0000000 --- a/Doc/html/search/all_1b.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['утилиты_20ref_20mylibs_5fdefines_0',['Общие утилиты (@ref MYLIBS_DEFINES)',['../index.html#utils_module',1,'']]] -]; diff --git a/Doc/html/search/all_1c.js b/Doc/html/search/all_1c.js deleted file mode 100644 index f69cabe..0000000 --- a/Doc/html/search/all_1c.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['утилиты_20mylibs_5fdefines_0',['Общие утилиты (<a class="el" href="group___m_y_l_i_b_s___d_e_f_i_n_e_s.html">General Tools</a>)',['../index.html#utils_module',1,'']]] -]; diff --git a/Doc/html/search/all_9.js b/Doc/html/search/all_9.js index 498b83d..8a2f81a 100644 --- a/Doc/html/search/all_9.js +++ b/Doc/html/search/all_9.js @@ -14,7 +14,7 @@ var searchData= ['led_5fpwm_5fticks_11',['LED_PWM_TICKS',['../group___g_p_i_o___i_n_i_t.html#ga1d42e219765ec526d99e306638ac0023',1,'general_gpio.h']]], ['libraries_20configs_12',['Libraries configs',['../group___l_i_b_s___c_o_n_f_i_g.html',1,'']]], ['libs_13',['My Libs',['../group___m_y_l_i_b_s___a_l_l.html',1,'']]], - ['local_5ftime_14',['local_time',['../group___l_i_b_s___c_o_n_f_i_g.html#ga9c853b02c22f26023c34d1d404b6d653',1,'mylibs_config.h']]], + ['local_5ftime_14',['local_time',['../group___l_i_b_s___c_o_n_f_i_g.html#ga9c853b02c22f26023c34d1d404b6d653',1,'local_time: mylibs_config.h'],['../group___g_p_i_o___i_n_i_t.html#ga9c853b02c22f26023c34d1d404b6d653',1,'local_time: general_gpio.h']]], ['log_5flevel_15',['LOG_LEVEL',['../group___t_r_a_c_e___c_o_n_f_i_g.html#ga0b87e0d3bf5853bcbb0b66a7c48fdc05',1,'mylibs_config.h']]], ['log_5fprintf_16',['log_printf',['../group___t_r_a_c_e___s_e_r_i_a_l.html#ga730fb7b8d0bbb348dca73c15bd0e0b26',1,'trace.h']]], ['loss_17',['loss',['../struct_evolve_optimizer__t.html#a93f628397c2f8d4027f2906752b650df',1,'EvolveOptimizer_t']]], diff --git a/Doc/html/search/close.svg b/Doc/html/search/close.svg deleted file mode 100644 index 337d6cc..0000000 --- a/Doc/html/search/close.svg +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - diff --git a/Doc/html/search/defines_0.js b/Doc/html/search/defines_0.js deleted file mode 100644 index e5549a9..0000000 --- a/Doc/html/search/defines_0.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['_5f_5fuser_5flinkdma_0',['__USER_LINKDMA',['../general__uart_8h.html#a52d3bb980b28a6804655b6b25f14da46',1,'general_uart.h']]] -]; diff --git a/Doc/html/search/functions_7.js b/Doc/html/search/functions_7.js deleted file mode 100644 index 9d621e7..0000000 --- a/Doc/html/search/functions_7.js +++ /dev/null @@ -1,8 +0,0 @@ -var searchData= -[ - ['uart_5fbase_5finit_0',['UART_Base_Init',['../group___m_y___l_i_b_s___u_a_r_t.html#gab9f07396b778505c934143e89953e154',1,'UART_Base_Init(UART_SettingsTypeDef *suart): general_uart.c'],['../group___m_y___l_i_b_s___u_a_r_t.html#gab9f07396b778505c934143e89953e154',1,'UART_Base_Init(UART_SettingsTypeDef *suart): general_uart.c']]], - ['uart_5fdma_5finit_1',['UART_DMA_Init',['../general__uart_8c.html#ad82d0cbd19151675135fd75dad315d05',1,'general_uart.c']]], - ['uart_5fgpio_5finit_2',['UART_GPIO_Init',['../general__uart_8c.html#a3abae05bbde5f3b402bf18ca13dc6a0b',1,'general_uart.c']]], - ['uart_5fmspdeinit_3',['UART_MspDeInit',['../group___m_y___l_i_b_s___u_a_r_t.html#ga93ed6ceef4e3b5e7885786125cce93bc',1,'UART_MspDeInit(UART_HandleTypeDef *huart): general_uart.c'],['../group___m_y___l_i_b_s___u_a_r_t.html#ga93ed6ceef4e3b5e7885786125cce93bc',1,'UART_MspDeInit(UART_HandleTypeDef *huart): general_uart.c']]], - ['uart_5fmspinit_4',['UART_MspInit',['../group___m_y___l_i_b_s___u_a_r_t.html#gab9313fd2f9fc6873ca6bfbc5b96edbbb',1,'UART_MspInit(UART_HandleTypeDef *huart): general_uart.c'],['../group___m_y___l_i_b_s___u_a_r_t.html#gab9313fd2f9fc6873ca6bfbc5b96edbbb',1,'UART_MspInit(UART_HandleTypeDef *huart): general_uart.c']]] -]; diff --git a/Doc/html/search/mag.svg b/Doc/html/search/mag.svg deleted file mode 100644 index ffb6cf0..0000000 --- a/Doc/html/search/mag.svg +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - diff --git a/Doc/html/search/mag_d.svg b/Doc/html/search/mag_d.svg deleted file mode 100644 index 4122773..0000000 --- a/Doc/html/search/mag_d.svg +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - diff --git a/Doc/html/search/mag_sel.svg b/Doc/html/search/mag_sel.svg deleted file mode 100644 index 553dba8..0000000 --- a/Doc/html/search/mag_sel.svg +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - diff --git a/Doc/html/search/mag_seld.svg b/Doc/html/search/mag_seld.svg deleted file mode 100644 index c906f84..0000000 --- a/Doc/html/search/mag_seld.svg +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - diff --git a/Doc/html/splitbar.png b/Doc/html/splitbar.png deleted file mode 100644 index fe895f2..0000000 Binary files a/Doc/html/splitbar.png and /dev/null differ diff --git a/Doc/html/splitbard.png b/Doc/html/splitbard.png deleted file mode 100644 index 8367416..0000000 Binary files a/Doc/html/splitbard.png and /dev/null differ diff --git a/Doc/html/struct_evolve_optimizer__t.html b/Doc/html/struct_evolve_optimizer__t.html index b100ac5..12ac0cd 100644 --- a/Doc/html/struct_evolve_optimizer__t.html +++ b/Doc/html/struct_evolve_optimizer__t.html @@ -335,7 +335,7 @@ Public Attributes
    The documentation for this struct was generated from the following file: diff --git a/Doc/html/struct_g_p_i_o___l_e_d_type_def.html b/Doc/html/struct_g_p_i_o___l_e_d_type_def.html index 2908f1f..6ae8d50 100644 --- a/Doc/html/struct_g_p_i_o___l_e_d_type_def.html +++ b/Doc/html/struct_g_p_i_o___l_e_d_type_def.html @@ -232,7 +232,7 @@ Public Attributes
    The documentation for this struct was generated from the following file: diff --git a/Doc/html/struct_g_p_i_o___switch_type_def.html b/Doc/html/struct_g_p_i_o___switch_type_def.html index 362fcb1..6f13770 100644 --- a/Doc/html/struct_g_p_i_o___switch_type_def.html +++ b/Doc/html/struct_g_p_i_o___switch_type_def.html @@ -232,7 +232,7 @@ Public Attributes
    The documentation for this struct was generated from the following file: diff --git a/Doc/html/struct_h_f___stack_frame__t.html b/Doc/html/struct_h_f___stack_frame__t.html index 7b3739c..b22e526 100644 --- a/Doc/html/struct_h_f___stack_frame__t.html +++ b/Doc/html/struct_h_f___stack_frame__t.html @@ -276,7 +276,7 @@ Public Attributes
    The documentation for this struct was generated from the following file:
      -
    • E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/Inc/trace.h
    • +
    • E:/.WORK/STM32/STM32_ExtendedLibs/MyLibs/Inc/trace.h
    diff --git a/Doc/html/struct_r_t_t___flash_header__t.html b/Doc/html/struct_r_t_t___flash_header__t.html index 5a3cd42..2933e44 100644 --- a/Doc/html/struct_r_t_t___flash_header__t.html +++ b/Doc/html/struct_r_t_t___flash_header__t.html @@ -175,7 +175,7 @@ Public Attributes
    The documentation for this struct was generated from the following file:
      -
    • E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/Inc/trace.h
    • +
    • E:/.WORK/STM32/STM32_ExtendedLibs/MyLibs/Inc/trace.h
    diff --git a/Doc/html/struct_s_p_i___settings_type_def.html b/Doc/html/struct_s_p_i___settings_type_def.html index 7bfb07d..6f31540 100644 --- a/Doc/html/struct_s_p_i___settings_type_def.html +++ b/Doc/html/struct_s_p_i___settings_type_def.html @@ -356,7 +356,7 @@ Public Attributes
    The documentation for this struct was generated from the following file:
      -
    • E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/Inc/general_spi.h
    • +
    • E:/.WORK/STM32/STM32_ExtendedLibs/STM32_General/Inc/general_spi.h
    diff --git a/Doc/html/struct_t_i_m___encoder_type_def.html b/Doc/html/struct_t_i_m___encoder_type_def.html index 564f84b..ca81ba2 100644 --- a/Doc/html/struct_t_i_m___encoder_type_def.html +++ b/Doc/html/struct_t_i_m___encoder_type_def.html @@ -310,7 +310,7 @@ Public Attributes
    The documentation for this struct was generated from the following file:
      -
    • E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/Inc/general_tim.h
    • +
    • E:/.WORK/STM32/STM32_ExtendedLibs/STM32_General/Inc/general_tim.h
    diff --git a/Doc/html/struct_t_i_m___settings_type_def.html b/Doc/html/struct_t_i_m___settings_type_def.html index 175625a..9bf1d2c 100644 --- a/Doc/html/struct_t_i_m___settings_type_def.html +++ b/Doc/html/struct_t_i_m___settings_type_def.html @@ -319,7 +319,7 @@ Public Attributes
    The documentation for this struct was generated from the following file:
      -
    • E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/Inc/general_tim.h
    • +
    • E:/.WORK/STM32/STM32_ExtendedLibs/STM32_General/Inc/general_tim.h
    diff --git a/Doc/html/struct_u_a_r_t___settings_type_def.html b/Doc/html/struct_u_a_r_t___settings_type_def.html index 37b728c..fb9f75e 100644 --- a/Doc/html/struct_u_a_r_t___settings_type_def.html +++ b/Doc/html/struct_u_a_r_t___settings_type_def.html @@ -236,7 +236,7 @@ Public Attributes
    The documentation for this struct was generated from the following file: diff --git a/Doc/html/sync_off.png b/Doc/html/sync_off.png deleted file mode 100644 index 3b443fc..0000000 Binary files a/Doc/html/sync_off.png and /dev/null differ diff --git a/Doc/html/sync_on.png b/Doc/html/sync_on.png deleted file mode 100644 index e08320f..0000000 Binary files a/Doc/html/sync_on.png and /dev/null differ diff --git a/Doc/html/tab_a.png b/Doc/html/tab_a.png deleted file mode 100644 index 3b725c4..0000000 Binary files a/Doc/html/tab_a.png and /dev/null differ diff --git a/Doc/html/tab_ad.png b/Doc/html/tab_ad.png deleted file mode 100644 index e34850a..0000000 Binary files a/Doc/html/tab_ad.png and /dev/null differ diff --git a/Doc/html/tab_b.png b/Doc/html/tab_b.png deleted file mode 100644 index e2b4a86..0000000 Binary files a/Doc/html/tab_b.png and /dev/null differ diff --git a/Doc/html/tab_bd.png b/Doc/html/tab_bd.png deleted file mode 100644 index 91c2524..0000000 Binary files a/Doc/html/tab_bd.png and /dev/null differ diff --git a/Doc/html/tab_h.png b/Doc/html/tab_h.png deleted file mode 100644 index fd5cb70..0000000 Binary files a/Doc/html/tab_h.png and /dev/null differ diff --git a/Doc/html/tab_hd.png b/Doc/html/tab_hd.png deleted file mode 100644 index 2489273..0000000 Binary files a/Doc/html/tab_hd.png and /dev/null differ diff --git a/Doc/html/tab_s.png b/Doc/html/tab_s.png deleted file mode 100644 index ab478c9..0000000 Binary files a/Doc/html/tab_s.png and /dev/null differ diff --git a/Doc/html/tab_sd.png b/Doc/html/tab_sd.png deleted file mode 100644 index 757a565..0000000 Binary files a/Doc/html/tab_sd.png and /dev/null differ diff --git a/Doc/html/trace_8h.html b/Doc/html/trace_8h.html index 65e6345..b8f5a47 100644 --- a/Doc/html/trace_8h.html +++ b/Doc/html/trace_8h.html @@ -5,7 +5,7 @@ -MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/Inc/trace.h File Reference +MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibs/Inc/trace.h File Reference @@ -110,9 +110,9 @@ $(function(){initNavTree('trace_8h.html','',''); });
    @@ -189,7 +189,7 @@ Functions diff --git a/Doc/html/trace_8h__dep__incl.map b/Doc/html/trace_8h__dep__incl.map index 77208d6..6b80f95 100644 --- a/Doc/html/trace_8h__dep__incl.map +++ b/Doc/html/trace_8h__dep__incl.map @@ -1,5 +1,5 @@ - - - - + + + + diff --git a/Doc/html/trace_8h__dep__incl.md5 b/Doc/html/trace_8h__dep__incl.md5 index 92c640d..6f819df 100644 --- a/Doc/html/trace_8h__dep__incl.md5 +++ b/Doc/html/trace_8h__dep__incl.md5 @@ -1 +1 @@ -6db45c82fbfd5a7b1d1cecc0d0fad259 \ No newline at end of file +c5d3b4cfb2b711fb3b29507669fb1db5 \ No newline at end of file diff --git a/Doc/html/trace_8h__dep__incl.png b/Doc/html/trace_8h__dep__incl.png index 085fac8..ae61f35 100644 Binary files a/Doc/html/trace_8h__dep__incl.png and b/Doc/html/trace_8h__dep__incl.png differ diff --git a/Doc/html/trace_8h__incl.map b/Doc/html/trace_8h__incl.map index ccf5247..b88f3d6 100644 --- a/Doc/html/trace_8h__incl.map +++ b/Doc/html/trace_8h__incl.map @@ -1,5 +1,5 @@ - - + + diff --git a/Doc/html/trace_8h__incl.md5 b/Doc/html/trace_8h__incl.md5 index ebc32ea..ce424ed 100644 --- a/Doc/html/trace_8h__incl.md5 +++ b/Doc/html/trace_8h__incl.md5 @@ -1 +1 @@ -4051482c4be4cefdf69e8f83da6d912d \ No newline at end of file +ed068a6046f61f40acf42f3d1c63e4f1 \ No newline at end of file diff --git a/Doc/html/trace_8h__incl.png b/Doc/html/trace_8h__incl.png index 8ff10f6..99f913e 100644 Binary files a/Doc/html/trace_8h__incl.png and b/Doc/html/trace_8h__incl.png differ diff --git a/Doc/html/trace_8h_source.html b/Doc/html/trace_8h_source.html index a586d30..f96429e 100644 --- a/Doc/html/trace_8h_source.html +++ b/Doc/html/trace_8h_source.html @@ -5,7 +5,7 @@ -MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/Inc/trace.h Source File +MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibs/Inc/trace.h Source File @@ -743,7 +743,7 @@ $(function(){initNavTree('trace_8h_source.html','',''); }); diff --git a/Doc/html/trackers_8h.html b/Doc/html/trackers_8h.html index ab445ec..2807e35 100644 --- a/Doc/html/trackers_8h.html +++ b/Doc/html/trackers_8h.html @@ -5,7 +5,7 @@ -MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/Inc/trackers.h File Reference +MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibs/Inc/trackers.h File Reference @@ -108,26 +108,26 @@ $(function(){initNavTree('trackers_8h.html','',''); });
    This graph shows which files directly or indirectly include this file:
    @@ -193,7 +193,7 @@ Macros diff --git a/Doc/html/trackers_8h__dep__incl.map b/Doc/html/trackers_8h__dep__incl.map index 1b0fa3d..053a362 100644 --- a/Doc/html/trackers_8h__dep__incl.map +++ b/Doc/html/trackers_8h__dep__incl.map @@ -1,5 +1,5 @@ - - - - + + + + diff --git a/Doc/html/trackers_8h__dep__incl.md5 b/Doc/html/trackers_8h__dep__incl.md5 index 90e66c4..050b8f3 100644 --- a/Doc/html/trackers_8h__dep__incl.md5 +++ b/Doc/html/trackers_8h__dep__incl.md5 @@ -1 +1 @@ -0e606a2ac14f204c2f3eb519136b3d25 \ No newline at end of file +99028f5c43001eb4e51e7c688fd1c620 \ No newline at end of file diff --git a/Doc/html/trackers_8h__dep__incl.png b/Doc/html/trackers_8h__dep__incl.png index 3db1a10..0282cbb 100644 Binary files a/Doc/html/trackers_8h__dep__incl.png and b/Doc/html/trackers_8h__dep__incl.png differ diff --git a/Doc/html/trackers_8h__incl.map b/Doc/html/trackers_8h__incl.map index 3e6b58f..b5edff9 100644 --- a/Doc/html/trackers_8h__incl.map +++ b/Doc/html/trackers_8h__incl.map @@ -1,9 +1,9 @@ - - - - - - - - + + + + + + + + diff --git a/Doc/html/trackers_8h__incl.md5 b/Doc/html/trackers_8h__incl.md5 index b38f593..a4f7cc8 100644 --- a/Doc/html/trackers_8h__incl.md5 +++ b/Doc/html/trackers_8h__incl.md5 @@ -1 +1 @@ -efe05b63911c6edeb90de988b14c85fc \ No newline at end of file +cf1d551546e4ada7a970f07bfd50ffed \ No newline at end of file diff --git a/Doc/html/trackers_8h__incl.png b/Doc/html/trackers_8h__incl.png index c95cf1a..c865976 100644 Binary files a/Doc/html/trackers_8h__incl.png and b/Doc/html/trackers_8h__incl.png differ diff --git a/Doc/html/trackers_8h_source.html b/Doc/html/trackers_8h_source.html index f618be6..73cfb47 100644 --- a/Doc/html/trackers_8h_source.html +++ b/Doc/html/trackers_8h_source.html @@ -5,7 +5,7 @@ -MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/Inc/trackers.h Source File +MyLibs: E:/.WORK/STM32/STM32_ExtendedLibs/MyLibs/Inc/trackers.h Source File @@ -272,7 +272,7 @@ $(function(){initNavTree('trackers_8h_source.html','',''); }); diff --git a/Doc/html/unionuint16___bit_type_def.html b/Doc/html/unionuint16___bit_type_def.html index a6cc4cb..28981df 100644 --- a/Doc/html/unionuint16___bit_type_def.html +++ b/Doc/html/unionuint16___bit_type_def.html @@ -104,25 +104,25 @@ $(function(){initNavTree('unionuint16___bit_type_def.html','','unionuint16___bit

    Public Attributes

    uint16_t all - + struct {  -   unsigned   bit0:1  -   unsigned   bit1:1  -   unsigned   bit2:1  -   unsigned   bit3:1  -   unsigned   bit4:1  -   unsigned   bit5:1  -   unsigned   bit6:1  -   unsigned   bit7:1  -   unsigned   bit8:1  -   unsigned   bit9:1  -   unsigned   bit10:1  -   unsigned   bit11:1  -   unsigned   bit12:1  -   unsigned   bit13:1  -   unsigned   bit14:1  -   unsigned   bit15:1  -} bit +   unsigned   bit0:1  +   unsigned   bit1:1  +   unsigned   bit2:1  +   unsigned   bit3:1  +   unsigned   bit4:1  +   unsigned   bit5:1  +   unsigned   bit6:1  +   unsigned   bit7:1  +   unsigned   bit8:1  +   unsigned   bit9:1  +   unsigned   bit10:1  +   unsigned   bit11:1  +   unsigned   bit12:1  +   unsigned   bit13:1  +   unsigned   bit14:1  +   unsigned   bit15:1  +} bit

    Detailed Description

    @@ -401,7 +401,7 @@ struct { 

    The documentation for this union was generated from the following file:
      -
    • E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/Inc/bit_access.h
    • +
    • E:/.WORK/STM32/STM32_ExtendedLibs/MyLibs/Inc/bit_access.h
    diff --git a/Doc/html/unionuint32___bit_type_def.html b/Doc/html/unionuint32___bit_type_def.html index 05761c6..5ef1c45 100644 --- a/Doc/html/unionuint32___bit_type_def.html +++ b/Doc/html/unionuint32___bit_type_def.html @@ -104,41 +104,41 @@ $(function(){initNavTree('unionuint32___bit_type_def.html','','unionuint32___bit

    Public Attributes

    uint32_t all - + struct {  -   unsigned   bit0:1  -   unsigned   bit1:1  -   unsigned   bit2:1  -   unsigned   bit3:1  -   unsigned   bit4:1  -   unsigned   bit5:1  -   unsigned   bit6:1  -   unsigned   bit7:1  -   unsigned   bit8:1  -   unsigned   bit9:1  -   unsigned   bit10:1  -   unsigned   bit11:1  -   unsigned   bit12:1  -   unsigned   bit13:1  -   unsigned   bit14:1  -   unsigned   bit15:1  -   unsigned   bit16:1  -   unsigned   bit17:1  -   unsigned   bit18:1  -   unsigned   bit19:1  -   unsigned   bit20:1  -   unsigned   bit21:1  -   unsigned   bit22:1  -   unsigned   bit23:1  -   unsigned   bit24:1  -   unsigned   bit25:1  -   unsigned   bit26:1  -   unsigned   bit27:1  -   unsigned   bit28:1  -   unsigned   bit29:1  -   unsigned   bit30:1  -   unsigned   bit31:1  -} bit +   unsigned   bit0:1  +   unsigned   bit1:1  +   unsigned   bit2:1  +   unsigned   bit3:1  +   unsigned   bit4:1  +   unsigned   bit5:1  +   unsigned   bit6:1  +   unsigned   bit7:1  +   unsigned   bit8:1  +   unsigned   bit9:1  +   unsigned   bit10:1  +   unsigned   bit11:1  +   unsigned   bit12:1  +   unsigned   bit13:1  +   unsigned   bit14:1  +   unsigned   bit15:1  +   unsigned   bit16:1  +   unsigned   bit17:1  +   unsigned   bit18:1  +   unsigned   bit19:1  +   unsigned   bit20:1  +   unsigned   bit21:1  +   unsigned   bit22:1  +   unsigned   bit23:1  +   unsigned   bit24:1  +   unsigned   bit25:1  +   unsigned   bit26:1  +   unsigned   bit27:1  +   unsigned   bit28:1  +   unsigned   bit29:1  +   unsigned   bit30:1  +   unsigned   bit31:1  +} bit

    Detailed Description

    @@ -673,7 +673,7 @@ struct { 

    The documentation for this union was generated from the following file:
      -
    • E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/Inc/bit_access.h
    • +
    • E:/.WORK/STM32/STM32_ExtendedLibs/MyLibs/Inc/bit_access.h
    diff --git a/Doc/html/unionuint64___bit_type_def.html b/Doc/html/unionuint64___bit_type_def.html index d9aa7f7..00f2bb5 100644 --- a/Doc/html/unionuint64___bit_type_def.html +++ b/Doc/html/unionuint64___bit_type_def.html @@ -104,73 +104,73 @@ $(function(){initNavTree('unionuint64___bit_type_def.html','','unionuint64___bit

    Public Attributes

    uint64_t all - + struct {  -   unsigned   bit0:1  -   unsigned   bit1:1  -   unsigned   bit2:1  -   unsigned   bit3:1  -   unsigned   bit4:1  -   unsigned   bit5:1  -   unsigned   bit6:1  -   unsigned   bit7:1  -   unsigned   bit8:1  -   unsigned   bit9:1  -   unsigned   bit10:1  -   unsigned   bit11:1  -   unsigned   bit12:1  -   unsigned   bit13:1  -   unsigned   bit14:1  -   unsigned   bit15:1  -   unsigned   bit16:1  -   unsigned   bit17:1  -   unsigned   bit18:1  -   unsigned   bit19:1  -   unsigned   bit20:1  -   unsigned   bit21:1  -   unsigned   bit22:1  -   unsigned   bit23:1  -   unsigned   bit24:1  -   unsigned   bit25:1  -   unsigned   bit26:1  -   unsigned   bit27:1  -   unsigned   bit28:1  -   unsigned   bit29:1  -   unsigned   bit30:1  -   unsigned   bit31:1  -   unsigned   bit32:1  -   unsigned   bit33:1  -   unsigned   bit34:1  -   unsigned   bit35:1  -   unsigned   bit36:1  -   unsigned   bit37:1  -   unsigned   bit38:1  -   unsigned   bit39:1  -   unsigned   bit40:1  -   unsigned   bit41:1  -   unsigned   bit42:1  -   unsigned   bit43:1  -   unsigned   bit44:1  -   unsigned   bit45:1  -   unsigned   bit46:1  -   unsigned   bit47:1  -   unsigned   bit48:1  -   unsigned   bit49:1  -   unsigned   bit50:1  -   unsigned   bit51:1  -   unsigned   bit52:1  -   unsigned   bit53:1  -   unsigned   bit54:1  -   unsigned   bit55:1  -   unsigned   bit56:1  -   unsigned   bit57:1  -   unsigned   bit58:1  -   unsigned   bit59:1  -   unsigned   bit60:1  -   unsigned   bit61:1  -   unsigned   bit62:1  -   unsigned   bit63:1  -} bit +   unsigned   bit0:1  +   unsigned   bit1:1  +   unsigned   bit2:1  +   unsigned   bit3:1  +   unsigned   bit4:1  +   unsigned   bit5:1  +   unsigned   bit6:1  +   unsigned   bit7:1  +   unsigned   bit8:1  +   unsigned   bit9:1  +   unsigned   bit10:1  +   unsigned   bit11:1  +   unsigned   bit12:1  +   unsigned   bit13:1  +   unsigned   bit14:1  +   unsigned   bit15:1  +   unsigned   bit16:1  +   unsigned   bit17:1  +   unsigned   bit18:1  +   unsigned   bit19:1  +   unsigned   bit20:1  +   unsigned   bit21:1  +   unsigned   bit22:1  +   unsigned   bit23:1  +   unsigned   bit24:1  +   unsigned   bit25:1  +   unsigned   bit26:1  +   unsigned   bit27:1  +   unsigned   bit28:1  +   unsigned   bit29:1  +   unsigned   bit30:1  +   unsigned   bit31:1  +   unsigned   bit32:1  +   unsigned   bit33:1  +   unsigned   bit34:1  +   unsigned   bit35:1  +   unsigned   bit36:1  +   unsigned   bit37:1  +   unsigned   bit38:1  +   unsigned   bit39:1  +   unsigned   bit40:1  +   unsigned   bit41:1  +   unsigned   bit42:1  +   unsigned   bit43:1  +   unsigned   bit44:1  +   unsigned   bit45:1  +   unsigned   bit46:1  +   unsigned   bit47:1  +   unsigned   bit48:1  +   unsigned   bit49:1  +   unsigned   bit50:1  +   unsigned   bit51:1  +   unsigned   bit52:1  +   unsigned   bit53:1  +   unsigned   bit54:1  +   unsigned   bit55:1  +   unsigned   bit56:1  +   unsigned   bit57:1  +   unsigned   bit58:1  +   unsigned   bit59:1  +   unsigned   bit60:1  +   unsigned   bit61:1  +   unsigned   bit62:1  +   unsigned   bit63:1  +} bit

    Detailed Description

    @@ -1217,7 +1217,7 @@ struct { 

    The documentation for this union was generated from the following file:
      -
    • E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/Inc/bit_access.h
    • +
    • E:/.WORK/STM32/STM32_ExtendedLibs/MyLibs/Inc/bit_access.h
    diff --git a/Doc/html/unionuint8___bit_type_def.html b/Doc/html/unionuint8___bit_type_def.html index 53a402f..09f0845 100644 --- a/Doc/html/unionuint8___bit_type_def.html +++ b/Doc/html/unionuint8___bit_type_def.html @@ -104,17 +104,17 @@ $(function(){initNavTree('unionuint8___bit_type_def.html','','unionuint8___bit_t

    Public Attributes

    uint8_t all - + struct {  -   unsigned   bit0:1  -   unsigned   bit1:1  -   unsigned   bit2:1  -   unsigned   bit3:1  -   unsigned   bit4:1  -   unsigned   bit5:1  -   unsigned   bit6:1  -   unsigned   bit7:1  -} bit +   unsigned   bit0:1  +   unsigned   bit1:1  +   unsigned   bit2:1  +   unsigned   bit3:1  +   unsigned   bit4:1  +   unsigned   bit5:1  +   unsigned   bit6:1  +   unsigned   bit7:1  +} bit

    Detailed Description

    @@ -265,7 +265,7 @@ struct { 

    The documentation for this union was generated from the following file:
      -
    • E:/.WORK/STM32/STM32_ExtendedLibs/MyLibsGeneral/Inc/bit_access.h
    • +
    • E:/.WORK/STM32/STM32_ExtendedLibs/MyLibs/Inc/bit_access.h
    diff --git a/Doc/latex/____general__flash_8c_source.tex b/Doc/latex/____general__flash_8c_source.tex index f904808..aee4e2c 100644 --- a/Doc/latex/____general__flash_8c_source.tex +++ b/Doc/latex/____general__flash_8c_source.tex @@ -1,5 +1,5 @@ \doxysection{\+\_\+\+\_\+general\+\_\+flash.\+c} -\hypertarget{____general__flash_8c_source}{}\label{____general__flash_8c_source}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Src/\_\_general\_flash.c@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Src/\_\_general\_flash.c}} +\hypertarget{____general__flash_8c_source}{}\label{____general__flash_8c_source}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/STM32\_General/Src/\_\_general\_flash.c@{E:/.WORK/STM32/STM32\_ExtendedLibs/STM32\_General/Src/\_\_general\_flash.c}} \begin{DoxyCode}{0} \DoxyCodeLine{\Hypertarget{____general__flash_8c_source_l00001}00001\ \textcolor{preprocessor}{\#include\ "{}\_\_general\_flash.h"{}}} diff --git a/Doc/latex/____general__flash_8h_source.tex b/Doc/latex/____general__flash_8h_source.tex index 2922838..c7184a2 100644 --- a/Doc/latex/____general__flash_8h_source.tex +++ b/Doc/latex/____general__flash_8h_source.tex @@ -1,5 +1,5 @@ \doxysection{\+\_\+\+\_\+general\+\_\+flash.\+h} -\hypertarget{____general__flash_8h_source}{}\label{____general__flash_8h_source}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/\_\_general\_flash.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/\_\_general\_flash.h}} +\hypertarget{____general__flash_8h_source}{}\label{____general__flash_8h_source}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/STM32\_General/Inc/\_\_general\_flash.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/STM32\_General/Inc/\_\_general\_flash.h}} \begin{DoxyCode}{0} \DoxyCodeLine{\Hypertarget{____general__flash_8h_source_l00001}00001\ \textcolor{comment}{/**************************************************************************}} diff --git a/Doc/latex/____general__spi_8c_source.tex b/Doc/latex/____general__spi_8c_source.tex deleted file mode 100644 index 04c94c0..0000000 --- a/Doc/latex/____general__spi_8c_source.tex +++ /dev/null @@ -1,298 +0,0 @@ -\doxysection{\+\_\+\+\_\+general\+\_\+spi.\+c} -\hypertarget{____general__spi_8c_source}{}\label{____general__spi_8c_source}\index{F:/Work/Projects/STM/.Elementary/STM32\_ExtendedLibs/MyLibsGeneral/Src/\_\_general\_spi.c@{F:/Work/Projects/STM/.Elementary/STM32\_ExtendedLibs/MyLibsGeneral/Src/\_\_general\_spi.c}} - -\begin{DoxyCode}{0} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00001}00001\ \textcolor{comment}{/**\ }} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00002}00002\ \textcolor{comment}{**************************************************************************}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00003}00003\ \textcolor{comment}{*\ @file\ general\_spi.c}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00004}00004\ \textcolor{comment}{*\ @brief\ Модуль\ для\ инициализации\ SPI.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00005}00005\ \textcolor{comment}{**************************************************************************}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00006}00006\ \textcolor{comment}{*\ @details}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00007}00007\ \textcolor{comment}{*}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00008}00008\ \textcolor{comment}{*\ Функции:}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00009}00009\ \textcolor{comment}{*\ \ \ -\/\ SPI\_Base\_Init\ \ \ \ \ \ \ \ \ \ \ \ \ Инициализация\ SPI\ }} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00010}00010\ \textcolor{comment}{*\ }} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00011}00011\ \textcolor{comment}{*\ Functions:\ spi\ initialize}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00012}00012\ \textcolor{comment}{*\ \ \ -\/\ SPI\_GPIO\_Init\ \ \ \ \ \ \ \ \ \ \ \ \ Инициализация\ GPIO\ для\ SPI}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00013}00013\ \textcolor{comment}{*\ \ \ -\/\ SPI\_DMA\_Init\ \ \ \ \ \ \ \ \ \ \ \ \ \ Инициализация\ DMA\ для\ SPI}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00014}00014\ \textcolor{comment}{*\ \ \ -\/\ SPI\_MspInit\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Аналог\ HAL\_MspInit\ для\ SPI}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00015}00015\ \textcolor{comment}{*\ \ \ -\/\ SPI\_MspDeInit\ \ \ \ \ \ \ \ \ \ \ \ \ Аналог\ HAL\_MspDeInit\ для\ SPI}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00016}00016\ \textcolor{comment}{*}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00017}00017\ \textcolor{comment}{*************************************************************************/}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00018}00018\ \textcolor{preprocessor}{\#include\ "{}general\_spi.h"{}}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00019}00019\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{general__gpio_8h}{general\_gpio.h}}"{}}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00020}00020\ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00021}00021\ \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00022}00022\ \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/SPI\ INIT\ FUNCTIONS-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}\textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00023}00023\ \textcolor{comment}{/**\ \ }} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00024}00024\ \textcolor{comment}{\ \ *\ @brief\ \ Initialize\ SPI\ with\ SPI\_SettingsTypeDef\ structure.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00025}00025\ \textcolor{comment}{\ \ *\ @param\ \ sspi\ -\/\ указатель\ на\ структуру\ с\ настройками\ SPI.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00026}00026\ \textcolor{comment}{\ \ *\ @return\ HAL\ status.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00027}00027\ \textcolor{comment}{\ \ *\ @note\ \ \ SPI\_SettingsTypeDef\ структура\ содержит\ хендл\ SPI\ и\ настройки\ перефирии\ (GPIO)}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00028}00028\ \textcolor{comment}{\ \ */}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00029}00029\ HAL\_StatusTypeDef\ SPI\_Base\_Init(\mbox{\hyperlink{struct_s_p_i___settings_type_def}{SPI\_SettingsTypeDef}}\ *sspi)} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00030}00030\ \{\ \textcolor{comment}{//\ function\ takes\ setting\ structure\ for\ init}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00031}00031\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00032}00032\ \ \ \textcolor{comment}{//\ check\ is\ settings\ are\ valid}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00033}00033\ \ \ \textcolor{keywordflow}{if}(Check\_SPI\_Init\_Struct(sspi)\ !=\ HAL\_OK)} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00034}00034\ \ \ \ \ \textcolor{keywordflow}{return}\ HAL\_ERROR;} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00035}00035\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00036}00036\ \ \ SPI\_MspInit(\&sspi-\/>hspi);\ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00037}00037\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00038}00038\ \ \ \textcolor{keywordflow}{if}\ (HAL\_SPI\_Init(\&sspi-\/>hspi)\ !=\ HAL\_OK)} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00039}00039\ \ \ \{} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00040}00040\ \ \ \ \ \mbox{\hyperlink{group___e_r_r_o_r___h_a_n_d_l_e_r___d_e_f_i_n_e_s_gae110df81afd885a390bbeb152d7b709f}{MyLibs\_Error\_Handler}}();} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00041}00041\ \ \ \ \ \textcolor{keywordflow}{return}\ HAL\_ERROR;} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00042}00042\ \ \ \}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00043}00043\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00044}00044\ \ \ \textcolor{comment}{//\ init\ gpio\ from\ SPISettings\ structure}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00045}00045\ \ \ SPI\_GPIO\_Init(sspi);} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00046}00046\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00047}00047\ \textcolor{comment}{//\ \ //\ init\ dma\ from\ SPISettings\ structure\ if\ need}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00048}00048\ \textcolor{comment}{//\ \ if\ (sspi-\/>DMAChannel\ !=\ 0)}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00049}00049\ \textcolor{comment}{//\ \ \ \ SPI\_DMA\_Init(\&sspi-\/>hspi,\ sspi-\/>hspi.hdmarx,\ sspi-\/>DMAChannel,\ sspi-\/>DMA\_CHANNEL\_X);}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00050}00050\ \ \ \ \ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00051}00051\ \ \ \textcolor{keywordflow}{return}\ HAL\_OK;} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00052}00052\ \}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00053}00053\ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00054}00054\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00055}00055\ \textcolor{comment}{/**\ \ }} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00056}00056\ \textcolor{comment}{\ \ *\ @brief\ \ Initialize\ GPIO\ for\ SPI.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00057}00057\ \textcolor{comment}{\ \ *\ @param\ \ GPIOx\ \ \ \ \ \ \ -\/\ порт\ для\ настройки.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00058}00058\ \textcolor{comment}{\ \ *\ @param\ \ GPIO\_PIN\_RX\ -\/\ пин\ для\ настройки\ на\ прием.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00059}00059\ \textcolor{comment}{\ \ *\ @param\ \ GPIO\_PIN\_TX\ -\/\ пин\ для\ настройки\ на\ передачу.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00060}00060\ \textcolor{comment}{\ \ */}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00061}00061\ \textcolor{keywordtype}{void}\ SPI\_GPIO\_Init(\mbox{\hyperlink{struct_s_p_i___settings_type_def}{SPI\_SettingsTypeDef}}\ *sspi)} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00062}00062\ \{\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00063}00063\ \ \ GPIO\_InitTypeDef\ GPIO\_InitStruct\ =\ \{0\};\ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00064}00064\ \ \ \textcolor{comment}{//\ GPIO\ INIT\ \ }} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00065}00065\ \ \ \mbox{\hyperlink{group___m_y_l_i_b_s___g_p_i_o___g_e_n_e_r_a_l_ga962f010f783b81fcdd27eb6b53db28e6}{GPIO\_Clock\_Enable}}(sspi-\/>CLK\_GPIOx);} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00066}00066\ \ \ \mbox{\hyperlink{group___m_y_l_i_b_s___g_p_i_o___g_e_n_e_r_a_l_ga962f010f783b81fcdd27eb6b53db28e6}{GPIO\_Clock\_Enable}}(sspi-\/>MISO\_GPIOx);} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00067}00067\ \ \ \mbox{\hyperlink{group___m_y_l_i_b_s___g_p_i_o___g_e_n_e_r_a_l_ga962f010f783b81fcdd27eb6b53db28e6}{GPIO\_Clock\_Enable}}(sspi-\/>MOSI\_GPIOx);\ \ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00068}00068\ \ \ \ \ \textcolor{comment}{//\ CLK\ PIN\ INIT}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00069}00069\ \ \ GPIO\_InitStruct.Pin\ =\ sspi-\/>CLK\_PIN;} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00070}00070\ \ \ GPIO\_InitStruct.Alternate\ =\ sspi-\/>CLK\_GPIO\_AlternageFunc;} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00071}00071\ \ \ GPIO\_InitStruct.Mode\ =\ GPIO\_MODE\_AF\_PP;} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00072}00072\ \ \ GPIO\_InitStruct.Pull\ =\ GPIO\_NOPULL;} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00073}00073\ \ \ GPIO\_InitStruct.Speed\ =\ GPIO\_SPEED\_FREQ\_VERY\_HIGH;} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00074}00074\ \ \ HAL\_GPIO\_Init(sspi-\/>CLK\_GPIOx,\ \&GPIO\_InitStruct);} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00075}00075\ \ \ \textcolor{comment}{//\ MISO\ PIN\ INIT}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00076}00076\ \ \ GPIO\_InitStruct.Pin\ =\ sspi-\/>MISO\_PIN;} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00077}00077\ \ \ GPIO\_InitStruct.Alternate\ =\ sspi-\/>MISO\_GPIO\_AlternageFunc;} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00078}00078\ \ \ GPIO\_InitStruct.Mode\ =\ GPIO\_MODE\_AF\_PP;} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00079}00079\ \ \ GPIO\_InitStruct.Pull\ =\ GPIO\_NOPULL;} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00080}00080\ \ \ GPIO\_InitStruct.Speed\ =\ GPIO\_SPEED\_FREQ\_VERY\_HIGH;} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00081}00081\ \ \ HAL\_GPIO\_Init(sspi-\/>MISO\_GPIOx,\ \&GPIO\_InitStruct);} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00082}00082\ \ \ \textcolor{comment}{//\ MOSI\ PIN\ INIT}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00083}00083\ \ \ GPIO\_InitStruct.Pin\ =\ sspi-\/>MOSI\_PIN;} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00084}00084\ \ \ GPIO\_InitStruct.Alternate\ =\ sspi-\/>MOSI\_GPIO\_AlternageFunc;} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00085}00085\ \ \ GPIO\_InitStruct.Mode\ =\ GPIO\_MODE\_AF\_PP;} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00086}00086\ \ \ GPIO\_InitStruct.Pull\ =\ GPIO\_NOPULL;} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00087}00087\ \ \ GPIO\_InitStruct.Speed\ =\ GPIO\_SPEED\_FREQ\_VERY\_HIGH;} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00088}00088\ \ \ HAL\_GPIO\_Init(sspi-\/>MOSI\_GPIOx,\ \&GPIO\_InitStruct);} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00089}00089\ \}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00090}00090\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00091}00091\ \textcolor{comment}{/**\ \ }} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00092}00092\ \textcolor{comment}{\ \ *\ @brief\ \ Initialize\ DMA\ for\ SPI.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00093}00093\ \textcolor{comment}{\ \ *\ @param\ \ hspi\ \ \ \ \ \ \ \ -\/\ указатель\ на\ хендл\ SPI\ для\ настройки\ DMA.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00094}00094\ \textcolor{comment}{\ \ *\ @param\ \ hdma\_rx\ \ \ \ \ \ \ -\/\ указатель\ на\ хендл\ DMA\ для\ линии\ приема\ SPI.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00095}00095\ \textcolor{comment}{\ \ *\ @param\ \ DMAChannel\ \ \ \ -\/\ указатель\ на\ канал\ DMA/поток\ DMA\ в\ STM32F407.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00096}00096\ \textcolor{comment}{\ \ *\ @param\ \ DMA\_CHANNEL\_X\ -\/\ канал\ DMA.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00097}00097\ \textcolor{comment}{\ \ */}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00098}00098\ \textcolor{keywordtype}{void}\ SPI\_DMA\_Init(SPI\_HandleTypeDef\ *hspi,\ DMA\_HandleTypeDef\ *hdma\_rx,\ DMA\_Stream\_TypeDef\ *DMAChannel,\ uint32\_t\ DMA\_CHANNEL\_X)} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00099}00099\ \{\ \textcolor{comment}{//\ function\ takes\ spi\ and\ dma\ handlers\ and\ dmachannel\ for\ spi}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00100}00100\ \textcolor{comment}{//\ \ //\ for\ now\ only\ dma\ rx\ is\ supported,\ tx\ maybe\ later\ if\ needed}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00101}00101\ \textcolor{comment}{//\ \ \ \ //\ calc\ defines\ on\ boot\_project\_setup.h}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00102}00102\ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00103}00103\ \textcolor{comment}{//\ \ /*\ SPI3\ DMA\ Init\ */}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00104}00104\ \textcolor{comment}{//\ \ /*\ SPI3\_RX\ Init\ */}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00105}00105\ \textcolor{comment}{//\ \ }} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00106}00106\ \textcolor{comment}{//\ \ hdma\_rx-\/>Instance\ =\ DMAChannel;}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00107}00107\ \textcolor{comment}{//\#if\ defined(STM32F407xx)\ //\ dma\ channel\ choose\ for\ 407}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00108}00108\ \textcolor{comment}{//\ \ hdma\_rx-\/>Init.Channel\ =\ DMA\_CHANNEL\_X;}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00109}00109\ \textcolor{comment}{//\#endif}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00110}00110\ \textcolor{comment}{//\ \ hdma\_rx-\/>Init.Direction\ =\ DMA\_PERIPH\_TO\_MEMORY;}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00111}00111\ \textcolor{comment}{//\ \ hdma\_rx-\/>Init.PeriphInc\ =\ DMA\_PINC\_DISABLE;}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00112}00112\ \textcolor{comment}{//\ \ hdma\_rx-\/>Init.MemInc\ =\ DMA\_MINC\_ENABLE;}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00113}00113\ \textcolor{comment}{//\ \ hdma\_rx-\/>Init.PeriphDataAlignment\ =\ DMA\_PDATAALIGN\_BYTE;}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00114}00114\ \textcolor{comment}{//\ \ hdma\_rx-\/>Init.MemDataAlignment\ =\ DMA\_MDATAALIGN\_BYTE;}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00115}00115\ \textcolor{comment}{//\ \ hdma\_rx-\/>Init.Mode\ =\ DMA\_CIRCULAR;}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00116}00116\ \textcolor{comment}{//\ \ hdma\_rx-\/>Init.Priority\ =\ DMA\_PRIORITY\_LOW;}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00117}00117\ \textcolor{comment}{//\ \ if\ (HAL\_DMA\_Init(hdma\_rx)\ !=\ HAL\_OK)}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00118}00118\ \textcolor{comment}{//\ \ \{}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00119}00119\ \textcolor{comment}{//\ \ \ \ MyLibs\_Error\_Handler();}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00120}00120\ \textcolor{comment}{//\ \ \}}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00121}00121\ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00122}00122\ \textcolor{comment}{//\ \ \_\_USER\_LINKDMA(hspi,hdmarx,hdma\_rx);\ \ }} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00123}00123\ \textcolor{comment}{//\ \ }} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00124}00124\ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00125}00125\ \textcolor{comment}{//\ \ //\ \_\_USER\_LINKDMA\ is\ need\ because\ \_\_HAL\_LINKDMA\ is\ written\ for\ global\ defined\ hdma\_rx}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00126}00126\ \textcolor{comment}{//\ \ //\ so\ you\ get\ error\ because\ hal\ uses\ .\ insted\ of\ -\/>}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00127}00127\ \}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00128}00128\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00129}00129\ \textcolor{comment}{/**\ \ }} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00130}00130\ \textcolor{comment}{\ \ *\ @brief\ \ Initialize\ SPI\ \&\ DMA\ clock\ and\ interrupt.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00131}00131\ \textcolor{comment}{\ \ *\ @param\ \ hspi\ -\/\ указатель\ на\ хендл\ SPI\ для\ инициализации.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00132}00132\ \textcolor{comment}{\ \ *\ @note\ \ \ Чтобы\ не\ генерировать\ функцию\ с\ иницилизацией\ неиспользуемых\ SPI,}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00133}00133\ \textcolor{comment}{\ \ \ \ \ \ \ \ \ \ \ \ дефайнами\ в\ general\_spi.h\ определяются\ используемые\ SPI.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00134}00134\ \textcolor{comment}{\ \ */}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00135}00135\ \textcolor{keywordtype}{void}\ SPI\_MspInit(SPI\_HandleTypeDef\ *hspi)\ \textcolor{comment}{//\ analog\ for\ hal\ function}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00136}00136\ \{\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00137}00137\ \ \ \textcolor{comment}{//\ rcc,\ dma\ and\ interrupt\ init\ for\ SPIs}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00138}00138\ \ \ \textcolor{comment}{//\ GPIO\ init\ was\ moved\ to\ own\ functions\ SPI\_GPIO\_Init\ \ }} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00139}00139\ \ \ \textcolor{keywordflow}{if}(0);} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00140}00140\ \textcolor{preprocessor}{\#ifdef\ USE\_SPI1}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00141}00141\ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}(hspi-\/>Instance==SPI1)} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00142}00142\ \ \ \{} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00143}00143\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00144}00144\ \textcolor{comment}{//\ \ /*\ DMA2\ clock\ enable\ */}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00145}00145\ \textcolor{comment}{//\ \ \_\_HAL\_RCC\_DMA2\_CLK\_ENABLE();}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00146}00146\ \textcolor{comment}{//\ \ /*\ DMA\ interrupt\ init\ */}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00147}00147\ \textcolor{comment}{//\ \ HAL\_NVIC\_SetPriority(DMA2\_Stream2\_IRQn,\ 0,\ 0);}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00148}00148\ \textcolor{comment}{//\ \ HAL\_NVIC\_EnableIRQ(DMA2\_Stream2\_IRQn);}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00149}00149\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00150}00150\ \ \ \textcolor{comment}{/*\ SPI1\ clock\ enable\ */}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00151}00151\ \ \ \_\_HAL\_RCC\_SPI1\_CLK\_ENABLE();} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00152}00152\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00153}00153\ \ \ \textcolor{comment}{/*\ SPI1\ interrupt\ Init\ */}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00154}00154\ \ \ HAL\_NVIC\_SetPriority(SPI1\_IRQn,\ 0,\ 0);} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00155}00155\ \ \ HAL\_NVIC\_EnableIRQ(SPI1\_IRQn);} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00156}00156\ \ \ \}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00157}00157\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ USE\_SPI1}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00158}00158\ \textcolor{preprocessor}{\#ifdef\ USE\_SPI2}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00159}00159\ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}(hspi-\/>Instance==SPI2)} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00160}00160\ \ \ \{} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00161}00161\ \textcolor{comment}{//\ \ /*\ DMA1\ clock\ enable\ */}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00162}00162\ \textcolor{comment}{//\ \ \_\_HAL\_RCC\_DMA1\_CLK\_ENABLE();}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00163}00163\ \textcolor{comment}{//\ \ /*\ DMA\ interrupt\ init\ */}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00164}00164\ \textcolor{comment}{//\ \ HAL\_NVIC\_SetPriority(DMA1\_Stream5\_IRQn,\ 0,\ 0);}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00165}00165\ \textcolor{comment}{//\ \ HAL\_NVIC\_EnableIRQ(DMA1\_Stream5\_IRQn);}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00166}00166\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00167}00167\ \ \ \textcolor{comment}{/*\ SPI2\ clock\ enable\ */}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00168}00168\ \ \ \_\_HAL\_RCC\_SPI2\_CLK\_ENABLE();} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00169}00169\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00170}00170\ \ \ \textcolor{comment}{/*\ SPI2\ interrupt\ Init\ */}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00171}00171\ \ \ HAL\_NVIC\_SetPriority(SPI2\_IRQn,\ 0,\ 0);} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00172}00172\ \ \ HAL\_NVIC\_EnableIRQ(SPI2\_IRQn);} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00173}00173\ \ \ \}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00174}00174\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ USE\_SPI2}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00175}00175\ \textcolor{preprocessor}{\#ifdef\ USE\_SPI3}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00176}00176\ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}(hspi-\/>Instance==SPI3)} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00177}00177\ \ \ \{\ \ \ \ \ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00178}00178\ \textcolor{comment}{//\ \ /*\ DMA1\ clock\ enable\ */}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00179}00179\ \textcolor{comment}{//\ \ \_\_HAL\_RCC\_DMA1\_CLK\_ENABLE();}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00180}00180\ \textcolor{comment}{//\ \ /*\ DMA\ interrupt\ init\ */}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00181}00181\ \textcolor{comment}{//\ \ HAL\_NVIC\_SetPriority(DMA1\_Stream1\_IRQn,\ 0,\ 0);}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00182}00182\ \textcolor{comment}{//\ \ HAL\_NVIC\_EnableIRQ(DMA1\_Stream1\_IRQn);}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00183}00183\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00184}00184\ \ \ \textcolor{comment}{/*\ SPI3\ clock\ enable\ */}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00185}00185\ \ \ \_\_HAL\_RCC\_SPI3\_CLK\_ENABLE();\ \ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00186}00186\ \ \ \textcolor{comment}{/*\ SPI3\ interrupt\ Init\ */}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00187}00187\ \ \ HAL\_NVIC\_SetPriority(SPI3\_IRQn,\ 0,\ 0);} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00188}00188\ \ \ HAL\_NVIC\_EnableIRQ(SPI3\_IRQn);} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00189}00189\ \ \ \}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00190}00190\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ USE\_SPI3}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00191}00191\ \}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00192}00192\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00193}00193\ \textcolor{comment}{/**\ \ }} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00194}00194\ \textcolor{comment}{\ \ *\ @brief\ \ Deinitialize\ SPI\ \&\ DMA\ clock\ and\ interrupt.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00195}00195\ \textcolor{comment}{\ \ *\ @param\ \ hspi\ -\/\ указатель\ на\ хендл\ SPI\ для\ деинициализации.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00196}00196\ \textcolor{comment}{\ \ *\ @note\ \ \ Чтобы\ не\ генерировать\ функцию\ с\ деиницилизацией\ неиспользуемых\ SPI,}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00197}00197\ \textcolor{comment}{\ \ \ \ \ \ \ \ \ \ \ \ дефайнами\ определяются\ используемые\ SPI.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00198}00198\ \textcolor{comment}{\ \ */}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00199}00199\ \textcolor{keywordtype}{void}\ SPI\_MspDeInit(SPI\_HandleTypeDef\ *hspi)\ \textcolor{comment}{//\ analog\ for\ hal\ function}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00200}00200\ \{\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00201}00201\ \ \ \textcolor{comment}{//\ rcc,\ dma\ and\ interrupt\ init\ for\ SPIs}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00202}00202\ \ \ \textcolor{comment}{//\ GPIO\ init\ was\ moved\ to\ own\ functions\ SPI\_GPIO\_Init\ \ }} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00203}00203\ \ \ \textcolor{keywordflow}{if}(0);} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00204}00204\ \textcolor{preprocessor}{\#ifdef\ USE\_SPI1}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00205}00205\ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}(hspi-\/>Instance==SPI1)} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00206}00206\ \ \ \{} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00207}00207\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00208}00208\ \textcolor{comment}{//\ \ /*\ DMA2\ clock\ enable\ */}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00209}00209\ \textcolor{comment}{//\ \ \_\_HAL\_RCC\_DMA2\_CLK\_ENABLE();}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00210}00210\ \textcolor{comment}{//\ \ /*\ DMA\ interrupt\ init\ */}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00211}00211\ \textcolor{comment}{//\ \ HAL\_NVIC\_SetPriority(DMA2\_Stream2\_IRQn,\ 0,\ 0);}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00212}00212\ \textcolor{comment}{//\ \ HAL\_NVIC\_EnableIRQ(DMA2\_Stream2\_IRQn);}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00213}00213\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00214}00214\ \ \ \textcolor{comment}{/*\ SPI1\ clock\ reset\ */}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00215}00215\ \ \ \_\_HAL\_RCC\_SPI1\_FORCE\_RESET();} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00216}00216\ \ \ \_\_HAL\_RCC\_SPI1\_RELEASE\_RESET();} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00217}00217\ \ \ \}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00218}00218\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ USE\_SPI1}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00219}00219\ \textcolor{preprocessor}{\#ifdef\ USE\_SPI2}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00220}00220\ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}(hspi-\/>Instance==SPI2)} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00221}00221\ \ \ \{} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00222}00222\ \textcolor{comment}{//\ \ /*\ DMA1\ clock\ enable\ */}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00223}00223\ \textcolor{comment}{//\ \ \_\_HAL\_RCC\_DMA1\_CLK\_ENABLE();}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00224}00224\ \textcolor{comment}{//\ \ /*\ DMA\ interrupt\ init\ */}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00225}00225\ \textcolor{comment}{//\ \ HAL\_NVIC\_SetPriority(DMA1\_Stream5\_IRQn,\ 0,\ 0);}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00226}00226\ \textcolor{comment}{//\ \ HAL\_NVIC\_EnableIRQ(DMA1\_Stream5\_IRQn);}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00227}00227\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00228}00228\ \ \ \textcolor{comment}{/*\ SPI2\ clock\ reset\ */}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00229}00229\ \ \ \_\_HAL\_RCC\_SPI2\_FORCE\_RESET();} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00230}00230\ \ \ \_\_HAL\_RCC\_SPI2\_RELEASE\_RESET();} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00231}00231\ \ \ \}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00232}00232\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ USE\_SPI2}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00233}00233\ \textcolor{preprocessor}{\#ifdef\ USE\_SPI3}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00234}00234\ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}(hspi-\/>Instance==SPI3)} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00235}00235\ \ \ \{\ \ \ \ \ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00236}00236\ \textcolor{comment}{//\ \ /*\ DMA1\ clock\ enable\ */}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00237}00237\ \textcolor{comment}{//\ \ \_\_HAL\_RCC\_DMA1\_CLK\_ENABLE();}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00238}00238\ \textcolor{comment}{//\ \ /*\ DMA\ interrupt\ init\ */}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00239}00239\ \textcolor{comment}{//\ \ HAL\_NVIC\_SetPriority(DMA1\_Stream1\_IRQn,\ 0,\ 0);}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00240}00240\ \textcolor{comment}{//\ \ HAL\_NVIC\_EnableIRQ(DMA1\_Stream1\_IRQn);}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00241}00241\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00242}00242\ \ \ \textcolor{comment}{/*\ SPI3\ clock\ reset\ */}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00243}00243\ \ \ \_\_HAL\_RCC\_SPI3\_FORCE\_RESET();} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00244}00244\ \ \ \_\_HAL\_RCC\_SPI3\_RELEASE\_RESET();} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00245}00245\ \ \ \}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00246}00246\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ USE\_SPI3}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00247}00247\ \}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00248}00248\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00249}00249\ \textcolor{comment}{/**\ \ }} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00250}00250\ \textcolor{comment}{\ \ *\ @brief\ \ Check\ that\ spi\ init\ structure\ have\ correct\ values.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00251}00251\ \textcolor{comment}{\ \ *\ @param\ \ sspi\ -\/\ указатель\ на\ структуру\ с\ настройками\ SPI.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00252}00252\ \textcolor{comment}{\ \ *\ @return\ HAL\ status.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00253}00253\ \textcolor{comment}{\ \ */}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00254}00254\ HAL\_StatusTypeDef\ Check\_SPI\_Init\_Struct(\mbox{\hyperlink{struct_s_p_i___settings_type_def}{SPI\_SettingsTypeDef}}\ *sspi)} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00255}00255\ \{} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00256}00256\ \ \ \textcolor{comment}{//\ check\ is\ settings\ are\ valid}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00257}00257\ \ \ \textcolor{keywordflow}{if}\ (!IS\_SPI\_ALL\_INSTANCE(sspi-\/>hspi.Instance))} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00258}00258\ \ \ \ \ \textcolor{keywordflow}{return}\ HAL\_ERROR;} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00259}00259\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00260}00260\ \ \ \textcolor{comment}{//\ check\ init\ settings}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00261}00261\ \ \ \textcolor{keywordflow}{if}\ (!IS\_SPI\_MODE(sspi-\/>hspi.Init.Mode))} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00262}00262\ \ \ \ \ \textcolor{keywordflow}{return}\ HAL\_ERROR;\ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00263}00263\ \ \ \textcolor{keywordflow}{if}\ (!IS\_SPI\_DIRECTION(sspi-\/>hspi.Init.Direction))} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00264}00264\ \ \ \ \ \textcolor{keywordflow}{return}\ HAL\_ERROR;\ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00265}00265\ \ \ \textcolor{keywordflow}{if}\ (!IS\_SPI\_DATASIZE(sspi-\/>hspi.Init.DataSize))} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00266}00266\ \ \ \ \ \textcolor{keywordflow}{return}\ HAL\_ERROR;\ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00267}00267\ \ \ \textcolor{keywordflow}{if}\ (!IS\_SPI\_BAUDRATE\_PRESCALER(sspi-\/>hspi.Init.BaudRatePrescaler))} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00268}00268\ \ \ \ \ \textcolor{keywordflow}{return}\ HAL\_ERROR;\ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00269}00269\ \ \ \textcolor{keywordflow}{if}\ (!IS\_SPI\_CPOL(sspi-\/>hspi.Init.CLKPolarity))} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00270}00270\ \ \ \ \ \textcolor{keywordflow}{return}\ HAL\_ERROR;\ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00271}00271\ \ \ \textcolor{keywordflow}{if}\ (!IS\_SPI\_CPHA(sspi-\/>hspi.Init.CLKPhase))} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00272}00272\ \ \ \ \ \textcolor{keywordflow}{return}\ HAL\_ERROR;\ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00273}00273\ \ \ \textcolor{keywordflow}{if}\ (!IS\_SPI\_NSS(sspi-\/>hspi.Init.NSS))} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00274}00274\ \ \ \ \ \textcolor{keywordflow}{return}\ HAL\_ERROR;\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00275}00275\ \ \ \textcolor{keywordflow}{if}\ (!IS\_SPI\_FIRST\_BIT(sspi-\/>hspi.Init.FirstBit))} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00276}00276\ \ \ \ \ \textcolor{keywordflow}{return}\ HAL\_ERROR;\ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00277}00277\ \ \ \textcolor{keywordflow}{if}\ (!IS\_SPI\_CRC\_CALCULATION(sspi-\/>hspi.Init.CRCCalculation))} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00278}00278\ \ \ \ \ \textcolor{keywordflow}{return}\ HAL\_ERROR;\ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00279}00279\ \ \ \textcolor{keywordflow}{if}\ (!IS\_SPI\_CRC\_POLYNOMIAL(sspi-\/>hspi.Init.NSS)\ \&\&\ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00280}00280\ \ \ \ \ (sspi-\/>hspi.Init.CRCCalculation\ !=\ SPI\_CRCCALCULATION\_DISABLE))} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00281}00281\ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ HAL\_ERROR;\ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00282}00282\ \ \ \textcolor{keywordflow}{if}\ (!IS\_SPI\_TIMODE(sspi-\/>hspi.Init.TIMode))} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00283}00283\ \ \ \ \ \textcolor{keywordflow}{return}\ HAL\_ERROR;} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00284}00284\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00285}00285\ \ \ \textcolor{comment}{//\ check\ gpio}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00286}00286\ \ \ \textcolor{keywordflow}{if}\ (!IS\_GPIO\_ALL\_INSTANCE(sspi-\/>CLK\_GPIOx)\ ||\ !IS\_GPIO\_ALL\_INSTANCE(sspi-\/>MISO\_GPIOx)\ ||\ !IS\_GPIO\_ALL\_INSTANCE(sspi-\/>MOSI\_GPIOx))} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00287}00287\ \ \ \ \ \textcolor{keywordflow}{return}\ HAL\_ERROR;\ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00288}00288\ \ \ \textcolor{keywordflow}{if}\ (!IS\_GPIO\_PIN(sspi-\/>CLK\_PIN)\ \&\&\ !IS\_GPIO\_PIN(sspi-\/>MISO\_PIN)\ \&\&\ !IS\_GPIO\_PIN(sspi-\/>MOSI\_PIN))\ \textcolor{comment}{//\ if\ both\ pins\ arent\ set\ up}} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00289}00289\ \ \ \ \ \textcolor{keywordflow}{return}\ HAL\_ERROR;} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00290}00290\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00291}00291\ \ \ \textcolor{keywordflow}{return}\ HAL\_OK;} -\DoxyCodeLine{\Hypertarget{____general__spi_8c_source_l00292}00292\ \}} - -\end{DoxyCode} diff --git a/Doc/latex/____general__spi_8h_source.tex b/Doc/latex/____general__spi_8h_source.tex deleted file mode 100644 index 5c91bf4..0000000 --- a/Doc/latex/____general__spi_8h_source.tex +++ /dev/null @@ -1,106 +0,0 @@ -\doxysection{\+\_\+\+\_\+general\+\_\+spi.\+h} -\hypertarget{____general__spi_8h_source}{}\label{____general__spi_8h_source}\index{F:/Work/Projects/STM/.Elementary/STM32\_ExtendedLibs/MyLibsGeneral/Inc/\_\_general\_spi.h@{F:/Work/Projects/STM/.Elementary/STM32\_ExtendedLibs/MyLibsGeneral/Inc/\_\_general\_spi.h}} - -\begin{DoxyCode}{0} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00001}00001\ \textcolor{comment}{/**\ }} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00002}00002\ \textcolor{comment}{**************************************************************************}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00003}00003\ \textcolor{comment}{*\ @file\ general\_spi.h}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00004}00004\ \textcolor{comment}{*\ @brief\ Заголовочны\ файл\ модуля\ инициализации\ SPI.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00005}00005\ \textcolor{comment}{*************************************************************************/}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00006}00006\ \textcolor{preprocessor}{\#ifndef\ \_\_SPI\_GENERAL\_H\_}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00007}00007\ \textcolor{preprocessor}{\#define\ \_\_SPI\_GENERAL\_H\_}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00008}00008\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00009}00009\ \textcolor{comment}{//////////////////////////////////////////////////////////////////////}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00010}00010\ \textcolor{comment}{/////////////////////////-\/-\/-\/USER\ SETTINGS-\/-\/-\//////////////////////////}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00011}00011\ \textcolor{comment}{}\textcolor{preprocessor}{\#define\ HAL\_SPI\_MODULE\_ENABLED\ \ }\textcolor{comment}{//\ need\ to\ uncomment\ these\ defines\ in\ stm32f4xx\_hal\_conf.h}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00012}00012\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{comment}{//\ also\ need\ to\ add\ hal\_spi.c\ (source\ code)}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00013}00013\ } -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00014}00014\ \textcolor{preprocessor}{\#define\ USE\_SPI1}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00015}00015\ \textcolor{preprocessor}{\#define\ USE\_SPI2}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00016}00016\ \textcolor{preprocessor}{\#define\ USE\_SPI3}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00017}00017\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00018}00018\ \textcolor{comment}{/////////////////////////-\/-\/-\/USER\ SETTINGS-\/-\/-\//////////////////////////}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00019}00019\ \textcolor{comment}{}\textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{mylibs__defs_8h}{mylibs\_defs.h}}"{}}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00020}00020\ } -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00021}00021\ } -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00022}00022\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00023}00023\ \textcolor{comment}{/////////////////////////////////////////////////////////////////////}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00024}00024\ \textcolor{comment}{////////////////////////////-\/-\/-\/DEFINES-\/-\/-\/////////////////////////////}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00025}00025\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00026}00026\ } -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00027}00027\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00028}00028\ \textcolor{comment}{////////////////////////////-\/-\/-\/DEFINES-\/-\/-\/////////////////////////////}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00029}00029\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00030}00030\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00031}00031\ \textcolor{comment}{/////////////////////////////////////////////////////////////////////}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00032}00032\ \textcolor{comment}{///////////////////////-\/-\/-\/STRUCTURES\ \&\ ENUMS-\/-\/-\///////////////////////}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00033}\mbox{\hyperlink{struct_s_p_i___settings_type_def}{00033}}\ \textcolor{comment}{}\textcolor{keyword}{typedef}\ \textcolor{keyword}{struct\ }\textcolor{comment}{//\ struct\ with\ settings\ for\ custom\ function}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00034}00034\ \{} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00035}00035\ \ \ SPI\_HandleTypeDef\ hspi;} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00036}00036\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00037}00037\ \ \ GPIO\_TypeDef\ \ *CLK\_GPIOx;} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00038}00038\ \ \ uint32\_t\ \ \ \ \ \ CLK\_PIN;} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00039}00039\ \ \ uint32\_t\ \ \ \ \ \ CLK\_GPIO\_AlternageFunc;} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00040}00040\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00041}00041\ \ \ GPIO\_TypeDef\ \ *MISO\_GPIOx;} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00042}00042\ \ \ uint32\_t\ \ \ \ \ \ MISO\_PIN;} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00043}00043\ \ \ uint32\_t\ \ \ \ \ \ MISO\_GPIO\_AlternageFunc;} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00044}00044\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00045}00045\ \ \ GPIO\_TypeDef\ \ *MOSI\_GPIOx;} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00046}00046\ \ \ uint32\_t\ \ \ \ \ \ MOSI\_PIN;\ } -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00047}00047\ \ \ uint32\_t\ \ \ \ \ \ MOSI\_GPIO\_AlternageFunc;} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00048}00048\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00049}00049\ \}\mbox{\hyperlink{struct_s_p_i___settings_type_def}{SPI\_SettingsTypeDef}};\textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00050}00050\ \textcolor{comment}{///////////////////////-\/-\/-\/STRUCTURES\ \&\ ENUMS-\/-\/-\///////////////////////}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00051}00051\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00052}00052\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00053}00053\ \textcolor{comment}{/////////////////////////////////////////////////////////////////////}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00054}00054\ \textcolor{comment}{///////////////////////////-\/-\/-\/FUNCTIONS-\/-\/-\////////////////////////////}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00055}00055\ \textcolor{comment}{}\textcolor{comment}{/**\ \ }} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00056}00056\ \textcolor{comment}{\ \ *\ @brief\ \ Initialize\ SPI\ with\ SPI\_SettingsTypeDef\ structure.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00057}00057\ \textcolor{comment}{\ \ *\ @param\ \ sspi\ -\/\ указатель\ на\ структуру\ с\ настройками\ SPI.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00058}00058\ \textcolor{comment}{\ \ *\ @return\ HAL\ status.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00059}00059\ \textcolor{comment}{\ \ *\ @note\ \ \ Данная\ структура\ содержит\ хендл\ ЮАРТ\ и\ настройки\ перефирии\ (GPIO)}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00060}00060\ \textcolor{comment}{\ \ */}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00061}00061\ HAL\_StatusTypeDef\ SPI\_Base\_Init(\mbox{\hyperlink{struct_s_p_i___settings_type_def}{SPI\_SettingsTypeDef}}\ *sspi);\textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00062}00062\ \textcolor{comment}{/**\ \ }} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00063}00063\ \textcolor{comment}{\ \ *\ @brief\ \ Initialize\ GPIO\ for\ SPI.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00064}00064\ \textcolor{comment}{\ \ *\ @param\ \ GPIOx\ \ \ \ \ \ \ -\/\ порт\ для\ настройки.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00065}00065\ \textcolor{comment}{\ \ *\ @param\ \ GPIO\_PIN\_RX\ -\/\ пин\ для\ настройки\ на\ прием.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00066}00066\ \textcolor{comment}{\ \ *\ @param\ \ GPIO\_PIN\_TX\ -\/\ пин\ для\ настройки\ на\ передачу.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00067}00067\ \textcolor{comment}{\ \ */}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00068}00068\ \textcolor{keywordtype}{void}\ SPI\_GPIO\_Init(\mbox{\hyperlink{struct_s_p_i___settings_type_def}{SPI\_SettingsTypeDef}}\ *sspi);\textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00069}00069\ \textcolor{comment}{/**\ \ }} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00070}00070\ \textcolor{comment}{\ \ *\ @brief\ \ Initialize\ DMA\ for\ SPI.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00071}00071\ \textcolor{comment}{\ \ *\ @param\ \ hspi\ \ \ \ \ \ \ \ -\/\ указатель\ на\ хендл\ SPI\ для\ настройки\ DMA.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00072}00072\ \textcolor{comment}{\ \ *\ @param\ \ hdma\_rx\ \ \ \ \ \ \ -\/\ указатель\ на\ хендл\ DMA\ для\ линии\ приема\ SPI.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00073}00073\ \textcolor{comment}{\ \ *\ @param\ \ DMAChannel\ \ \ \ -\/\ указатель\ на\ канал\ DMA/поток\ DMA\ в\ STM32F407.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00074}00074\ \textcolor{comment}{\ \ *\ @param\ \ DMA\_CHANNEL\_X\ -\/\ канал\ DMA.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00075}00075\ \textcolor{comment}{\ \ */}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00076}00076\ \textcolor{keywordtype}{void}\ SPI\_DMA\_Init(SPI\_HandleTypeDef\ *hspi,\ DMA\_HandleTypeDef\ *hdma\_rx,\ DMA\_Stream\_TypeDef\ *DMAChannel,\ uint32\_t\ DMA\_CHANNEL\_X);\textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00077}00077\ \textcolor{comment}{/**\ \ }} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00078}00078\ \textcolor{comment}{\ \ *\ @brief\ \ Initialize\ SPI\ \&\ DMA\ clock\ and\ interrupt.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00079}00079\ \textcolor{comment}{\ \ *\ @param\ \ hspi\ -\/\ указатель\ на\ хендл\ SPI\ для\ инициализации.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00080}00080\ \textcolor{comment}{\ \ *\ @note\ \ \ Чтобы\ не\ генерировать\ функцию\ с\ иницилизацией\ неиспользуемых\ SPI,}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00081}00081\ \textcolor{comment}{\ \ \ \ \ \ \ \ \ \ \ \ дефайнами\ определяются\ используемые\ SPI.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00082}00082\ \textcolor{comment}{\ \ */}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00083}00083\ \textcolor{keywordtype}{void}\ SPI\_MspInit(SPI\_HandleTypeDef\ *hspi);\textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00084}00084\ \textcolor{comment}{/**\ \ }} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00085}00085\ \textcolor{comment}{\ \ *\ @brief\ \ Deinitialize\ SPI\ \&\ DMA\ clock\ and\ interrupt.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00086}00086\ \textcolor{comment}{\ \ *\ @param\ \ hspi\ -\/\ указатель\ на\ хендл\ SPI\ для\ деинициализации.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00087}00087\ \textcolor{comment}{\ \ *\ @note\ \ \ Чтобы\ не\ генерировать\ функцию\ с\ деиницилизацией\ неиспользуемых\ SPI,}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00088}00088\ \textcolor{comment}{\ \ \ \ \ \ \ \ \ \ \ \ дефайнами\ в\ rs\_message.h\ определяются\ используемые\ SPI.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00089}00089\ \textcolor{comment}{\ \ */}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00090}00090\ \textcolor{keywordtype}{void}\ SPI\_MspDeInit(SPI\_HandleTypeDef\ *hspi);} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00091}00091\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00092}00092\ \textcolor{comment}{/**\ \ }} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00093}00093\ \textcolor{comment}{\ \ *\ @brief\ \ Check\ that\ spi\ init\ structure\ have\ correct\ values.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00094}00094\ \textcolor{comment}{\ \ *\ @param\ \ sspi\ -\/\ указатель\ на\ структуру\ с\ настройками\ SPI.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00095}00095\ \textcolor{comment}{\ \ *\ @return\ HAL\ status.}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00096}00096\ \textcolor{comment}{\ \ */}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00097}00097\ HAL\_StatusTypeDef\ Check\_SPI\_Init\_Struct(\mbox{\hyperlink{struct_s_p_i___settings_type_def}{SPI\_SettingsTypeDef}}\ *sspi);\textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00098}00098\ \textcolor{comment}{///////////////////////////-\/-\/-\/FUNCTIONS-\/-\/-\////////////////////////////}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00099}00099\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__spi_8h_source_l00100}00100\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ \_\_SPI\_GENERAL\_H\_}} - -\end{DoxyCode} diff --git a/Doc/latex/____general__uart_8c_source.tex b/Doc/latex/____general__uart_8c_source.tex deleted file mode 100644 index fc097fa..0000000 --- a/Doc/latex/____general__uart_8c_source.tex +++ /dev/null @@ -1,386 +0,0 @@ -\doxysection{\+\_\+\+\_\+general\+\_\+uart.\+c} -\hypertarget{____general__uart_8c_source}{}\label{____general__uart_8c_source}\index{F:/Work/Projects/STM/.Elementary/STM32\_ExtendedLibs/MyLibsGeneral/Src/\_\_general\_uart.c@{F:/Work/Projects/STM/.Elementary/STM32\_ExtendedLibs/MyLibsGeneral/Src/\_\_general\_uart.c}} - -\begin{DoxyCode}{0} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00001}00001\ \textcolor{comment}{/**\ }} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00002}00002\ \textcolor{comment}{\ \ **************************************************************************}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00003}00003\ \textcolor{comment}{\ \ *\ @file\ general\_uart.c}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00004}00004\ \textcolor{comment}{\ \ *\ @brief\ Модуль\ для\ инициализации\ UART.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00005}00005\ \textcolor{comment}{\ \ **************************************************************************}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00006}00006\ \textcolor{comment}{\ \ *\ //-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/Функции-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\///}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00007}00007\ \textcolor{comment}{\ \ *\ @verbatim}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00008}00008\ \textcolor{comment}{\ \ *\ Functions:\ users}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00009}00009\ \textcolor{comment}{\ \ *\ \ \ -\/\ UART\_Base\_Init\ \ \ \ \ \ \ \ \ \ \ \ \ \ Инициализация\ UART\ }} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00010}00010\ \textcolor{comment}{\ \ *\ }} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00011}00011\ \textcolor{comment}{\ \ *\ Functions:\ uart\ initialize}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00012}00012\ \textcolor{comment}{\ \ *\ \ \ -\/\ UART\_GPIO\_Init\ \ \ \ \ \ \ \ \ \ \ \ \ \ Инициализация\ GPIO\ для\ UART}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00013}00013\ \textcolor{comment}{\ \ *\ \ \ -\/\ UART\_DMA\_Init\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Инициализация\ DMA\ для\ UART}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00014}00014\ \textcolor{comment}{\ \ *\ \ \ -\/\ UART\_MspInit\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Аналог\ HAL\_MspInit\ для\ UART}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00015}00015\ \textcolor{comment}{\ \ *\ \ \ -\/\ UART\_MspDeInit\ \ \ \ \ \ \ \ \ \ \ \ \ \ Аналог\ HAL\_MspDeInit\ для\ UART}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00016}00016\ \textcolor{comment}{\ \ *\ @endverbatim}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00017}00017\ \textcolor{comment}{***************************************************************************/}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00018}00018\ \textcolor{preprocessor}{\#include\ "{}general\_uart.h"{}}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00019}00019\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{general__gpio_8h}{general\_gpio.h}}"{}}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00020}00020\ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00021}00021\ \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00022}00022\ \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/UART\ INIT\ FUNCTIONS-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}\textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00023}00023\ \textcolor{comment}{/**\ \ }} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00024}00024\ \textcolor{comment}{\ \ *\ @brief\ \ Initialize\ UART\ with\ UART\_SettingsTypeDef\ structure.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00025}00025\ \textcolor{comment}{\ \ *\ @param\ \ suart\ -\/\ указатель\ на\ структуру\ с\ настройками\ UART.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00026}00026\ \textcolor{comment}{\ \ *\ @return\ HAL\ status.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00027}00027\ \textcolor{comment}{\ \ *\ @note\ \ \ Данная\ структура\ содержит\ хендл\ ЮАРТ\ и\ настройки\ перефирии\ (GPIO)}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00028}00028\ \textcolor{comment}{\ \ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00029}00029\ HAL\_StatusTypeDef\ UART\_Base\_Init(\mbox{\hyperlink{struct_u_a_r_t___settings_type_def}{UART\_SettingsTypeDef}}\ *suart)} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00030}00030\ \{\ \textcolor{comment}{//\ function\ takes\ setting\ structure\ for\ init}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00031}00031\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00032}00032\ \ \ \textcolor{comment}{//\ check\ is\ settings\ are\ valid}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00033}00033\ \ \ \textcolor{keywordflow}{if}(Check\_UART\_Init\_Struct(suart)\ !=\ HAL\_OK)} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00034}00034\ \ \ \ \ \textcolor{keywordflow}{return}\ HAL\_ERROR;} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00035}00035\ \ \ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00036}00036\ \ \ suart-\/>huart.Init.Mode\ =\ UART\_MODE\_TX\_RX;} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00037}00037\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00038}00038\ \ \ UART\_MspInit(\&suart-\/>huart);} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00039}00039\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00040}00040\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00041}00041\ \ \ \textcolor{keywordflow}{if}\ (HAL\_UART\_Init(\&suart-\/>huart)\ !=\ HAL\_OK)} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00042}00042\ \ \ \{} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00043}00043\ \ \ \ \ \mbox{\hyperlink{group___e_r_r_o_r___h_a_n_d_l_e_r___d_e_f_i_n_e_s_gae110df81afd885a390bbeb152d7b709f}{MyLibs\_Error\_Handler}}();} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00044}00044\ \ \ \ \ \textcolor{keywordflow}{return}\ HAL\_ERROR;} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00045}00045\ \ \ \}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00046}00046\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00047}00047\ \ \ \textcolor{comment}{//\ init\ gpio\ from\ UARTSettings\ structure}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00048}00048\ \ \ UART\_GPIO\_Init(suart-\/>GPIOx,\ suart-\/>GPIO\_PIN\_RX,\ suart-\/>GPIO\_PIN\_TX);} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00049}00049\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00050}00050\ \ \ \_\_HAL\_UART\_ENABLE\_IT(\&suart-\/>huart,\ UART\_IT\_IDLE);} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00051}00051\ \ \ \textcolor{comment}{//\ init\ dma\ from\ UARTSettings\ structure\ if\ need}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00052}00052\ \ \ \textcolor{keywordflow}{if}\ (suart-\/>DMAChannel\ !=\ 0)} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00053}00053\ \ \ \ \ UART\_DMA\_Init(\&suart-\/>huart,\ suart-\/>huart.hdmarx,\ suart-\/>DMAChannel,\ suart-\/>DMA\_CHANNEL\_X);} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00054}00054\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00055}00055\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00056}00056\ \ \ \textcolor{keywordflow}{return}\ HAL\_OK;} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00057}00057\ \}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00058}00058\ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00059}00059\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00060}00060\ \textcolor{comment}{/**\ \ }} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00061}00061\ \textcolor{comment}{\ \ *\ @brief\ \ Initialize\ GPIO\ for\ UART.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00062}00062\ \textcolor{comment}{\ \ *\ @param\ \ GPIOx\ \ \ \ \ \ \ -\/\ порт\ для\ настройки.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00063}00063\ \textcolor{comment}{\ \ *\ @param\ \ GPIO\_PIN\_RX\ -\/\ пин\ для\ настройки\ на\ прием.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00064}00064\ \textcolor{comment}{\ \ *\ @param\ \ GPIO\_PIN\_TX\ -\/\ пин\ для\ настройки\ на\ передачу.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00065}00065\ \textcolor{comment}{\ \ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00066}00066\ \textcolor{keywordtype}{void}\ UART\_GPIO\_Init(GPIO\_TypeDef\ *GPIOx,\ uint16\_t\ GPIO\_PIN\_RX,\ uint16\_t\ GPIO\_PIN\_TX)} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00067}00067\ \{\ \textcolor{comment}{//\ function\ takes\ port\ and\ pins\ (for\ rx\ and\ tx)}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00068}00068\ \ \ GPIO\_InitTypeDef\ GPIO\_InitStruct\ =\ \{0\};} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00069}00069\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00070}00070\ \ \ \textcolor{comment}{//\ choose\ port\ for\ enable\ clock}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00071}00071\ \ \ \mbox{\hyperlink{group___m_y_l_i_b_s___g_p_i_o___g_e_n_e_r_a_l_ga962f010f783b81fcdd27eb6b53db28e6}{GPIO\_Clock\_Enable}}(GPIOx);} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00072}00072\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00073}00073\ \ \ \textcolor{comment}{//USART3\ GPIO\ Configuration}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00074}00074\ \ \ \textcolor{comment}{//GPIO\_PIN\_TX\ -\/-\/-\/-\/-\/-\/>\ USART\_TX}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00075}00075\ \ \ \textcolor{comment}{//GPIO\_PIN\_RX\ -\/-\/-\/-\/-\/-\/>\ USART\_RX\ \ \ \ }} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00076}00076\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00077}00077\ \textcolor{preprocessor}{\#if\ defined(STM32F407xx)\ }\textcolor{comment}{//\ gpio\ init\ for\ 407}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00078}00078\ \ \ GPIO\_InitStruct.Pin\ =\ GPIO\_PIN\_TX|GPIO\_PIN\_RX;} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00079}00079\ \ \ GPIO\_InitStruct.Mode\ =\ GPIO\_MODE\_AF\_PP;} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00080}00080\ \ \ GPIO\_InitStruct.Pull\ =\ GPIO\_NOPULL;} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00081}00081\ \ \ GPIO\_InitStruct.Speed\ =\ GPIO\_SPEED\_FREQ\_VERY\_HIGH;} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00082}00082\ \ \ GPIO\_InitStruct.Alternate\ =\ GPIO\_AF7\_USART3;} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00083}00083\ \ \ HAL\_GPIO\_Init(GPIOx,\ \&GPIO\_InitStruct);} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00084}00084\ \textcolor{preprocessor}{\#elif\ defined(STM32F103xG)\ \ }\textcolor{comment}{//\ gpio\ init\ for\ atm403/stm103}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00085}00085\ \ \ \textcolor{comment}{//GPIO\_PIN\_TX\ -\/-\/-\/-\/-\/-\/>\ USART\_TX}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00086}00086\ \ \ GPIO\_InitStruct.Pin\ =\ GPIO\_PIN\_TX;} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00087}00087\ \ \ GPIO\_InitStruct.Mode\ =\ GPIO\_MODE\_AF\_PP;} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00088}00088\ \ \ GPIO\_InitStruct.Speed\ =\ GPIO\_SPEED\_FREQ\_HIGH;} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00089}00089\ \ \ HAL\_GPIO\_Init(GPIOx,\ \&GPIO\_InitStruct);} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00090}00090\ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00091}00091\ \textcolor{comment}{//\ \ GPIO\_PIN\_RX\ -\/-\/-\/-\/-\/-\/>\ USART\_RX\ \ }} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00092}00092\ \ \ GPIO\_InitStruct.Pin\ =\ GPIO\_PIN\_RX;} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00093}00093\ \ \ GPIO\_InitStruct.Mode\ =\ GPIO\_MODE\_INPUT;} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00094}00094\ \ \ GPIO\_InitStruct.Pull\ =\ GPIO\_NOPULL;} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00095}00095\ \ \ HAL\_GPIO\_Init(GPIOx,\ \&GPIO\_InitStruct);} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00096}00096\ \textcolor{preprocessor}{\#endif}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00097}00097\ \}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00098}00098\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00099}00099\ \textcolor{comment}{/**\ \ }} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00100}00100\ \textcolor{comment}{\ \ *\ @brief\ \ Initialize\ DMA\ for\ UART.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00101}00101\ \textcolor{comment}{\ \ *\ @param\ \ huart\ \ \ \ \ \ \ \ \ -\/\ указатель\ на\ хендл\ UART\ для\ настройки\ DMA.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00102}00102\ \textcolor{comment}{\ \ *\ @param\ \ hdma\_rx\ \ \ \ \ \ \ -\/\ указатель\ на\ хендл\ DMA\ для\ линии\ приема\ UART.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00103}00103\ \textcolor{comment}{\ \ *\ @param\ \ DMAChannel\ \ \ \ -\/\ указатель\ на\ канал\ DMA/поток\ DMA\ в\ STM32F407.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00104}00104\ \textcolor{comment}{\ \ *\ @param\ \ DMA\_CHANNEL\_X\ -\/\ канал\ DMA.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00105}00105\ \textcolor{comment}{\ \ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00106}00106\ \textcolor{keywordtype}{void}\ UART\_DMA\_Init(UART\_HandleTypeDef\ *huart,\ DMA\_HandleTypeDef\ *hdma\_rx,\ DMA\_Stream\_TypeDef\ *DMAChannel,\ uint32\_t\ DMA\_CHANNEL\_X)} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00107}00107\ \{\ \textcolor{comment}{//\ function\ takes\ uart\ and\ dma\ handlers\ and\ dmachannel\ for\ uart}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00108}00108\ \ \ \textcolor{comment}{//\ for\ now\ only\ dma\ rx\ is\ supported,\ tx\ maybe\ later\ if\ needed}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00109}00109\ \ \ \ \ \textcolor{comment}{//\ calc\ defines\ on\ boot\_project\_setup.h}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00110}00110\ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00111}00111\ \ \ \textcolor{comment}{/*\ USART3\ DMA\ Init\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00112}00112\ \ \ \textcolor{comment}{/*\ USART3\_RX\ Init\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00113}00113\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00114}00114\ \ \ hdma\_rx-\/>Instance\ =\ DMAChannel;} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00115}00115\ \textcolor{preprocessor}{\#if\ defined(STM32F407xx)\ }\textcolor{comment}{//\ dma\ channel\ choose\ for\ 407}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00116}00116\ \ \ hdma\_rx-\/>Init.Channel\ =\ DMA\_CHANNEL\_X;} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00117}00117\ \textcolor{preprocessor}{\#endif}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00118}00118\ \ \ hdma\_rx-\/>Init.Direction\ =\ DMA\_PERIPH\_TO\_MEMORY;} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00119}00119\ \ \ hdma\_rx-\/>Init.PeriphInc\ =\ DMA\_PINC\_DISABLE;} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00120}00120\ \ \ hdma\_rx-\/>Init.MemInc\ =\ DMA\_MINC\_ENABLE;} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00121}00121\ \ \ hdma\_rx-\/>Init.PeriphDataAlignment\ =\ DMA\_PDATAALIGN\_BYTE;} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00122}00122\ \ \ hdma\_rx-\/>Init.MemDataAlignment\ =\ DMA\_MDATAALIGN\_BYTE;} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00123}00123\ \ \ hdma\_rx-\/>Init.Mode\ =\ DMA\_CIRCULAR;} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00124}00124\ \ \ hdma\_rx-\/>Init.Priority\ =\ DMA\_PRIORITY\_LOW;} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00125}00125\ \ \ \textcolor{keywordflow}{if}\ (HAL\_DMA\_Init(hdma\_rx)\ !=\ HAL\_OK)} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00126}00126\ \ \ \{} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00127}00127\ \ \ \ \ \mbox{\hyperlink{group___e_r_r_o_r___h_a_n_d_l_e_r___d_e_f_i_n_e_s_gae110df81afd885a390bbeb152d7b709f}{MyLibs\_Error\_Handler}}();} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00128}00128\ \ \ \}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00129}00129\ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00130}00130\ \ \ \_\_USER\_LINKDMA(huart,hdmarx,hdma\_rx);\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00131}00131\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00132}00132\ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00133}00133\ \ \ \textcolor{comment}{//\ \_\_USER\_LINKDMA\ is\ need\ because\ \_\_HAL\_LINKDMA\ is\ written\ for\ global\ defined\ hdma\_rx}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00134}00134\ \ \ \textcolor{comment}{//\ so\ you\ get\ error\ because\ hal\ uses\ .\ insted\ of\ -\/>}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00135}00135\ \}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00136}00136\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00137}00137\ \textcolor{comment}{/**\ \ }} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00138}00138\ \textcolor{comment}{\ \ *\ @brief\ \ Initialize\ UART\ \&\ DMA\ clock\ and\ interrupt.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00139}00139\ \textcolor{comment}{\ \ *\ @param\ \ huart\ -\/\ указатель\ на\ хендл\ UART\ для\ инициализации.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00140}00140\ \textcolor{comment}{\ \ *\ @note\ \ \ Чтобы\ не\ генерировать\ функцию\ с\ иницилизацией\ неиспользуемых\ UART,}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00141}00141\ \textcolor{comment}{\ \ \ \ \ \ \ \ \ \ \ \ дефайнами\ в\ rs\_message.h\ определяются\ используемые\ UART.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00142}00142\ \textcolor{comment}{\ \ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00143}00143\ \textcolor{keywordtype}{void}\ UART\_MspInit(UART\_HandleTypeDef\ *huart)\ \textcolor{comment}{//\ analog\ for\ hal\ function}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00144}00144\ \{\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00145}00145\ \textcolor{comment}{//\ \ \_\_RCC\_DMA\_UART\_CLK\_ENABLE();}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00146}00146\ \textcolor{comment}{//\ \ /*\ DMA\ interrupt\ init\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00147}00147\ \textcolor{comment}{//\ \ /*\ DMA1\_Stream1\_IRQn\ interrupt\ configuration\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00148}00148\ \textcolor{comment}{//\ \ HAL\_NVIC\_SetPriority(DMA\_UART\_IRQn,\ 0,\ 0);}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00149}00149\ \textcolor{comment}{//\ \ HAL\_NVIC\_EnableIRQ(DMA\_UART\_IRQn);}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00150}00150\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00151}00151\ \ \ \textcolor{comment}{//\ rcc,\ dma\ and\ interrupt\ init\ for\ USARTs}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00152}00152\ \ \ \textcolor{comment}{//\ GPIO\ init\ was\ moved\ to\ own\ functions\ UART\_GPIO\_Init\ \ }} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00153}00153\ \ \ \textcolor{keywordflow}{if}(0);} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00154}00154\ \textcolor{preprocessor}{\#ifdef\ USE\_USART1}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00155}00155\ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}(huart-\/>Instance==USART1)} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00156}00156\ \ \ \{} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00157}00157\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00158}00158\ \ \ \textcolor{comment}{/*\ DMA2\ clock\ enable\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00159}00159\ \ \ \_\_HAL\_RCC\_DMA2\_CLK\_ENABLE();} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00160}00160\ \ \ \textcolor{comment}{/*\ DMA\ interrupt\ init\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00161}00161\ \ \ HAL\_NVIC\_SetPriority(DMA2\_Stream2\_IRQn,\ 0,\ 0);} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00162}00162\ \ \ HAL\_NVIC\_EnableIRQ(DMA2\_Stream2\_IRQn);} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00163}00163\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00164}00164\ \ \ \textcolor{comment}{/*\ USART1\ clock\ enable\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00165}00165\ \ \ \_\_HAL\_RCC\_USART1\_CLK\_ENABLE();} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00166}00166\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00167}00167\ \ \ \textcolor{comment}{/*\ USART1\ interrupt\ Init\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00168}00168\ \ \ HAL\_NVIC\_SetPriority(USART1\_IRQn,\ 0,\ 0);} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00169}00169\ \ \ HAL\_NVIC\_EnableIRQ(USART1\_IRQn);} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00170}00170\ \ \ \}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00171}00171\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ USE\_USART1}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00172}00172\ \textcolor{preprocessor}{\#ifdef\ USE\_USART2}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00173}00173\ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}(huart-\/>Instance==USART2)} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00174}00174\ \ \ \{} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00175}00175\ \ \ \textcolor{comment}{/*\ DMA1\ clock\ enable\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00176}00176\ \ \ \_\_HAL\_RCC\_DMA1\_CLK\_ENABLE();} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00177}00177\ \ \ \textcolor{comment}{/*\ DMA\ interrupt\ init\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00178}00178\ \ \ HAL\_NVIC\_SetPriority(DMA1\_Stream5\_IRQn,\ 0,\ 0);} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00179}00179\ \ \ HAL\_NVIC\_EnableIRQ(DMA1\_Stream5\_IRQn);} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00180}00180\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00181}00181\ \ \ \textcolor{comment}{/*\ USART2\ clock\ enable\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00182}00182\ \ \ \_\_HAL\_RCC\_USART2\_CLK\_ENABLE();} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00183}00183\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00184}00184\ \ \ \textcolor{comment}{/*\ USART2\ interrupt\ Init\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00185}00185\ \ \ HAL\_NVIC\_SetPriority(USART2\_IRQn,\ 0,\ 0);} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00186}00186\ \ \ HAL\_NVIC\_EnableIRQ(USART2\_IRQn);} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00187}00187\ \ \ \}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00188}00188\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ USE\_USART2}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00189}00189\ \textcolor{preprocessor}{\#ifdef\ USE\_USART3}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00190}00190\ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}(huart-\/>Instance==USART3)} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00191}00191\ \ \ \{\ \ \ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00192}00192\ \ \ \textcolor{comment}{/*\ DMA1\ clock\ enable\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00193}00193\ \ \ \_\_HAL\_RCC\_DMA1\_CLK\_ENABLE();} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00194}00194\ \ \ \textcolor{comment}{/*\ DMA\ interrupt\ init\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00195}00195\ \ \ HAL\_NVIC\_SetPriority(DMA1\_Stream1\_IRQn,\ 0,\ 0);} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00196}00196\ \ \ HAL\_NVIC\_EnableIRQ(DMA1\_Stream1\_IRQn);} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00197}00197\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00198}00198\ \ \ \textcolor{comment}{/*\ USART3\ clock\ enable\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00199}00199\ \ \ \_\_HAL\_RCC\_USART3\_CLK\_ENABLE();\ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00200}00200\ \ \ \textcolor{comment}{/*\ USART3\ interrupt\ Init\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00201}00201\ \ \ HAL\_NVIC\_SetPriority(USART3\_IRQn,\ 0,\ 0);} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00202}00202\ \ \ HAL\_NVIC\_EnableIRQ(USART3\_IRQn);} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00203}00203\ \ \ \}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00204}00204\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ USE\_USART3}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00205}00205\ \textcolor{preprocessor}{\#ifdef\ USE\_UART4}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00206}00206\ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}(huart-\/>Instance==UART4)} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00207}00207\ \ \ \{} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00208}00208\ \ \ \textcolor{comment}{/*\ DMA1\ clock\ enable\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00209}00209\ \ \ \_\_HAL\_RCC\_DMA1\_CLK\_ENABLE();} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00210}00210\ \ \ \textcolor{comment}{/*\ DMA\ interrupt\ init\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00211}00211\ \ \ HAL\_NVIC\_SetPriority(DMA1\_Stream2\_IRQn,\ 0,\ 0);} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00212}00212\ \ \ HAL\_NVIC\_EnableIRQ(DMA1\_Stream2\_IRQn);} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00213}00213\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00214}00214\ \ \ \textcolor{comment}{/*\ UART4\ clock\ enable\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00215}00215\ \ \ \_\_HAL\_RCC\_UART4\_CLK\_ENABLE();} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00216}00216\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00217}00217\ \ \ \textcolor{comment}{/*\ UART4\ interrupt\ Init\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00218}00218\ \ \ HAL\_NVIC\_SetPriority(UART4\_IRQn,\ 0,\ 0);} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00219}00219\ \ \ HAL\_NVIC\_EnableIRQ(UART4\_IRQn);} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00220}00220\ \ \ \}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00221}00221\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ USE\_UART4}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00222}00222\ \textcolor{preprocessor}{\#ifdef\ USE\_UART5}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00223}00223\ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}(huart-\/>Instance==UART5)} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00224}00224\ \ \ \{} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00225}00225\ \ \ \textcolor{comment}{/*\ DMA1\ clock\ enable\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00226}00226\ \ \ \_\_HAL\_RCC\_DMA1\_CLK\_ENABLE();} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00227}00227\ \ \ \textcolor{comment}{/*\ DMA\ interrupt\ init\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00228}00228\ \ \ HAL\_NVIC\_SetPriority(DMA1\_Stream0\_IRQn,\ 0,\ 0);} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00229}00229\ \ \ HAL\_NVIC\_EnableIRQ(DMA1\_Stream0\_IRQn);} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00230}00230\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00231}00231\ \ \ \textcolor{comment}{/*\ UART5\ clock\ enable\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00232}00232\ \ \ \_\_HAL\_RCC\_DMA1\_CLK\_ENABLE();} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00233}00233\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00234}00234\ \ \ \textcolor{comment}{/*\ UART5\ interrupt\ Init\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00235}00235\ \ \ HAL\_NVIC\_SetPriority(UART5\_IRQn,\ 0,\ 0);} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00236}00236\ \ \ HAL\_NVIC\_EnableIRQ(UART5\_IRQn);} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00237}00237\ \ \ \}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00238}00238\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ USE\_UART5}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00239}00239\ \textcolor{preprocessor}{\#ifdef\ USE\_USART6}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00240}00240\ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}(huart-\/>Instance==USART6)} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00241}00241\ \ \ \{} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00242}00242\ \ \ \textcolor{comment}{/*\ DMA2\ clock\ enable\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00243}00243\ \ \ \_\_HAL\_RCC\_DMA2\_CLK\_ENABLE();} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00244}00244\ \ \ \textcolor{comment}{/*\ DMA\ interrupt\ init\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00245}00245\ \ \ HAL\_NVIC\_SetPriority(DMA2\_Stream1\_IRQn,\ 0,\ 0);} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00246}00246\ \ \ HAL\_NVIC\_EnableIRQ(DMA2\_Stream1\_IRQn);} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00247}00247\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00248}00248\ \ \ \textcolor{comment}{/*\ USART6\ clock\ enable\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00249}00249\ \ \ \_\_HAL\_RCC\_USART6\_CLK\_ENABLE();} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00250}00250\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00251}00251\ \ \ \textcolor{comment}{/*\ USART6\ interrupt\ Init\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00252}00252\ \ \ HAL\_NVIC\_SetPriority(USART6\_IRQn,\ 0,\ 0);} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00253}00253\ \ \ HAL\_NVIC\_EnableIRQ(USART6\_IRQn);} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00254}00254\ \ \ \}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00255}00255\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ USE\_USART6}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00256}00256\ \}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00257}00257\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00258}00258\ \textcolor{comment}{/**\ \ }} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00259}00259\ \textcolor{comment}{\ \ *\ @brief\ \ Deinitialize\ UART\ \&\ DMA\ clock\ and\ interrupt.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00260}00260\ \textcolor{comment}{\ \ *\ @param\ \ huart\ -\/\ указатель\ на\ хендл\ UART\ для\ деинициализации.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00261}00261\ \textcolor{comment}{\ \ *\ @note\ \ \ Чтобы\ не\ генерировать\ функцию\ с\ деиницилизацией\ неиспользуемых\ UART,}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00262}00262\ \textcolor{comment}{\ \ \ \ \ \ \ \ \ \ \ \ дефайнами\ определяются\ используемые\ UART.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00263}00263\ \textcolor{comment}{\ \ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00264}00264\ \textcolor{keywordtype}{void}\ UART\_MspDeInit(UART\_HandleTypeDef\ *huart)\ \textcolor{comment}{//\ analog\ for\ hal\ function}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00265}00265\ \{\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00266}00266\ \ \ \textcolor{comment}{//\ rcc,\ dma\ and\ interrupt\ init\ for\ USARTs}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00267}00267\ \ \ \textcolor{comment}{//\ GPIO\ init\ was\ moved\ to\ own\ functions\ UART\_GPIO\_Init\ \ }} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00268}00268\ \ \ \textcolor{keywordflow}{if}(0);} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00269}00269\ \textcolor{preprocessor}{\#ifdef\ USE\_USART1}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00270}00270\ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}(huart-\/>Instance==USART1)} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00271}00271\ \ \ \{} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00272}00272\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00273}00273\ \textcolor{comment}{//\ \ /*\ DMA2\ clock\ enable\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00274}00274\ \textcolor{comment}{//\ \ \_\_HAL\_RCC\_DMA2\_CLK\_ENABLE();}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00275}00275\ \textcolor{comment}{//\ \ /*\ DMA\ interrupt\ init\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00276}00276\ \textcolor{comment}{//\ \ HAL\_NVIC\_SetPriority(DMA2\_Stream2\_IRQn,\ 0,\ 0);}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00277}00277\ \textcolor{comment}{//\ \ HAL\_NVIC\_EnableIRQ(DMA2\_Stream2\_IRQn);}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00278}00278\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00279}00279\ \ \ \textcolor{comment}{/*\ USART1\ clock\ reset\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00280}00280\ \ \ \_\_HAL\_RCC\_USART1\_FORCE\_RESET();} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00281}00281\ \ \ \_\_HAL\_RCC\_USART1\_RELEASE\_RESET();} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00282}00282\ \ \ \}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00283}00283\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ USE\_USART1}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00284}00284\ \textcolor{preprocessor}{\#ifdef\ USE\_USART2}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00285}00285\ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}(huart-\/>Instance==USART2)} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00286}00286\ \ \ \{} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00287}00287\ \textcolor{comment}{//\ \ /*\ DMA1\ clock\ enable\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00288}00288\ \textcolor{comment}{//\ \ \_\_HAL\_RCC\_DMA1\_CLK\_ENABLE();}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00289}00289\ \textcolor{comment}{//\ \ /*\ DMA\ interrupt\ init\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00290}00290\ \textcolor{comment}{//\ \ HAL\_NVIC\_SetPriority(DMA1\_Stream5\_IRQn,\ 0,\ 0);}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00291}00291\ \textcolor{comment}{//\ \ HAL\_NVIC\_EnableIRQ(DMA1\_Stream5\_IRQn);}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00292}00292\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00293}00293\ \ \ \textcolor{comment}{/*\ USART2\ clock\ reset\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00294}00294\ \ \ \_\_HAL\_RCC\_USART2\_FORCE\_RESET();} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00295}00295\ \ \ \_\_HAL\_RCC\_USART2\_RELEASE\_RESET();} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00296}00296\ \ \ \}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00297}00297\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ USE\_USART2}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00298}00298\ \textcolor{preprocessor}{\#ifdef\ USE\_USART3}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00299}00299\ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}(huart-\/>Instance==USART3)} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00300}00300\ \ \ \{\ \ \ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00301}00301\ \textcolor{comment}{//\ \ /*\ DMA1\ clock\ enable\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00302}00302\ \textcolor{comment}{//\ \ \_\_HAL\_RCC\_DMA1\_CLK\_ENABLE();}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00303}00303\ \textcolor{comment}{//\ \ /*\ DMA\ interrupt\ init\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00304}00304\ \textcolor{comment}{//\ \ HAL\_NVIC\_SetPriority(DMA1\_Stream1\_IRQn,\ 0,\ 0);}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00305}00305\ \textcolor{comment}{//\ \ HAL\_NVIC\_EnableIRQ(DMA1\_Stream1\_IRQn);}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00306}00306\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00307}00307\ \ \ \textcolor{comment}{/*\ USART3\ clock\ reset\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00308}00308\ \ \ \_\_HAL\_RCC\_USART3\_FORCE\_RESET();} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00309}00309\ \ \ \_\_HAL\_RCC\_USART3\_RELEASE\_RESET();} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00310}00310\ \ \ \}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00311}00311\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ USE\_USART3}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00312}00312\ \textcolor{preprocessor}{\#ifdef\ USE\_UART4}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00313}00313\ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}(huart-\/>Instance==UART4)} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00314}00314\ \ \ \{} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00315}00315\ \textcolor{comment}{//\ \ /*\ DMA1\ clock\ enable\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00316}00316\ \textcolor{comment}{//\ \ \_\_HAL\_RCC\_DMA1\_CLK\_ENABLE();}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00317}00317\ \textcolor{comment}{//\ \ /*\ DMA\ interrupt\ init\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00318}00318\ \textcolor{comment}{//\ \ HAL\_NVIC\_SetPriority(DMA1\_Stream2\_IRQn,\ 0,\ 0);}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00319}00319\ \textcolor{comment}{//\ \ HAL\_NVIC\_EnableIRQ(DMA1\_Stream2\_IRQn);}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00320}00320\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00321}00321\ \ \ \textcolor{comment}{/*\ UART4\ clock\ reset\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00322}00322\ \ \ \_\_HAL\_RCC\_UART4\_FORCE\_RESET();} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00323}00323\ \ \ \_\_HAL\_RCC\_UART4\_RELEASE\_RESET();} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00324}00324\ \ \ \}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00325}00325\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ USE\_UART4}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00326}00326\ \textcolor{preprocessor}{\#ifdef\ USE\_UART5}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00327}00327\ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}(huart-\/>Instance==UART5)} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00328}00328\ \ \ \{} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00329}00329\ \textcolor{comment}{//\ \ /*\ DMA1\ clock\ enable\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00330}00330\ \textcolor{comment}{//\ \ \_\_HAL\_RCC\_DMA1\_CLK\_ENABLE();}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00331}00331\ \textcolor{comment}{//\ \ /*\ DMA\ interrupt\ init\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00332}00332\ \textcolor{comment}{//\ \ HAL\_NVIC\_SetPriority(DMA1\_Stream0\_IRQn,\ 0,\ 0);}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00333}00333\ \textcolor{comment}{//\ \ HAL\_NVIC\_EnableIRQ(DMA1\_Stream0\_IRQn);}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00334}00334\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00335}00335\ \ \ \textcolor{comment}{/*\ UART5\ clock\ reset\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00336}00336\ \ \ \_\_HAL\_RCC\_UART5\_FORCE\_RESET();} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00337}00337\ \ \ \_\_HAL\_RCC\_UART5\_RELEASE\_RESET();} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00338}00338\ \ \ \}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00339}00339\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ USE\_UART5}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00340}00340\ \textcolor{preprocessor}{\#ifdef\ USE\_USART6}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00341}00341\ \ \ \textcolor{keywordflow}{else}\ \textcolor{keywordflow}{if}(huart-\/>Instance==USART6)} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00342}00342\ \ \ \{} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00343}00343\ \textcolor{comment}{//\ \ /*\ DMA2\ clock\ enable\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00344}00344\ \textcolor{comment}{//\ \ \_\_HAL\_RCC\_DMA2\_CLK\_ENABLE();}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00345}00345\ \textcolor{comment}{//\ \ /*\ DMA\ interrupt\ init\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00346}00346\ \textcolor{comment}{//\ \ HAL\_NVIC\_SetPriority(DMA2\_Stream1\_IRQn,\ 0,\ 0);}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00347}00347\ \textcolor{comment}{//\ \ HAL\_NVIC\_EnableIRQ(DMA2\_Stream1\_IRQn);}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00348}00348\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00349}00349\ \ \ \textcolor{comment}{/*\ USART6\ clock\ reset\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00350}00350\ \ \ \_\_HAL\_RCC\_USART6\_FORCE\_RESET();} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00351}00351\ \ \ \_\_HAL\_RCC\_USART6\_RELEASE\_RESET();} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00352}00352\ \ \ \}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00353}00353\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ USE\_USART6}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00354}00354\ \}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00355}00355\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00356}00356\ \textcolor{comment}{/**\ \ }} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00357}00357\ \textcolor{comment}{\ \ *\ @brief\ \ Check\ that\ uart\ init\ structure\ have\ correct\ values.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00358}00358\ \textcolor{comment}{\ \ *\ @param\ \ suart\ -\/\ указатель\ на\ структуру\ с\ настройками\ UART.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00359}00359\ \textcolor{comment}{\ \ *\ @return\ HAL\ status.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00360}00360\ \textcolor{comment}{\ \ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00361}00361\ HAL\_StatusTypeDef\ Check\_UART\_Init\_Struct(\mbox{\hyperlink{struct_u_a_r_t___settings_type_def}{UART\_SettingsTypeDef}}\ *suart)} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00362}00362\ \{} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00363}00363\ \ \ \textcolor{comment}{//\ check\ is\ settings\ are\ valid}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00364}00364\ \ \ \textcolor{keywordflow}{if}\ (!IS\_UART\_INSTANCE(suart-\/>huart.Instance))} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00365}00365\ \ \ \ \ \textcolor{keywordflow}{return}\ HAL\_ERROR;} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00366}00366\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00367}00367\ \ \ \textcolor{keywordflow}{if}\ (!IS\_UART\_BAUDRATE(suart-\/>huart.Init.BaudRate)\ ||\ (suart-\/>huart.Init.BaudRate\ ==\ NULL))} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00368}00368\ \ \ \ \ \textcolor{keywordflow}{return}\ HAL\_ERROR;} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00369}00369\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00370}00370\ \ \ \textcolor{keywordflow}{if}\ (!IS\_GPIO\_ALL\_INSTANCE(suart-\/>GPIOx))} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00371}00371\ \ \ \ \ \textcolor{keywordflow}{return}\ HAL\_ERROR;} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00372}00372\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00373}00373\ \ \ \textcolor{keywordflow}{if}\ (!IS\_GPIO\_PIN(suart-\/>GPIO\_PIN\_RX)\ \&\&\ !IS\_GPIO\_PIN(suart-\/>GPIO\_PIN\_TX))\ \textcolor{comment}{//\ if\ both\ pins\ arent\ set\ up}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00374}00374\ \ \ \ \ \textcolor{keywordflow}{return}\ HAL\_ERROR;} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00375}00375\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00376}00376\ \ \ \textcolor{keywordflow}{return}\ HAL\_OK;} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00377}00377\ \}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00378}00378\ } -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00379}00379\ \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/UART\ INIT\ FUNCTIONS-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}} -\DoxyCodeLine{\Hypertarget{____general__uart_8c_source_l00380}00380\ \textcolor{comment}{//-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/}} - -\end{DoxyCode} diff --git a/Doc/latex/____general__uart_8h_source.tex b/Doc/latex/____general__uart_8h_source.tex deleted file mode 100644 index e60c22a..0000000 --- a/Doc/latex/____general__uart_8h_source.tex +++ /dev/null @@ -1,114 +0,0 @@ -\doxysection{\+\_\+\+\_\+general\+\_\+uart.\+h} -\hypertarget{____general__uart_8h_source}{}\label{____general__uart_8h_source}\index{F:/Work/Projects/STM/.Elementary/STM32\_ExtendedLibs/MyLibsGeneral/Inc/\_\_general\_uart.h@{F:/Work/Projects/STM/.Elementary/STM32\_ExtendedLibs/MyLibsGeneral/Inc/\_\_general\_uart.h}} - -\begin{DoxyCode}{0} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00001}00001\ \textcolor{comment}{/**\ }} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00002}00002\ \textcolor{comment}{**************************************************************************}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00003}00003\ \textcolor{comment}{*\ @file\ general\_uart.h}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00004}00004\ \textcolor{comment}{*\ @brief\ Заголовочный\ файл\ для\ модуля\ инициализации\ UART.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00005}00005\ \textcolor{comment}{*************************************************************************/}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00006}00006\ \textcolor{preprocessor}{\#ifndef\ \_\_UART\_GENERAL\_H\_}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00007}00007\ \textcolor{preprocessor}{\#define\ \_\_UART\_GENERAL\_H\_}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00008}00008\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00009}00009\ \textcolor{comment}{//////////////////////////////////////////////////////////////////////}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00010}00010\ \textcolor{comment}{/////////////////////////-\/-\/-\/USER\ SETTINGS-\/-\/-\//////////////////////////}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00011}00011\ \textcolor{comment}{}\textcolor{preprocessor}{\#define\ HAL\_UART\_MODULE\_ENABLED\ \ \ }\textcolor{comment}{//\ need\ to\ uncomment\ these\ defines\ in\ stm32f4xx\_hal\_conf.h}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00012}00012\ \textcolor{comment}{//\#define\ HAL\_USART\_MODULE\_ENABLED\ \ //\ maybe\ also\ need\ to\ add\ hal\_uart.h/.c\ (source\ code)}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00013}00013\ } -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00014}00014\ \textcolor{comment}{//\#define\ USE\_USART1}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00015}00015\ \textcolor{comment}{//\#define\ USE\_USART2}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00016}00016\ \textcolor{comment}{//\#define\ USE\_USART3}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00017}00017\ \textcolor{comment}{//\#define\ USE\_UART4}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00018}00018\ \textcolor{comment}{//\#define\ USE\_UART5}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00019}00019\ \textcolor{comment}{//\#define\ USE\_USART6}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00020}00020\ \textcolor{comment}{/*\ note:\ used\ uart\ defines\ in\ modbus.h\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00021}00021\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00022}00022\ \textcolor{comment}{/////////////////////////-\/-\/-\/USER\ SETTINGS-\/-\/-\//////////////////////////}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00023}00023\ \textcolor{comment}{}\textcolor{preprocessor}{\#include\ "{}interface\_config.h"{}}\ \textcolor{comment}{/*\ used\ uart\ defines\ in\ modbus.h\ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00024}00024\ } -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00025}00025\ } -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00026}00026\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00027}00027\ \textcolor{comment}{/////////////////////////////////////////////////////////////////////}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00028}00028\ \textcolor{comment}{////////////////////////////-\/-\/-\/DEFINES-\/-\/-\/////////////////////////////}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00029}00029\ \textcolor{comment}{}\textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{mylibs__defs_8h}{mylibs\_defs.h}}"{}}\textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00030}00030\ \textcolor{comment}{/**\ \ }} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00031}00031\ \textcolor{comment}{\ \ *\ @brief\ \ Analog\ for\ HAL\ define.\ Remade\ with\ pointer\ to\ structure.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00032}00032\ \textcolor{comment}{\ \ *\ @note\ \ \ @ref\ \_\_HAL\_LINKDMA.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00033}00033\ \textcolor{comment}{\ \ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00034}00034\ \textcolor{preprocessor}{\#define\ \_\_USER\_LINKDMA(\_\_HANDLE\_\_,\ \_\_PPP\_DMA\_FIELD\_\_,\ \_\_DMA\_HANDLE\_\_)\ \ \ \(\backslash\)}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00035}00035\ \textcolor{preprocessor}{do\{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00036}00036\ \textcolor{preprocessor}{(\_\_HANDLE\_\_)-\/>\_\_PPP\_DMA\_FIELD\_\_\ =\ (\_\_DMA\_HANDLE\_\_);\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \(\backslash\)}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00037}00037\ \textcolor{preprocessor}{(\_\_DMA\_HANDLE\_\_)-\/>Parent\ =\ (\_\_HANDLE\_\_);\}\ while(0U)}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00038}00038\ } -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00039}00039\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00040}00040\ \textcolor{comment}{////////////////////////////-\/-\/-\/DEFINES-\/-\/-\/////////////////////////////}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00041}00041\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00042}00042\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00043}00043\ \textcolor{comment}{/////////////////////////////////////////////////////////////////////}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00044}00044\ \textcolor{comment}{///////////////////////-\/-\/-\/STRUCTURES\ \&\ ENUMS-\/-\/-\///////////////////////}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00045}\mbox{\hyperlink{struct_u_a_r_t___settings_type_def}{00045}}\ \textcolor{comment}{}\textcolor{keyword}{typedef}\ \textcolor{keyword}{struct\ }\textcolor{comment}{//\ struct\ with\ settings\ for\ custom\ function}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00046}00046\ \{} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00047}00047\ \ \ UART\_HandleTypeDef\ huart;} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00048}00048\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00049}00049\ \ \ GPIO\_TypeDef\ *GPIOx;} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00050}00050\ \ \ uint16\_t\ GPIO\_PIN\_RX;} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00051}00051\ \ \ uint16\_t\ GPIO\_PIN\_TX;} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00052}00052\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00053}00053\ \ \ DMA\_Stream\_TypeDef\ *DMAChannel;\ \textcolor{comment}{//\ DMAChannel\ =\ 0\ if\ doesnt\ need}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00054}00054\ \ \ uint32\_t\ DMA\_CHANNEL\_X;\ \textcolor{comment}{//\ DMAChannel\ =\ 0\ if\ doesnt\ need}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00055}00055\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00056}00056\ \ \ } -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00057}00057\ \}\mbox{\hyperlink{struct_u_a_r_t___settings_type_def}{UART\_SettingsTypeDef}};\textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00058}00058\ \textcolor{comment}{///////////////////////-\/-\/-\/STRUCTURES\ \&\ ENUMS-\/-\/-\///////////////////////}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00059}00059\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00060}00060\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00061}00061\ \textcolor{comment}{/////////////////////////////////////////////////////////////////////}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00062}00062\ \textcolor{comment}{///////////////////////////-\/-\/-\/FUNCTIONS-\/-\/-\////////////////////////////}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00063}00063\ \textcolor{comment}{}\textcolor{comment}{/**\ \ }} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00064}00064\ \textcolor{comment}{\ \ *\ @brief\ \ Initialize\ UART\ with\ UART\_SettingsTypeDef\ structure.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00065}00065\ \textcolor{comment}{\ \ *\ @param\ \ suart\ -\/\ указатель\ на\ структуру\ с\ настройками\ UART.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00066}00066\ \textcolor{comment}{\ \ *\ @return\ HAL\ status.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00067}00067\ \textcolor{comment}{\ \ *\ @note\ \ \ Данная\ структура\ содержит\ хендл\ ЮАРТ\ и\ настройки\ перефирии\ (GPIO)}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00068}00068\ \textcolor{comment}{\ \ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00069}00069\ HAL\_StatusTypeDef\ UART\_Base\_Init(\mbox{\hyperlink{struct_u_a_r_t___settings_type_def}{UART\_SettingsTypeDef}}\ *suart);\textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00070}00070\ \textcolor{comment}{/**\ \ }} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00071}00071\ \textcolor{comment}{\ \ *\ @brief\ \ Initialize\ GPIO\ for\ UART.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00072}00072\ \textcolor{comment}{\ \ *\ @param\ \ GPIOx\ \ \ \ \ \ \ -\/\ порт\ для\ настройки.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00073}00073\ \textcolor{comment}{\ \ *\ @param\ \ GPIO\_PIN\_RX\ -\/\ пин\ для\ настройки\ на\ прием.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00074}00074\ \textcolor{comment}{\ \ *\ @param\ \ GPIO\_PIN\_TX\ -\/\ пин\ для\ настройки\ на\ передачу.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00075}00075\ \textcolor{comment}{\ \ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00076}00076\ \textcolor{keywordtype}{void}\ UART\_GPIO\_Init(GPIO\_TypeDef\ *GPIOx,\ uint16\_t\ GPIO\_PIN\_RX,\ uint16\_t\ GPIO\_PIN\_TX);\textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00077}00077\ \textcolor{comment}{/**\ \ }} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00078}00078\ \textcolor{comment}{\ \ *\ @brief\ \ Initialize\ DMA\ for\ UART.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00079}00079\ \textcolor{comment}{\ \ *\ @param\ \ huart\ \ \ \ \ \ \ \ \ -\/\ указатель\ на\ хендл\ UART\ для\ настройки\ DMA.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00080}00080\ \textcolor{comment}{\ \ *\ @param\ \ hdma\_rx\ \ \ \ \ \ \ -\/\ указатель\ на\ хендл\ DMA\ для\ линии\ приема\ UART.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00081}00081\ \textcolor{comment}{\ \ *\ @param\ \ DMAChannel\ \ \ \ -\/\ указатель\ на\ канал\ DMA/поток\ DMA\ в\ STM32F407.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00082}00082\ \textcolor{comment}{\ \ *\ @param\ \ DMA\_CHANNEL\_X\ -\/\ канал\ DMA.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00083}00083\ \textcolor{comment}{\ \ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00084}00084\ \textcolor{keywordtype}{void}\ UART\_DMA\_Init(UART\_HandleTypeDef\ *huart,\ DMA\_HandleTypeDef\ *hdma\_rx,\ DMA\_Stream\_TypeDef\ *DMAChannel,\ uint32\_t\ DMA\_CHANNEL\_X);\textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00085}00085\ \textcolor{comment}{/**\ \ }} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00086}00086\ \textcolor{comment}{\ \ *\ @brief\ \ Initialize\ UART\ \&\ DMA\ clock\ and\ interrupt.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00087}00087\ \textcolor{comment}{\ \ *\ @param\ \ huart\ -\/\ указатель\ на\ хендл\ UART\ для\ инициализации.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00088}00088\ \textcolor{comment}{\ \ *\ @note\ \ \ Чтобы\ не\ генерировать\ функцию\ с\ иницилизацией\ неиспользуемых\ UART,}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00089}00089\ \textcolor{comment}{\ \ \ \ \ \ \ \ \ \ \ \ дефайнами\ определяются\ используемые\ UART.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00090}00090\ \textcolor{comment}{\ \ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00091}00091\ \textcolor{keywordtype}{void}\ UART\_MspInit(UART\_HandleTypeDef\ *huart);\textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00092}00092\ \textcolor{comment}{/**\ \ }} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00093}00093\ \textcolor{comment}{\ \ *\ @brief\ \ Deinitialize\ UART\ \&\ DMA\ clock\ and\ interrupt.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00094}00094\ \textcolor{comment}{\ \ *\ @param\ \ huart\ -\/\ указатель\ на\ хендл\ UART\ для\ деинициализации.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00095}00095\ \textcolor{comment}{\ \ *\ @note\ \ \ Чтобы\ не\ генерировать\ функцию\ с\ деиницилизацией\ неиспользуемых\ UART,}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00096}00096\ \textcolor{comment}{\ \ \ \ \ \ \ \ \ \ \ \ дефайнами\ в\ rs\_message.h\ определяются\ используемые\ UART.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00097}00097\ \textcolor{comment}{\ \ */}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00098}00098\ \textcolor{keywordtype}{void}\ UART\_MspDeInit(UART\_HandleTypeDef\ *huart);} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00099}00099\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00100}00100\ \textcolor{comment}{/**\ \ }} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00101}00101\ \textcolor{comment}{\ \ *\ @brief\ \ Check\ that\ uart\ init\ structure\ have\ correct\ values.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00102}00102\ \textcolor{comment}{\ \ *\ @param\ \ suart\ -\/\ указатель\ на\ структуру\ с\ настройками\ UART.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00103}00103\ \textcolor{comment}{\ \ *\ @return\ HAL\ status.}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00104}00104\ \textcolor{comment}{\ \ */}\ } -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00105}00105\ HAL\_StatusTypeDef\ Check\_UART\_Init\_Struct(\mbox{\hyperlink{struct_u_a_r_t___settings_type_def}{UART\_SettingsTypeDef}}\ *suart);\textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00106}00106\ \textcolor{comment}{///////////////////////////-\/-\/-\/FUNCTIONS-\/-\/-\////////////////////////////}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00107}00107\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{____general__uart_8h_source_l00108}00108\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ \_\_UART\_GENERAL\_H\_}} - -\end{DoxyCode} diff --git a/Doc/latex/_s_p_i__usage__example-example.tex b/Doc/latex/_s_p_i__usage__example-example.tex deleted file mode 100644 index 82f9edf..0000000 --- a/Doc/latex/_s_p_i__usage__example-example.tex +++ /dev/null @@ -1,52 +0,0 @@ -\doxysection{SPI\+\_\+\+Usage\+\_\+\+Example} -\hypertarget{_s_p_i__usage__example-example}{}\label{_s_p_i__usage__example-example}Пример использования SPI\+\_\+\+Base\+\_\+\+Init. - -Пример использования SPI\+\_\+\+Base\+\_\+\+Init. Инициализация SPI1 с базовыми настройками\+: -\begin{DoxyCode}{0} -\DoxyCodeLine{\textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{general__spi_8h}{general\_spi.h}}"{}}} -\DoxyCodeLine{} -\DoxyCodeLine{\mbox{\hyperlink{struct_s_p_i___settings_type_def}{SPI\_SettingsTypeDef}}\ mySPI;} -\DoxyCodeLine{} -\DoxyCodeLine{\textcolor{keywordtype}{void}\ SPI1\_Init(\textcolor{keywordtype}{void})} -\DoxyCodeLine{\{} -\DoxyCodeLine{\ \ \ \ \textcolor{comment}{//\ Настройка\ SPI1}} -\DoxyCodeLine{\ \ \ \ mySPI.\mbox{\hyperlink{struct_s_p_i___settings_type_def_ad203d8b8d67e4f477d002d15b03ba422}{hspi}}.Instance\ =\ SPI1;} -\DoxyCodeLine{\ \ \ \ mySPI.\mbox{\hyperlink{struct_s_p_i___settings_type_def_ad203d8b8d67e4f477d002d15b03ba422}{hspi}}.Init.Mode\ =\ SPI\_MODE\_MASTER;} -\DoxyCodeLine{\ \ \ \ mySPI.\mbox{\hyperlink{struct_s_p_i___settings_type_def_ad203d8b8d67e4f477d002d15b03ba422}{hspi}}.Init.Direction\ =\ SPI\_DIRECTION\_2LINES;} -\DoxyCodeLine{\ \ \ \ mySPI.\mbox{\hyperlink{struct_s_p_i___settings_type_def_ad203d8b8d67e4f477d002d15b03ba422}{hspi}}.Init.DataSize\ =\ SPI\_DATASIZE\_8BIT;} -\DoxyCodeLine{\ \ \ \ mySPI.\mbox{\hyperlink{struct_s_p_i___settings_type_def_ad203d8b8d67e4f477d002d15b03ba422}{hspi}}.Init.CLKPolarity\ =\ SPI\_POLARITY\_LOW;} -\DoxyCodeLine{\ \ \ \ mySPI.\mbox{\hyperlink{struct_s_p_i___settings_type_def_ad203d8b8d67e4f477d002d15b03ba422}{hspi}}.Init.CLKPhase\ =\ SPI\_PHASE\_1EDGE;} -\DoxyCodeLine{\ \ \ \ mySPI.\mbox{\hyperlink{struct_s_p_i___settings_type_def_ad203d8b8d67e4f477d002d15b03ba422}{hspi}}.Init.NSS\ =\ SPI\_NSS\_SOFT;} -\DoxyCodeLine{\ \ \ \ mySPI.\mbox{\hyperlink{struct_s_p_i___settings_type_def_ad203d8b8d67e4f477d002d15b03ba422}{hspi}}.Init.BaudRatePrescaler\ =\ SPI\_BAUDRATEPRESCALER\_16;} -\DoxyCodeLine{\ \ \ \ mySPI.\mbox{\hyperlink{struct_s_p_i___settings_type_def_ad203d8b8d67e4f477d002d15b03ba422}{hspi}}.Init.FirstBit\ =\ SPI\_FIRSTBIT\_MSB;} -\DoxyCodeLine{\ \ \ \ mySPI.\mbox{\hyperlink{struct_s_p_i___settings_type_def_ad203d8b8d67e4f477d002d15b03ba422}{hspi}}.Init.TIMode\ =\ SPI\_TIMODE\_DISABLE;} -\DoxyCodeLine{\ \ \ \ mySPI.\mbox{\hyperlink{struct_s_p_i___settings_type_def_ad203d8b8d67e4f477d002d15b03ba422}{hspi}}.Init.CRCCalculation\ =\ SPI\_CRCCALCULATION\_DISABLE;} -\DoxyCodeLine{} -\DoxyCodeLine{\ \ \ \ \textcolor{comment}{//\ Настройка\ GPIO\ для\ SPI}} -\DoxyCodeLine{\ \ \ \ mySPI.\mbox{\hyperlink{struct_s_p_i___settings_type_def_a6a15d48eccf92959de3a086031fdc979}{CLK\_GPIOx}}\ =\ GPIOA;} -\DoxyCodeLine{\ \ \ \ mySPI.\mbox{\hyperlink{struct_s_p_i___settings_type_def_a3bcb1ed12da3544e02e6d36493669bdc}{CLK\_PIN}}\ =\ GPIO\_PIN\_5;} -\DoxyCodeLine{\ \ \ \ mySPI.\mbox{\hyperlink{struct_s_p_i___settings_type_def_a3f3748103a0b7861f6700042fd691ba1}{CLK\_GPIO\_AlternageFunc}}\ =\ GPIO\_AF5\_SPI1;} -\DoxyCodeLine{} -\DoxyCodeLine{\ \ \ \ mySPI.\mbox{\hyperlink{struct_s_p_i___settings_type_def_a0d55a2941854f61934487f3d209cfa95}{MISO\_GPIOx}}\ =\ GPIOA;} -\DoxyCodeLine{\ \ \ \ mySPI.\mbox{\hyperlink{struct_s_p_i___settings_type_def_a3366c654d7ec6dd41c6a0b504dc8509a}{MISO\_PIN}}\ =\ GPIO\_PIN\_6;} -\DoxyCodeLine{\ \ \ \ mySPI.\mbox{\hyperlink{struct_s_p_i___settings_type_def_aecd7a5c6e205335b8ed229d74cd35d14}{MISO\_GPIO\_AlternageFunc}}\ =\ GPIO\_AF5\_SPI1;} -\DoxyCodeLine{} -\DoxyCodeLine{\ \ \ \ mySPI.\mbox{\hyperlink{struct_s_p_i___settings_type_def_a0af3bdb273818ff97eb4ff3cff918820}{MOSI\_GPIOx}}\ =\ GPIOA;} -\DoxyCodeLine{\ \ \ \ mySPI.\mbox{\hyperlink{struct_s_p_i___settings_type_def_a961208869faf4a7369aaf4edde75f176}{MOSI\_PIN}}\ =\ GPIO\_PIN\_7;} -\DoxyCodeLine{\ \ \ \ mySPI.\mbox{\hyperlink{struct_s_p_i___settings_type_def_afbe75a1c36650a4a9b41fa706a4c7eab}{MOSI\_GPIO\_AlternageFunc}}\ =\ GPIO\_AF5\_SPI1;} -\DoxyCodeLine{} -\DoxyCodeLine{\ \ \ \ \textcolor{comment}{//\ Инициализация\ SPI}} -\DoxyCodeLine{\ \ \ \ \textcolor{keywordflow}{if}(\mbox{\hyperlink{group___m_y___l_i_b_s___s_p_i_ga0e177e3c57a8fcdc73b5602e72ec66ba}{SPI\_Base\_Init}}(\&mySPI)\ !=\ HAL\_OK)} -\DoxyCodeLine{\ \ \ \ \{} -\DoxyCodeLine{\ \ \ \ \ \ \ \ \textcolor{comment}{//\ Обработка\ ошибки}} -\DoxyCodeLine{\ \ \ \ \}} -\DoxyCodeLine{\}} - -\end{DoxyCode} - - - -\begin{DoxyCodeInclude}{0} - -\end{DoxyCodeInclude} - \ No newline at end of file diff --git a/Doc/latex/bit__access_8h.tex b/Doc/latex/bit__access_8h.tex index 4ce7302..4f37e4d 100644 --- a/Doc/latex/bit__access_8h.tex +++ b/Doc/latex/bit__access_8h.tex @@ -1,5 +1,5 @@ -\doxysection{E\+:/.WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Inc/bit\+\_\+access.h File Reference} -\hypertarget{bit__access_8h}{}\label{bit__access_8h}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/bit\_access.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/bit\_access.h}} +\doxysection{E\+:/.WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs/\+Inc/bit\+\_\+access.h File Reference} +\hypertarget{bit__access_8h}{}\label{bit__access_8h}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibs/Inc/bit\_access.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibs/Inc/bit\_access.h}} Заголочный файл для дефайнов битового доступа. @@ -11,7 +11,7 @@ Include dependency graph for bit\+\_\+access.\+h\+: \begin{figure}[H] \begin{center} \leavevmode -\includegraphics[width=229pt]{bit__access_8h__incl} +\includegraphics[width=212pt]{bit__access_8h__incl} \end{center} \end{figure} This graph shows which files directly or indirectly include this file\+: @@ -19,7 +19,7 @@ This graph shows which files directly or indirectly include this file\+: \begin{figure}[H] \begin{center} \leavevmode -\includegraphics[width=229pt]{bit__access_8h__dep__incl} +\includegraphics[width=212pt]{bit__access_8h__dep__incl} \end{center} \end{figure} \doxysubsubsection*{Classes} diff --git a/Doc/latex/bit__access_8h__dep__incl.md5 b/Doc/latex/bit__access_8h__dep__incl.md5 index d668a32..cbb050e 100644 --- a/Doc/latex/bit__access_8h__dep__incl.md5 +++ b/Doc/latex/bit__access_8h__dep__incl.md5 @@ -1 +1 @@ -a0db7c46e6c8e84aaed5bb4becf5bf9c \ No newline at end of file +4dab8ce789924da2e24a48609f62737b \ No newline at end of file diff --git a/Doc/latex/bit__access_8h__dep__incl.pdf b/Doc/latex/bit__access_8h__dep__incl.pdf index 413e18b..9be0751 100644 Binary files a/Doc/latex/bit__access_8h__dep__incl.pdf and b/Doc/latex/bit__access_8h__dep__incl.pdf differ diff --git a/Doc/latex/bit__access_8h__incl.md5 b/Doc/latex/bit__access_8h__incl.md5 index 8982918..a6ca79d 100644 --- a/Doc/latex/bit__access_8h__incl.md5 +++ b/Doc/latex/bit__access_8h__incl.md5 @@ -1 +1 @@ -04aae01d1a86d60c14b0ea57bbf11647 \ No newline at end of file +b0cf5f4a55e63cfdea9bf78e53ce63ec \ No newline at end of file diff --git a/Doc/latex/bit__access_8h__incl.pdf b/Doc/latex/bit__access_8h__incl.pdf index c3afe03..51efe14 100644 Binary files a/Doc/latex/bit__access_8h__incl.pdf and b/Doc/latex/bit__access_8h__incl.pdf differ diff --git a/Doc/latex/bit__access_8h_source.tex b/Doc/latex/bit__access_8h_source.tex index f5e2fec..6db1955 100644 --- a/Doc/latex/bit__access_8h_source.tex +++ b/Doc/latex/bit__access_8h_source.tex @@ -1,5 +1,5 @@ \doxysection{bit\+\_\+access.\+h} -\hypertarget{bit__access_8h_source}{}\label{bit__access_8h_source}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/bit\_access.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/bit\_access.h}} +\hypertarget{bit__access_8h_source}{}\label{bit__access_8h_source}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibs/Inc/bit\_access.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibs/Inc/bit\_access.h}} \mbox{\hyperlink{bit__access_8h}{Go to the documentation of this file.}} \begin{DoxyCode}{0} \DoxyCodeLine{\Hypertarget{bit__access_8h_source_l00001}00001\ \textcolor{comment}{/**\ }} diff --git a/Doc/latex/evolve__optimizer_8h.tex b/Doc/latex/evolve__optimizer_8h.tex index bc83850..4068f31 100644 --- a/Doc/latex/evolve__optimizer_8h.tex +++ b/Doc/latex/evolve__optimizer_8h.tex @@ -1,5 +1,5 @@ -\doxysection{E\+:/.WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Inc/evolve\+\_\+optimizer.h File Reference} -\hypertarget{evolve__optimizer_8h}{}\label{evolve__optimizer_8h}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/evolve\_optimizer.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/evolve\_optimizer.h}} +\doxysection{E\+:/.WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs/\+Inc/evolve\+\_\+optimizer.h File Reference} +\hypertarget{evolve__optimizer_8h}{}\label{evolve__optimizer_8h}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibs/Inc/evolve\_optimizer.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibs/Inc/evolve\_optimizer.h}} Заголовочный файл для адаптивного подбора параметров @@ -21,7 +21,7 @@ This graph shows which files directly or indirectly include this file\+: \begin{figure}[H] \begin{center} \leavevmode -\includegraphics[width=229pt]{evolve__optimizer_8h__dep__incl} +\includegraphics[width=212pt]{evolve__optimizer_8h__dep__incl} \end{center} \end{figure} \doxysubsubsection*{Classes} diff --git a/Doc/latex/evolve__optimizer_8h__dep__incl.md5 b/Doc/latex/evolve__optimizer_8h__dep__incl.md5 index 17ac4cc..8ece981 100644 --- a/Doc/latex/evolve__optimizer_8h__dep__incl.md5 +++ b/Doc/latex/evolve__optimizer_8h__dep__incl.md5 @@ -1 +1 @@ -a385857375106a9066dc97059b8e5f66 \ No newline at end of file +a0affaffafe83b1e4cf8ca3fc40e3aed \ No newline at end of file diff --git a/Doc/latex/evolve__optimizer_8h__dep__incl.pdf b/Doc/latex/evolve__optimizer_8h__dep__incl.pdf index 80575f5..850bc9f 100644 Binary files a/Doc/latex/evolve__optimizer_8h__dep__incl.pdf and b/Doc/latex/evolve__optimizer_8h__dep__incl.pdf differ diff --git a/Doc/latex/evolve__optimizer_8h__incl.md5 b/Doc/latex/evolve__optimizer_8h__incl.md5 index b0017bc..50d9e87 100644 --- a/Doc/latex/evolve__optimizer_8h__incl.md5 +++ b/Doc/latex/evolve__optimizer_8h__incl.md5 @@ -1 +1 @@ -e567d0680734fcff06b08511863dc20f \ No newline at end of file +408dcb9ada023de3bfc1cdb66d4747c7 \ No newline at end of file diff --git a/Doc/latex/evolve__optimizer_8h__incl.pdf b/Doc/latex/evolve__optimizer_8h__incl.pdf index 6ecb84a..ac1c537 100644 Binary files a/Doc/latex/evolve__optimizer_8h__incl.pdf and b/Doc/latex/evolve__optimizer_8h__incl.pdf differ diff --git a/Doc/latex/evolve__optimizer_8h_source.tex b/Doc/latex/evolve__optimizer_8h_source.tex index 36909b1..99f6969 100644 --- a/Doc/latex/evolve__optimizer_8h_source.tex +++ b/Doc/latex/evolve__optimizer_8h_source.tex @@ -1,5 +1,5 @@ \doxysection{evolve\+\_\+optimizer.\+h} -\hypertarget{evolve__optimizer_8h_source}{}\label{evolve__optimizer_8h_source}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/evolve\_optimizer.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/evolve\_optimizer.h}} +\hypertarget{evolve__optimizer_8h_source}{}\label{evolve__optimizer_8h_source}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibs/Inc/evolve\_optimizer.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibs/Inc/evolve\_optimizer.h}} \mbox{\hyperlink{evolve__optimizer_8h}{Go to the documentation of this file.}} \begin{DoxyCode}{0} \DoxyCodeLine{\Hypertarget{evolve__optimizer_8h_source_l00001}00001\ \textcolor{comment}{/**}} diff --git a/Doc/latex/examples.tex b/Doc/latex/examples.tex deleted file mode 100644 index 5e9c832..0000000 --- a/Doc/latex/examples.tex +++ /dev/null @@ -1,4 +0,0 @@ -\doxysection{Examples} -Here is a list of all examples\+:\begin{DoxyCompactItemize} -\item -\mbox{\hyperlink{_s_p_i__usage__example-example}{SPI\+\_\+\+Usage\+\_\+\+Example}}\end{DoxyCompactItemize} diff --git a/Doc/latex/files.tex b/Doc/latex/files.tex index 7997671..3015b2d 100644 --- a/Doc/latex/files.tex +++ b/Doc/latex/files.tex @@ -1,21 +1,21 @@ \doxysection{File List} Here is a list of all documented files with brief descriptions\+:\begin{DoxyCompactList} -\item\contentsline{section}{E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\mbox{\hyperlink{mainpage_8h_source}{mainpage.\+h}} }{\pageref{mainpage_8h_source}}{} -\item\contentsline{section}{E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Inc/\mbox{\hyperlink{____general__flash_8h_source}{\+\_\+\+\_\+general\+\_\+flash.\+h}} }{\pageref{____general__flash_8h_source}}{} -\item\contentsline{section}{E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Inc/\mbox{\hyperlink{bit__access_8h}{bit\+\_\+access.\+h}} \\*Заголочный файл для дефайнов битового доступа }{\pageref{bit__access_8h}}{} -\item\contentsline{section}{E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Inc/\mbox{\hyperlink{evolve__optimizer_8h}{evolve\+\_\+optimizer.\+h}} \\*Заголовочный файл для адаптивного подбора параметров }{\pageref{evolve__optimizer_8h}}{} -\item\contentsline{section}{E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Inc/\mbox{\hyperlink{general__gpio_8h}{general\+\_\+gpio.\+h}} \\*Заголовочный файл для модуля инициализации портов и работы с ними }{\pageref{general__gpio_8h}}{} -\item\contentsline{section}{E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Inc/\mbox{\hyperlink{general__spi_8h}{general\+\_\+spi.\+h}} \\*Заголовочный файл для модуля инициализации SPI }{\pageref{general__spi_8h}}{} -\item\contentsline{section}{E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Inc/\mbox{\hyperlink{general__tim_8h}{general\+\_\+tim.\+h}} \\*Заголовочный файл для модуля инициализации таймеров и работы с ними }{\pageref{general__tim_8h}}{} -\item\contentsline{section}{E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Inc/\mbox{\hyperlink{general__uart_8h}{general\+\_\+uart.\+h}} \\*Заголовочный файл для модуля инициализации UART }{\pageref{general__uart_8h}}{} -\item\contentsline{section}{E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Inc/\mbox{\hyperlink{mylibs__config_8h}{mylibs\+\_\+config.\+h}} \\*Конфигурации для библиотек My\+Libs }{\pageref{mylibs__config_8h}}{} -\item\contentsline{section}{E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Inc/\mbox{\hyperlink{mylibs__defs_8h}{mylibs\+\_\+defs.\+h}} \\*Заголочный файл для дефайнов библиотеки My\+Libs\+General }{\pageref{mylibs__defs_8h}}{} -\item\contentsline{section}{E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Inc/\mbox{\hyperlink{mylibs__include_8h}{mylibs\+\_\+include.\+h}} \\*Заголочный файл для всех библиотек }{\pageref{mylibs__include_8h}}{} -\item\contentsline{section}{E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Inc/\mbox{\hyperlink{trace_8h}{trace.\+h}} \\*Заголочный файл для работы с трассировкой }{\pageref{trace_8h}}{} -\item\contentsline{section}{E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Inc/\mbox{\hyperlink{trackers_8h}{trackers.\+h}} \\*Заголочный файл для работы с трекерами \doxylink{group___t_r_a_c_k_e_r_s}{Trackers defines} }{\pageref{trackers_8h}}{} -\item\contentsline{section}{E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Src/\mbox{\hyperlink{____general__flash_8c_source}{\+\_\+\+\_\+general\+\_\+flash.\+c}} }{\pageref{____general__flash_8c_source}}{} -\item\contentsline{section}{E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Src/\mbox{\hyperlink{general__gpio_8c}{general\+\_\+gpio.\+c}} \\*Модуль для инициализации портов и работы с ними }{\pageref{general__gpio_8c}}{} -\item\contentsline{section}{E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Src/\mbox{\hyperlink{general__spi_8c}{general\+\_\+spi.\+c}} \\*Модуль для инициализации SPI }{\pageref{general__spi_8c}}{} -\item\contentsline{section}{E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Src/\mbox{\hyperlink{general__tim_8c}{general\+\_\+tim.\+c}} \\*Модуль для инициализации таймеров и работы с ними }{\pageref{general__tim_8c}}{} -\item\contentsline{section}{E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Src/\mbox{\hyperlink{general__uart_8c}{general\+\_\+uart.\+c}} \\*Модуль для инициализации UART }{\pageref{general__uart_8c}}{} +\item\contentsline{section}{E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\mbox{\hyperlink{mainpage_8h_source}{mainpage.\+h}} }{\pageref{mainpage_8h_source}}{} +\item\contentsline{section}{E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs/\+Inc/\mbox{\hyperlink{bit__access_8h}{bit\+\_\+access.\+h}} \\*Заголочный файл для дефайнов битового доступа }{\pageref{bit__access_8h}}{} +\item\contentsline{section}{E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs/\+Inc/\mbox{\hyperlink{evolve__optimizer_8h}{evolve\+\_\+optimizer.\+h}} \\*Заголовочный файл для адаптивного подбора параметров }{\pageref{evolve__optimizer_8h}}{} +\item\contentsline{section}{E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs/\+Inc/\mbox{\hyperlink{mylibs__config_8h}{mylibs\+\_\+config.\+h}} \\*Конфигурации для библиотек My\+Libs }{\pageref{mylibs__config_8h}}{} +\item\contentsline{section}{E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs/\+Inc/\mbox{\hyperlink{mylibs__defs_8h}{mylibs\+\_\+defs.\+h}} \\*Заголочный файл для дефайнов библиотеки My\+Libs\+General }{\pageref{mylibs__defs_8h}}{} +\item\contentsline{section}{E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs/\+Inc/\mbox{\hyperlink{mylibs__include_8h}{mylibs\+\_\+include.\+h}} \\*Заголочный файл для всех библиотек }{\pageref{mylibs__include_8h}}{} +\item\contentsline{section}{E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs/\+Inc/\mbox{\hyperlink{trace_8h}{trace.\+h}} \\*Заголочный файл для работы с трассировкой }{\pageref{trace_8h}}{} +\item\contentsline{section}{E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs/\+Inc/\mbox{\hyperlink{trackers_8h}{trackers.\+h}} \\*Заголочный файл для работы с трекерами \doxylink{group___t_r_a_c_k_e_r_s}{Trackers defines} }{\pageref{trackers_8h}}{} +\item\contentsline{section}{E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+STM32\+\_\+\+General/\+Inc/\mbox{\hyperlink{____general__flash_8h_source}{\+\_\+\+\_\+general\+\_\+flash.\+h}} }{\pageref{____general__flash_8h_source}}{} +\item\contentsline{section}{E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+STM32\+\_\+\+General/\+Inc/\mbox{\hyperlink{general__gpio_8h}{general\+\_\+gpio.\+h}} \\*Заголовочный файл для модуля инициализации портов и работы с ними }{\pageref{general__gpio_8h}}{} +\item\contentsline{section}{E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+STM32\+\_\+\+General/\+Inc/\mbox{\hyperlink{general__spi_8h}{general\+\_\+spi.\+h}} \\*Заголовочный файл для модуля инициализации SPI }{\pageref{general__spi_8h}}{} +\item\contentsline{section}{E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+STM32\+\_\+\+General/\+Inc/\mbox{\hyperlink{general__tim_8h}{general\+\_\+tim.\+h}} \\*Заголовочный файл для модуля инициализации таймеров и работы с ними }{\pageref{general__tim_8h}}{} +\item\contentsline{section}{E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+STM32\+\_\+\+General/\+Inc/\mbox{\hyperlink{general__uart_8h}{general\+\_\+uart.\+h}} \\*Заголовочный файл для модуля инициализации UART }{\pageref{general__uart_8h}}{} +\item\contentsline{section}{E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+STM32\+\_\+\+General/\+Src/\mbox{\hyperlink{____general__flash_8c_source}{\+\_\+\+\_\+general\+\_\+flash.\+c}} }{\pageref{____general__flash_8c_source}}{} +\item\contentsline{section}{E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+STM32\+\_\+\+General/\+Src/\mbox{\hyperlink{general__gpio_8c}{general\+\_\+gpio.\+c}} \\*Модуль для инициализации портов и работы с ними }{\pageref{general__gpio_8c}}{} +\item\contentsline{section}{E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+STM32\+\_\+\+General/\+Src/\mbox{\hyperlink{general__spi_8c}{general\+\_\+spi.\+c}} \\*Модуль для инициализации SPI }{\pageref{general__spi_8c}}{} +\item\contentsline{section}{E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+STM32\+\_\+\+General/\+Src/\mbox{\hyperlink{general__tim_8c}{general\+\_\+tim.\+c}} \\*Модуль для инициализации таймеров и работы с ними }{\pageref{general__tim_8c}}{} +\item\contentsline{section}{E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+STM32\+\_\+\+General/\+Src/\mbox{\hyperlink{general__uart_8c}{general\+\_\+uart.\+c}} \\*Модуль для инициализации UART }{\pageref{general__uart_8c}}{} \end{DoxyCompactList} diff --git a/Doc/latex/general__gpio_8c.tex b/Doc/latex/general__gpio_8c.tex index 2a58371..afc2967 100644 --- a/Doc/latex/general__gpio_8c.tex +++ b/Doc/latex/general__gpio_8c.tex @@ -1,5 +1,5 @@ -\doxysection{E\+:/.WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Src/general\+\_\+gpio.c File Reference} -\hypertarget{general__gpio_8c}{}\label{general__gpio_8c}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Src/general\_gpio.c@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Src/general\_gpio.c}} +\doxysection{E\+:/.WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+STM32\+\_\+\+General/\+Src/general\+\_\+gpio.c File Reference} +\hypertarget{general__gpio_8c}{}\label{general__gpio_8c}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/STM32\_General/Src/general\_gpio.c@{E:/.WORK/STM32/STM32\_ExtendedLibs/STM32\_General/Src/general\_gpio.c}} Модуль для инициализации портов и работы с ними. @@ -11,7 +11,7 @@ Include dependency graph for general\+\_\+gpio.\+c\+: \begin{figure}[H] \begin{center} \leavevmode -\includegraphics[width=229pt]{general__gpio_8c__incl} +\includegraphics[width=234pt]{general__gpio_8c__incl} \end{center} \end{figure} \doxysubsubsection*{Functions} diff --git a/Doc/latex/general__gpio_8c__incl.md5 b/Doc/latex/general__gpio_8c__incl.md5 index e665dcd..53bbc74 100644 --- a/Doc/latex/general__gpio_8c__incl.md5 +++ b/Doc/latex/general__gpio_8c__incl.md5 @@ -1 +1 @@ -06087ea6fdcbd10af4ee99fd98be927c \ No newline at end of file +342270b05cfcb0c73c560e2b76026e68 \ No newline at end of file diff --git a/Doc/latex/general__gpio_8c__incl.pdf b/Doc/latex/general__gpio_8c__incl.pdf index c1e3f5a..8c3a4fa 100644 Binary files a/Doc/latex/general__gpio_8c__incl.pdf and b/Doc/latex/general__gpio_8c__incl.pdf differ diff --git a/Doc/latex/general__gpio_8c_source.tex b/Doc/latex/general__gpio_8c_source.tex index b85216a..25cb8cd 100644 --- a/Doc/latex/general__gpio_8c_source.tex +++ b/Doc/latex/general__gpio_8c_source.tex @@ -1,5 +1,5 @@ \doxysection{general\+\_\+gpio.\+c} -\hypertarget{general__gpio_8c_source}{}\label{general__gpio_8c_source}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Src/general\_gpio.c@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Src/general\_gpio.c}} +\hypertarget{general__gpio_8c_source}{}\label{general__gpio_8c_source}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/STM32\_General/Src/general\_gpio.c@{E:/.WORK/STM32/STM32\_ExtendedLibs/STM32\_General/Src/general\_gpio.c}} \mbox{\hyperlink{general__gpio_8c}{Go to the documentation of this file.}} \begin{DoxyCode}{0} \DoxyCodeLine{\Hypertarget{general__gpio_8c_source_l00001}00001\ \textcolor{comment}{/**\ }} diff --git a/Doc/latex/general__gpio_8h.tex b/Doc/latex/general__gpio_8h.tex index 677dff9..2fb0597 100644 --- a/Doc/latex/general__gpio_8h.tex +++ b/Doc/latex/general__gpio_8h.tex @@ -1,5 +1,5 @@ -\doxysection{E\+:/.WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Inc/general\+\_\+gpio.h File Reference} -\hypertarget{general__gpio_8h}{}\label{general__gpio_8h}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/general\_gpio.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/general\_gpio.h}} +\doxysection{E\+:/.WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+STM32\+\_\+\+General/\+Inc/general\+\_\+gpio.h File Reference} +\hypertarget{general__gpio_8h}{}\label{general__gpio_8h}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/STM32\_General/Inc/general\_gpio.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/STM32\_General/Inc/general\_gpio.h}} Заголовочный файл для модуля инициализации портов и работы с ними. @@ -11,7 +11,7 @@ Include dependency graph for general\+\_\+gpio.\+h\+: \begin{figure}[H] \begin{center} \leavevmode -\includegraphics[width=229pt]{general__gpio_8h__incl} +\includegraphics[width=234pt]{general__gpio_8h__incl} \end{center} \end{figure} This graph shows which files directly or indirectly include this file\+: @@ -32,6 +32,8 @@ struct \mbox{\hyperlink{struct_g_p_i_o___switch_type_def}{GPIO\+\_\+\+Switch\+Ty \doxysubsubsection*{Macros} \begin{DoxyCompactItemize} \item +\#define \mbox{\hyperlink{group___g_p_i_o___i_n_i_t_ga9c853b02c22f26023c34d1d404b6d653}{local\+\_\+time}}() +\begin{DoxyCompactList}\small\item\em Локальное время \end{DoxyCompactList}\item \#define \mbox{\hyperlink{group___g_p_i_o___i_n_i_t_ga1d42e219765ec526d99e306638ac0023}{LED\+\_\+\+PWM\+\_\+\+TICKS}}~15 \begin{DoxyCompactList}\small\item\em Количество тиков в периоде ШИМ \end{DoxyCompactList}\item \#define \mbox{\hyperlink{group___g_p_i_o___i_n_i_t_gaf2e697ac60e05813d45ea2c9c9e79c25}{LED\+\_\+\+ON}}~1 diff --git a/Doc/latex/general__gpio_8h__dep__incl.md5 b/Doc/latex/general__gpio_8h__dep__incl.md5 index daf1c10..0be641d 100644 --- a/Doc/latex/general__gpio_8h__dep__incl.md5 +++ b/Doc/latex/general__gpio_8h__dep__incl.md5 @@ -1 +1 @@ -78ab8e4e6ebf3449d861764d1b38a0a8 \ No newline at end of file +9730a8ea555f08c1f054899445c98650 \ No newline at end of file diff --git a/Doc/latex/general__gpio_8h__dep__incl.pdf b/Doc/latex/general__gpio_8h__dep__incl.pdf index cdcacaa..a8e3c04 100644 Binary files a/Doc/latex/general__gpio_8h__dep__incl.pdf and b/Doc/latex/general__gpio_8h__dep__incl.pdf differ diff --git a/Doc/latex/general__gpio_8h__incl.md5 b/Doc/latex/general__gpio_8h__incl.md5 index 4ec2cb9..acf6269 100644 --- a/Doc/latex/general__gpio_8h__incl.md5 +++ b/Doc/latex/general__gpio_8h__incl.md5 @@ -1 +1 @@ -c4bc3b9676509254c26d2cac446951d4 \ No newline at end of file +f45be804477524f73e7a8c72501ca9a3 \ No newline at end of file diff --git a/Doc/latex/general__gpio_8h__incl.pdf b/Doc/latex/general__gpio_8h__incl.pdf index 9fb4186..b1cc4e0 100644 Binary files a/Doc/latex/general__gpio_8h__incl.pdf and b/Doc/latex/general__gpio_8h__incl.pdf differ diff --git a/Doc/latex/general__gpio_8h_source.tex b/Doc/latex/general__gpio_8h_source.tex index 5965b70..77e34c0 100644 --- a/Doc/latex/general__gpio_8h_source.tex +++ b/Doc/latex/general__gpio_8h_source.tex @@ -1,5 +1,5 @@ \doxysection{general\+\_\+gpio.\+h} -\hypertarget{general__gpio_8h_source}{}\label{general__gpio_8h_source}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/general\_gpio.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/general\_gpio.h}} +\hypertarget{general__gpio_8h_source}{}\label{general__gpio_8h_source}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/STM32\_General/Inc/general\_gpio.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/STM32\_General/Inc/general\_gpio.h}} \mbox{\hyperlink{general__gpio_8h}{Go to the documentation of this file.}} \begin{DoxyCode}{0} \DoxyCodeLine{\Hypertarget{general__gpio_8h_source_l00001}00001\ \textcolor{comment}{/**\ }} @@ -32,7 +32,7 @@ \DoxyCodeLine{\Hypertarget{general__gpio_8h_source_l00028}00028\ \textcolor{comment}{\ \ */}} \DoxyCodeLine{\Hypertarget{general__gpio_8h_source_l00029}00029\ } \DoxyCodeLine{\Hypertarget{general__gpio_8h_source_l00030}00030\ \textcolor{preprocessor}{\#ifndef\ local\_time}} -\DoxyCodeLine{\Hypertarget{general__gpio_8h_source_l00031}00031\ \textcolor{preprocessor}{\#define\ local\_time()\ \ HAL\_GetTick()\ }\textcolor{comment}{///<\ Локальное\ время}} +\DoxyCodeLine{\Hypertarget{general__gpio_8h_source_l00031}\mbox{\hyperlink{group___g_p_i_o___i_n_i_t_ga9c853b02c22f26023c34d1d404b6d653}{00031}}\ \textcolor{preprocessor}{\#define\ local\_time()\ \ HAL\_GetTick()\ }\textcolor{comment}{///<\ Локальное\ время}} \DoxyCodeLine{\Hypertarget{general__gpio_8h_source_l00032}00032\ \textcolor{preprocessor}{\#endif}} \DoxyCodeLine{\Hypertarget{general__gpio_8h_source_l00033}00033\ } \DoxyCodeLine{\Hypertarget{general__gpio_8h_source_l00034}00034\ \textcolor{preprocessor}{\#ifndef\ LED\_PWM\_TICKS}} diff --git a/Doc/latex/general__spi_8c.tex b/Doc/latex/general__spi_8c.tex index 8a267c6..a61f727 100644 --- a/Doc/latex/general__spi_8c.tex +++ b/Doc/latex/general__spi_8c.tex @@ -1,5 +1,5 @@ -\doxysection{E\+:/.WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Src/general\+\_\+spi.c File Reference} -\hypertarget{general__spi_8c}{}\label{general__spi_8c}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Src/general\_spi.c@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Src/general\_spi.c}} +\doxysection{E\+:/.WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+STM32\+\_\+\+General/\+Src/general\+\_\+spi.c File Reference} +\hypertarget{general__spi_8c}{}\label{general__spi_8c}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/STM32\_General/Src/general\_spi.c@{E:/.WORK/STM32/STM32\_ExtendedLibs/STM32\_General/Src/general\_spi.c}} Модуль для инициализации SPI. @@ -7,7 +7,8 @@ {\ttfamily \#include "{}general\+\_\+spi.\+h"{}}\newline {\ttfamily \#include "{}general\+\_\+gpio.\+h"{}}\newline -Include dependency graph for general\+\_\+spi.\+c\+:\nopagebreak +Include dependency graph for general\+\_\+spi.\+c\+: +\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/Doc/latex/general__spi_8c__incl.md5 b/Doc/latex/general__spi_8c__incl.md5 index 1f76dff..82ddec8 100644 --- a/Doc/latex/general__spi_8c__incl.md5 +++ b/Doc/latex/general__spi_8c__incl.md5 @@ -1 +1 @@ -2ef78bca7433c0859e5f0181551ac011 \ No newline at end of file +40433061d2619aaf3f15c268f1e26e95 \ No newline at end of file diff --git a/Doc/latex/general__spi_8c__incl.pdf b/Doc/latex/general__spi_8c__incl.pdf index 80324e8..3ed818e 100644 Binary files a/Doc/latex/general__spi_8c__incl.pdf and b/Doc/latex/general__spi_8c__incl.pdf differ diff --git a/Doc/latex/general__spi_8c_source.tex b/Doc/latex/general__spi_8c_source.tex index 6f892b1..ea3b9d7 100644 --- a/Doc/latex/general__spi_8c_source.tex +++ b/Doc/latex/general__spi_8c_source.tex @@ -1,5 +1,5 @@ \doxysection{general\+\_\+spi.\+c} -\hypertarget{general__spi_8c_source}{}\label{general__spi_8c_source}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Src/general\_spi.c@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Src/general\_spi.c}} +\hypertarget{general__spi_8c_source}{}\label{general__spi_8c_source}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/STM32\_General/Src/general\_spi.c@{E:/.WORK/STM32/STM32\_ExtendedLibs/STM32\_General/Src/general\_spi.c}} \mbox{\hyperlink{general__spi_8c}{Go to the documentation of this file.}} \begin{DoxyCode}{0} \DoxyCodeLine{\Hypertarget{general__spi_8c_source_l00001}00001\ \textcolor{comment}{/**\ }} diff --git a/Doc/latex/general__spi_8h.tex b/Doc/latex/general__spi_8h.tex index 27be6dc..6240164 100644 --- a/Doc/latex/general__spi_8h.tex +++ b/Doc/latex/general__spi_8h.tex @@ -1,23 +1,25 @@ -\doxysection{E\+:/.WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Inc/general\+\_\+spi.h File Reference} -\hypertarget{general__spi_8h}{}\label{general__spi_8h}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/general\_spi.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/general\_spi.h}} +\doxysection{E\+:/.WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+STM32\+\_\+\+General/\+Inc/general\+\_\+spi.h File Reference} +\hypertarget{general__spi_8h}{}\label{general__spi_8h}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/STM32\_General/Inc/general\_spi.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/STM32\_General/Inc/general\_spi.h}} Заголовочный файл для модуля инициализации SPI. {\ttfamily \#include "{}mylibs\+\_\+defs.\+h"{}}\newline -Include dependency graph for general\+\_\+spi.\+h\+:\nopagebreak +Include dependency graph for general\+\_\+spi.\+h\+: +\nopagebreak \begin{figure}[H] \begin{center} \leavevmode -\includegraphics[width=229pt]{general__spi_8h__incl} +\includegraphics[width=234pt]{general__spi_8h__incl} \end{center} \end{figure} -This graph shows which files directly or indirectly include this file\+:\nopagebreak +This graph shows which files directly or indirectly include this file\+: +\nopagebreak \begin{figure}[H] \begin{center} \leavevmode -\includegraphics[width=229pt]{general__spi_8h__dep__incl} +\includegraphics[width=234pt]{general__spi_8h__dep__incl} \end{center} \end{figure} \doxysubsubsection*{Classes} diff --git a/Doc/latex/general__spi_8h__dep__incl.md5 b/Doc/latex/general__spi_8h__dep__incl.md5 index f5ac2fc..856ffce 100644 --- a/Doc/latex/general__spi_8h__dep__incl.md5 +++ b/Doc/latex/general__spi_8h__dep__incl.md5 @@ -1 +1 @@ -fea888aee51476403223144bb4236fba \ No newline at end of file +3fa916e67a704ea59a68834a5398a3fd \ No newline at end of file diff --git a/Doc/latex/general__spi_8h__dep__incl.pdf b/Doc/latex/general__spi_8h__dep__incl.pdf index 30f2e0d..458dc12 100644 Binary files a/Doc/latex/general__spi_8h__dep__incl.pdf and b/Doc/latex/general__spi_8h__dep__incl.pdf differ diff --git a/Doc/latex/general__spi_8h__incl.md5 b/Doc/latex/general__spi_8h__incl.md5 index 16cfe45..fd54542 100644 --- a/Doc/latex/general__spi_8h__incl.md5 +++ b/Doc/latex/general__spi_8h__incl.md5 @@ -1 +1 @@ -8a3d826e5468561d84d56e799c52cb0a \ No newline at end of file +2817384349c4f21eea86c59463d73bd7 \ No newline at end of file diff --git a/Doc/latex/general__spi_8h__incl.pdf b/Doc/latex/general__spi_8h__incl.pdf index 37c6296..807ab2a 100644 Binary files a/Doc/latex/general__spi_8h__incl.pdf and b/Doc/latex/general__spi_8h__incl.pdf differ diff --git a/Doc/latex/general__spi_8h_source.tex b/Doc/latex/general__spi_8h_source.tex index df6732d..53830c0 100644 --- a/Doc/latex/general__spi_8h_source.tex +++ b/Doc/latex/general__spi_8h_source.tex @@ -1,5 +1,5 @@ \doxysection{general\+\_\+spi.\+h} -\hypertarget{general__spi_8h_source}{}\label{general__spi_8h_source}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/general\_spi.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/general\_spi.h}} +\hypertarget{general__spi_8h_source}{}\label{general__spi_8h_source}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/STM32\_General/Inc/general\_spi.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/STM32\_General/Inc/general\_spi.h}} \mbox{\hyperlink{general__spi_8h}{Go to the documentation of this file.}} \begin{DoxyCode}{0} \DoxyCodeLine{\Hypertarget{general__spi_8h_source_l00001}00001\ \textcolor{comment}{/**\ }} diff --git a/Doc/latex/general__tim_8c.tex b/Doc/latex/general__tim_8c.tex index c305423..4d93866 100644 --- a/Doc/latex/general__tim_8c.tex +++ b/Doc/latex/general__tim_8c.tex @@ -1,5 +1,5 @@ -\doxysection{E\+:/.WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Src/general\+\_\+tim.c File Reference} -\hypertarget{general__tim_8c}{}\label{general__tim_8c}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Src/general\_tim.c@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Src/general\_tim.c}} +\doxysection{E\+:/.WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+STM32\+\_\+\+General/\+Src/general\+\_\+tim.c File Reference} +\hypertarget{general__tim_8c}{}\label{general__tim_8c}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/STM32\_General/Src/general\_tim.c@{E:/.WORK/STM32/STM32\_ExtendedLibs/STM32\_General/Src/general\_tim.c}} Модуль для инициализации таймеров и работы с ними. @@ -11,7 +11,7 @@ Include dependency graph for general\+\_\+tim.\+c\+: \begin{figure}[H] \begin{center} \leavevmode -\includegraphics[width=229pt]{general__tim_8c__incl} +\includegraphics[width=234pt]{general__tim_8c__incl} \end{center} \end{figure} \doxysubsubsection*{Functions} diff --git a/Doc/latex/general__tim_8c__incl.md5 b/Doc/latex/general__tim_8c__incl.md5 index 8497f91..7cacd2f 100644 --- a/Doc/latex/general__tim_8c__incl.md5 +++ b/Doc/latex/general__tim_8c__incl.md5 @@ -1 +1 @@ -018b6018bdcb384d431e75597bba52d4 \ No newline at end of file +9e77ca03a532b1218b0df0cb0f76edae \ No newline at end of file diff --git a/Doc/latex/general__tim_8c__incl.pdf b/Doc/latex/general__tim_8c__incl.pdf index 8adfc4c..177f001 100644 Binary files a/Doc/latex/general__tim_8c__incl.pdf and b/Doc/latex/general__tim_8c__incl.pdf differ diff --git a/Doc/latex/general__tim_8c_source.tex b/Doc/latex/general__tim_8c_source.tex index ff74590..7cdd37a 100644 --- a/Doc/latex/general__tim_8c_source.tex +++ b/Doc/latex/general__tim_8c_source.tex @@ -1,5 +1,5 @@ \doxysection{general\+\_\+tim.\+c} -\hypertarget{general__tim_8c_source}{}\label{general__tim_8c_source}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Src/general\_tim.c@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Src/general\_tim.c}} +\hypertarget{general__tim_8c_source}{}\label{general__tim_8c_source}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/STM32\_General/Src/general\_tim.c@{E:/.WORK/STM32/STM32\_ExtendedLibs/STM32\_General/Src/general\_tim.c}} \mbox{\hyperlink{general__tim_8c}{Go to the documentation of this file.}} \begin{DoxyCode}{0} \DoxyCodeLine{\Hypertarget{general__tim_8c_source_l00001}00001\ \textcolor{comment}{/**\ }} diff --git a/Doc/latex/general__tim_8h.tex b/Doc/latex/general__tim_8h.tex index b359f78..352de89 100644 --- a/Doc/latex/general__tim_8h.tex +++ b/Doc/latex/general__tim_8h.tex @@ -1,5 +1,5 @@ -\doxysection{E\+:/.WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Inc/general\+\_\+tim.h File Reference} -\hypertarget{general__tim_8h}{}\label{general__tim_8h}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/general\_tim.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/general\_tim.h}} +\doxysection{E\+:/.WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+STM32\+\_\+\+General/\+Inc/general\+\_\+tim.h File Reference} +\hypertarget{general__tim_8h}{}\label{general__tim_8h}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/STM32\_General/Inc/general\_tim.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/STM32\_General/Inc/general\_tim.h}} Заголовочный файл для модуля инициализации таймеров и работы с ними. @@ -12,7 +12,7 @@ Include dependency graph for general\+\_\+tim.\+h\+: \begin{figure}[H] \begin{center} \leavevmode -\includegraphics[width=229pt]{general__tim_8h__incl} +\includegraphics[width=234pt]{general__tim_8h__incl} \end{center} \end{figure} This graph shows which files directly or indirectly include this file\+: @@ -20,7 +20,7 @@ This graph shows which files directly or indirectly include this file\+: \begin{figure}[H] \begin{center} \leavevmode -\includegraphics[width=350pt]{general__tim_8h__dep__incl} +\includegraphics[width=234pt]{general__tim_8h__dep__incl} \end{center} \end{figure} \doxysubsubsection*{Classes} diff --git a/Doc/latex/general__tim_8h__dep__incl.md5 b/Doc/latex/general__tim_8h__dep__incl.md5 index 85cb58d..f1dec24 100644 --- a/Doc/latex/general__tim_8h__dep__incl.md5 +++ b/Doc/latex/general__tim_8h__dep__incl.md5 @@ -1 +1 @@ -48912ae69413105687efed9fcdd23d2d \ No newline at end of file +396eb80ec0a9a4008e79eb68ea7ca8e6 \ No newline at end of file diff --git a/Doc/latex/general__tim_8h__dep__incl.pdf b/Doc/latex/general__tim_8h__dep__incl.pdf index d15d109..47e8c57 100644 Binary files a/Doc/latex/general__tim_8h__dep__incl.pdf and b/Doc/latex/general__tim_8h__dep__incl.pdf differ diff --git a/Doc/latex/general__tim_8h__incl.md5 b/Doc/latex/general__tim_8h__incl.md5 index e11dc17..b16969f 100644 --- a/Doc/latex/general__tim_8h__incl.md5 +++ b/Doc/latex/general__tim_8h__incl.md5 @@ -1 +1 @@ -72b7b62252ba432b33a3132214cb26dd \ No newline at end of file +5a3d51cea7267486a129fc18709bb7d1 \ No newline at end of file diff --git a/Doc/latex/general__tim_8h__incl.pdf b/Doc/latex/general__tim_8h__incl.pdf index 2bc48e2..23f6352 100644 Binary files a/Doc/latex/general__tim_8h__incl.pdf and b/Doc/latex/general__tim_8h__incl.pdf differ diff --git a/Doc/latex/general__tim_8h_source.tex b/Doc/latex/general__tim_8h_source.tex index 0f6d77b..1e17d7e 100644 --- a/Doc/latex/general__tim_8h_source.tex +++ b/Doc/latex/general__tim_8h_source.tex @@ -1,5 +1,5 @@ \doxysection{general\+\_\+tim.\+h} -\hypertarget{general__tim_8h_source}{}\label{general__tim_8h_source}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/general\_tim.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/general\_tim.h}} +\hypertarget{general__tim_8h_source}{}\label{general__tim_8h_source}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/STM32\_General/Inc/general\_tim.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/STM32\_General/Inc/general\_tim.h}} \mbox{\hyperlink{general__tim_8h}{Go to the documentation of this file.}} \begin{DoxyCode}{0} \DoxyCodeLine{\Hypertarget{general__tim_8h_source_l00001}00001\ \textcolor{comment}{/**\ }} diff --git a/Doc/latex/general__uart_8c.tex b/Doc/latex/general__uart_8c.tex index 204133f..b317156 100644 --- a/Doc/latex/general__uart_8c.tex +++ b/Doc/latex/general__uart_8c.tex @@ -1,5 +1,5 @@ -\doxysection{E\+:/.WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Src/general\+\_\+uart.c File Reference} -\hypertarget{general__uart_8c}{}\label{general__uart_8c}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Src/general\_uart.c@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Src/general\_uart.c}} +\doxysection{E\+:/.WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+STM32\+\_\+\+General/\+Src/general\+\_\+uart.c File Reference} +\hypertarget{general__uart_8c}{}\label{general__uart_8c}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/STM32\_General/Src/general\_uart.c@{E:/.WORK/STM32/STM32\_ExtendedLibs/STM32\_General/Src/general\_uart.c}} Модуль для инициализации UART. @@ -7,7 +7,8 @@ {\ttfamily \#include "{}general\+\_\+uart.\+h"{}}\newline {\ttfamily \#include "{}general\+\_\+gpio.\+h"{}}\newline -Include dependency graph for general\+\_\+uart.\+c\+:\nopagebreak +Include dependency graph for general\+\_\+uart.\+c\+: +\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/Doc/latex/general__uart_8c__incl.md5 b/Doc/latex/general__uart_8c__incl.md5 index 3238d36..d3ffa27 100644 --- a/Doc/latex/general__uart_8c__incl.md5 +++ b/Doc/latex/general__uart_8c__incl.md5 @@ -1 +1 @@ -aca5aa942ee268e1ecf62cd6f36f940b \ No newline at end of file +17e715764a6cb3c54fc83479581d6065 \ No newline at end of file diff --git a/Doc/latex/general__uart_8c__incl.pdf b/Doc/latex/general__uart_8c__incl.pdf index 6988894..0d6d63e 100644 Binary files a/Doc/latex/general__uart_8c__incl.pdf and b/Doc/latex/general__uart_8c__incl.pdf differ diff --git a/Doc/latex/general__uart_8c_source.tex b/Doc/latex/general__uart_8c_source.tex index 2d231c4..ced10fe 100644 --- a/Doc/latex/general__uart_8c_source.tex +++ b/Doc/latex/general__uart_8c_source.tex @@ -1,5 +1,5 @@ \doxysection{general\+\_\+uart.\+c} -\hypertarget{general__uart_8c_source}{}\label{general__uart_8c_source}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Src/general\_uart.c@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Src/general\_uart.c}} +\hypertarget{general__uart_8c_source}{}\label{general__uart_8c_source}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/STM32\_General/Src/general\_uart.c@{E:/.WORK/STM32/STM32\_ExtendedLibs/STM32\_General/Src/general\_uart.c}} \mbox{\hyperlink{general__uart_8c}{Go to the documentation of this file.}} \begin{DoxyCode}{0} \DoxyCodeLine{\Hypertarget{general__uart_8c_source_l00001}00001\ \textcolor{comment}{/**\ }} diff --git a/Doc/latex/general__uart_8h.tex b/Doc/latex/general__uart_8h.tex index 717023b..4f8fb49 100644 --- a/Doc/latex/general__uart_8h.tex +++ b/Doc/latex/general__uart_8h.tex @@ -1,23 +1,25 @@ -\doxysection{E\+:/.WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Inc/general\+\_\+uart.h File Reference} -\hypertarget{general__uart_8h}{}\label{general__uart_8h}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/general\_uart.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/general\_uart.h}} +\doxysection{E\+:/.WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+STM32\+\_\+\+General/\+Inc/general\+\_\+uart.h File Reference} +\hypertarget{general__uart_8h}{}\label{general__uart_8h}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/STM32\_General/Inc/general\_uart.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/STM32\_General/Inc/general\_uart.h}} Заголовочный файл для модуля инициализации UART. {\ttfamily \#include "{}mylibs\+\_\+defs.\+h"{}}\newline -Include dependency graph for general\+\_\+uart.\+h\+:\nopagebreak +Include dependency graph for general\+\_\+uart.\+h\+: +\nopagebreak \begin{figure}[H] \begin{center} \leavevmode -\includegraphics[width=229pt]{general__uart_8h__incl} +\includegraphics[width=234pt]{general__uart_8h__incl} \end{center} \end{figure} -This graph shows which files directly or indirectly include this file\+:\nopagebreak +This graph shows which files directly or indirectly include this file\+: +\nopagebreak \begin{figure}[H] \begin{center} \leavevmode -\includegraphics[width=229pt]{general__uart_8h__dep__incl} +\includegraphics[width=234pt]{general__uart_8h__dep__incl} \end{center} \end{figure} \doxysubsubsection*{Classes} diff --git a/Doc/latex/general__uart_8h__dep__incl.md5 b/Doc/latex/general__uart_8h__dep__incl.md5 index 389d754..5fcc736 100644 --- a/Doc/latex/general__uart_8h__dep__incl.md5 +++ b/Doc/latex/general__uart_8h__dep__incl.md5 @@ -1 +1 @@ -7baa47c3e07d62541ed2b703b2008261 \ No newline at end of file +993455368f5fb2bc0478df137d216d75 \ No newline at end of file diff --git a/Doc/latex/general__uart_8h__dep__incl.pdf b/Doc/latex/general__uart_8h__dep__incl.pdf index 9be1d44..c0c2040 100644 Binary files a/Doc/latex/general__uart_8h__dep__incl.pdf and b/Doc/latex/general__uart_8h__dep__incl.pdf differ diff --git a/Doc/latex/general__uart_8h__incl.md5 b/Doc/latex/general__uart_8h__incl.md5 index a5e6dee..7de0d71 100644 --- a/Doc/latex/general__uart_8h__incl.md5 +++ b/Doc/latex/general__uart_8h__incl.md5 @@ -1 +1 @@ -7d0dbc4788a1c22d3b92320c194dfaad \ No newline at end of file +504837d40496a46bf9a3f0f190470a4f \ No newline at end of file diff --git a/Doc/latex/general__uart_8h__incl.pdf b/Doc/latex/general__uart_8h__incl.pdf index 053acc6..ccac83a 100644 Binary files a/Doc/latex/general__uart_8h__incl.pdf and b/Doc/latex/general__uart_8h__incl.pdf differ diff --git a/Doc/latex/general__uart_8h_source.tex b/Doc/latex/general__uart_8h_source.tex index afc8879..6b9c290 100644 --- a/Doc/latex/general__uart_8h_source.tex +++ b/Doc/latex/general__uart_8h_source.tex @@ -1,5 +1,5 @@ \doxysection{general\+\_\+uart.\+h} -\hypertarget{general__uart_8h_source}{}\label{general__uart_8h_source}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/general\_uart.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/general\_uart.h}} +\hypertarget{general__uart_8h_source}{}\label{general__uart_8h_source}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/STM32\_General/Inc/general\_uart.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/STM32\_General/Inc/general\_uart.h}} \mbox{\hyperlink{general__uart_8h}{Go to the documentation of this file.}} \begin{DoxyCode}{0} \DoxyCodeLine{\Hypertarget{general__uart_8h_source_l00001}00001\ \textcolor{comment}{/**\ }} diff --git a/Doc/latex/group___b_i_t___a_c_c_e_s_s___d_e_f_i_n_e_s.pdf b/Doc/latex/group___b_i_t___a_c_c_e_s_s___d_e_f_i_n_e_s.pdf index 3ae7469..2c8efa8 100644 Binary files a/Doc/latex/group___b_i_t___a_c_c_e_s_s___d_e_f_i_n_e_s.pdf and b/Doc/latex/group___b_i_t___a_c_c_e_s_s___d_e_f_i_n_e_s.pdf differ diff --git a/Doc/latex/group___b_i_t___a_c_c_e_s_s___d_e_f_i_n_e_s.tex b/Doc/latex/group___b_i_t___a_c_c_e_s_s___d_e_f_i_n_e_s.tex index 4038bb6..82f53af 100644 --- a/Doc/latex/group___b_i_t___a_c_c_e_s_s___d_e_f_i_n_e_s.tex +++ b/Doc/latex/group___b_i_t___a_c_c_e_s_s___d_e_f_i_n_e_s.tex @@ -5,7 +5,8 @@ Макросы и typedef\textquotesingle{}ы для работы с битами в unsigned типах. -Collaboration diagram for Bit access defines\+:\nopagebreak +Collaboration diagram for Bit access defines\+: +\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/Doc/latex/group___d_e_l_a_y_s___d_e_f_i_n_e_s.pdf b/Doc/latex/group___d_e_l_a_y_s___d_e_f_i_n_e_s.pdf index 09da61d..4b406c4 100644 Binary files a/Doc/latex/group___d_e_l_a_y_s___d_e_f_i_n_e_s.pdf and b/Doc/latex/group___d_e_l_a_y_s___d_e_f_i_n_e_s.pdf differ diff --git a/Doc/latex/group___d_e_l_a_y_s___d_e_f_i_n_e_s.tex b/Doc/latex/group___d_e_l_a_y_s___d_e_f_i_n_e_s.tex index 483828b..9dd509e 100644 --- a/Doc/latex/group___d_e_l_a_y_s___d_e_f_i_n_e_s.tex +++ b/Doc/latex/group___d_e_l_a_y_s___d_e_f_i_n_e_s.tex @@ -5,7 +5,8 @@ Макросы и определения для работы с задержками в миллисекундах. -Collaboration diagram for Delays defines\+:\nopagebreak +Collaboration diagram for Delays defines\+: +\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/Doc/latex/group___e_r_r_o_r___h_a_n_d_l_e_r___d_e_f_i_n_e_s.pdf b/Doc/latex/group___e_r_r_o_r___h_a_n_d_l_e_r___d_e_f_i_n_e_s.pdf index bb52b39..a551bb6 100644 Binary files a/Doc/latex/group___e_r_r_o_r___h_a_n_d_l_e_r___d_e_f_i_n_e_s.pdf and b/Doc/latex/group___e_r_r_o_r___h_a_n_d_l_e_r___d_e_f_i_n_e_s.pdf differ diff --git a/Doc/latex/group___e_r_r_o_r___h_a_n_d_l_e_r___d_e_f_i_n_e_s.tex b/Doc/latex/group___e_r_r_o_r___h_a_n_d_l_e_r___d_e_f_i_n_e_s.tex index c4cbba2..5d17ae3 100644 --- a/Doc/latex/group___e_r_r_o_r___h_a_n_d_l_e_r___d_e_f_i_n_e_s.tex +++ b/Doc/latex/group___e_r_r_o_r___h_a_n_d_l_e_r___d_e_f_i_n_e_s.tex @@ -5,7 +5,8 @@ Дефайны для обработки ошибок -Collaboration diagram for Error Handler defines\+:\nopagebreak +Collaboration diagram for Error Handler defines\+: +\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/Doc/latex/group___e_v_o_l_v_e___c_o_n_f_i_g.pdf b/Doc/latex/group___e_v_o_l_v_e___c_o_n_f_i_g.pdf index c9c25ef..1b1d8ab 100644 Binary files a/Doc/latex/group___e_v_o_l_v_e___c_o_n_f_i_g.pdf and b/Doc/latex/group___e_v_o_l_v_e___c_o_n_f_i_g.pdf differ diff --git a/Doc/latex/group___e_v_o_l_v_e___c_o_n_f_i_g.tex b/Doc/latex/group___e_v_o_l_v_e___c_o_n_f_i_g.tex index e26da1c..ababb3b 100644 --- a/Doc/latex/group___e_v_o_l_v_e___c_o_n_f_i_g.tex +++ b/Doc/latex/group___e_v_o_l_v_e___c_o_n_f_i_g.tex @@ -5,7 +5,8 @@ Конфигурация однослойного персептрона и алгоритма обучения -Collaboration diagram for Evolve configs\+:\nopagebreak +Collaboration diagram for Evolve configs\+: +\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/Doc/latex/group___e_v_o_l_v_e___o_p_t_i_m_i_z_e_r.pdf b/Doc/latex/group___e_v_o_l_v_e___o_p_t_i_m_i_z_e_r.pdf index cab1e76..86f3e87 100644 Binary files a/Doc/latex/group___e_v_o_l_v_e___o_p_t_i_m_i_z_e_r.pdf and b/Doc/latex/group___e_v_o_l_v_e___o_p_t_i_m_i_z_e_r.pdf differ diff --git a/Doc/latex/group___e_v_o_l_v_e___o_p_t_i_m_i_z_e_r.tex b/Doc/latex/group___e_v_o_l_v_e___o_p_t_i_m_i_z_e_r.tex index 0a8f274..fc8f22f 100644 --- a/Doc/latex/group___e_v_o_l_v_e___o_p_t_i_m_i_z_e_r.tex +++ b/Doc/latex/group___e_v_o_l_v_e___o_p_t_i_m_i_z_e_r.tex @@ -5,7 +5,8 @@ Библиотека для эволюционного подбора параметров -Collaboration diagram for Evolve optimizer\+:\nopagebreak +Collaboration diagram for Evolve optimizer\+: +\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/Doc/latex/group___g_p_i_o___i_n_i_t.pdf b/Doc/latex/group___g_p_i_o___i_n_i_t.pdf index aa34ccd..82aa69e 100644 Binary files a/Doc/latex/group___g_p_i_o___i_n_i_t.pdf and b/Doc/latex/group___g_p_i_o___i_n_i_t.pdf differ diff --git a/Doc/latex/group___g_p_i_o___i_n_i_t.tex b/Doc/latex/group___g_p_i_o___i_n_i_t.tex index d70cca7..91ac626 100644 --- a/Doc/latex/group___g_p_i_o___i_n_i_t.tex +++ b/Doc/latex/group___g_p_i_o___i_n_i_t.tex @@ -5,7 +5,8 @@ Настройка состояний кнопок и количества тиков в периоде ШИМ -Collaboration diagram for Init defines\+:\nopagebreak +Collaboration diagram for Init defines\+: +\nopagebreak \begin{figure}[H] \begin{center} \leavevmode @@ -15,6 +16,8 @@ Collaboration diagram for Init defines\+:\nopagebreak \doxysubsubsubsubsubsubsection*{Macros} \begin{DoxyCompactItemize} \item +\#define \mbox{\hyperlink{group___g_p_i_o___i_n_i_t_ga9c853b02c22f26023c34d1d404b6d653}{local\+\_\+time}}() +\begin{DoxyCompactList}\small\item\em Локальное время \end{DoxyCompactList}\item \#define \mbox{\hyperlink{group___g_p_i_o___i_n_i_t_ga1d42e219765ec526d99e306638ac0023}{LED\+\_\+\+PWM\+\_\+\+TICKS}}~15 \begin{DoxyCompactList}\small\item\em Количество тиков в периоде ШИМ \end{DoxyCompactList}\item \#define \mbox{\hyperlink{group___g_p_i_o___i_n_i_t_gaf2e697ac60e05813d45ea2c9c9e79c25}{LED\+\_\+\+ON}}~1 @@ -35,6 +38,25 @@ Collaboration diagram for Init defines\+:\nopagebreak \label{doc-define-members} \Hypertarget{group___g_p_i_o___i_n_i_t_doc-define-members} \doxysubsubsubsubsubsection{Macro Definition Documentation} +\Hypertarget{group___g_p_i_o___i_n_i_t_ga9c853b02c22f26023c34d1d404b6d653}\index{Init defines@{Init defines}!local\_time@{local\_time}} +\index{local\_time@{local\_time}!Init defines@{Init defines}} +\doxysubsubsubsubsubsubsection{\texorpdfstring{local\_time}{local\_time}} +{\footnotesize\ttfamily \label{group___g_p_i_o___i_n_i_t_ga9c853b02c22f26023c34d1d404b6d653} +\#define local\+\_\+time(\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})} + +{\bfseries Value\+:} +\begin{DoxyCode}{0} +\DoxyCodeLine{HAL\_GetTick()} + +\end{DoxyCode} + + +Локальное время + + + +Definition at line \mbox{\hyperlink{general__gpio_8h_source_l00031}{31}} of file \mbox{\hyperlink{general__gpio_8h_source}{general\+\_\+gpio.\+h}}. + \Hypertarget{group___g_p_i_o___i_n_i_t_ga1d42e219765ec526d99e306638ac0023}\index{Init defines@{Init defines}!LED\_PWM\_TICKS@{LED\_PWM\_TICKS}} \index{LED\_PWM\_TICKS@{LED\_PWM\_TICKS}!Init defines@{Init defines}} \doxysubsubsubsubsubsubsection{\texorpdfstring{LED\_PWM\_TICKS}{LED\_PWM\_TICKS}} diff --git a/Doc/latex/group___l_i_b_s___c_o_n_f_i_g.pdf b/Doc/latex/group___l_i_b_s___c_o_n_f_i_g.pdf index dcb1e14..90d5a86 100644 Binary files a/Doc/latex/group___l_i_b_s___c_o_n_f_i_g.pdf and b/Doc/latex/group___l_i_b_s___c_o_n_f_i_g.pdf differ diff --git a/Doc/latex/group___l_i_b_s___c_o_n_f_i_g.tex b/Doc/latex/group___l_i_b_s___c_o_n_f_i_g.tex index 5bee9ab..f01d1d5 100644 --- a/Doc/latex/group___l_i_b_s___c_o_n_f_i_g.tex +++ b/Doc/latex/group___l_i_b_s___c_o_n_f_i_g.tex @@ -5,7 +5,8 @@ Подключение различных модулей библиотеки -Collaboration diagram for Libraries configs\+:\nopagebreak +Collaboration diagram for Libraries configs\+: +\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/Doc/latex/group___m_y___l_i_b_s___g_p_i_o.pdf b/Doc/latex/group___m_y___l_i_b_s___g_p_i_o.pdf index eb8d663..4d52e25 100644 Binary files a/Doc/latex/group___m_y___l_i_b_s___g_p_i_o.pdf and b/Doc/latex/group___m_y___l_i_b_s___g_p_i_o.pdf differ diff --git a/Doc/latex/group___m_y___l_i_b_s___g_p_i_o.tex b/Doc/latex/group___m_y___l_i_b_s___g_p_i_o.tex index 775dad4..a28997a 100644 --- a/Doc/latex/group___m_y___l_i_b_s___g_p_i_o.tex +++ b/Doc/latex/group___m_y___l_i_b_s___g_p_i_o.tex @@ -5,7 +5,8 @@ Функции и макросы для удобной работы с GPIO. -Collaboration diagram for GPIO Tools\+:\nopagebreak +Collaboration diagram for GPIO Tools\+: +\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/Doc/latex/group___m_y___l_i_b_s___s_p_i.pdf b/Doc/latex/group___m_y___l_i_b_s___s_p_i.pdf index 5f01da5..64f21f2 100644 Binary files a/Doc/latex/group___m_y___l_i_b_s___s_p_i.pdf and b/Doc/latex/group___m_y___l_i_b_s___s_p_i.pdf differ diff --git a/Doc/latex/group___m_y___l_i_b_s___s_p_i.tex b/Doc/latex/group___m_y___l_i_b_s___s_p_i.tex index e722937..d0b808a 100644 --- a/Doc/latex/group___m_y___l_i_b_s___s_p_i.tex +++ b/Doc/latex/group___m_y___l_i_b_s___s_p_i.tex @@ -5,7 +5,8 @@ Функции и макросы для удобной работы с SPI. -Collaboration diagram for SPI Tools\+:\nopagebreak +Collaboration diagram for SPI Tools\+: +\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/Doc/latex/group___m_y___l_i_b_s___t_i_m.pdf b/Doc/latex/group___m_y___l_i_b_s___t_i_m.pdf index 9f0f342..9211750 100644 Binary files a/Doc/latex/group___m_y___l_i_b_s___t_i_m.pdf and b/Doc/latex/group___m_y___l_i_b_s___t_i_m.pdf differ diff --git a/Doc/latex/group___m_y___l_i_b_s___u_a_r_t.pdf b/Doc/latex/group___m_y___l_i_b_s___u_a_r_t.pdf index cb8cbf4..afbf5dc 100644 Binary files a/Doc/latex/group___m_y___l_i_b_s___u_a_r_t.pdf and b/Doc/latex/group___m_y___l_i_b_s___u_a_r_t.pdf differ diff --git a/Doc/latex/group___m_y___l_i_b_s___u_a_r_t.tex b/Doc/latex/group___m_y___l_i_b_s___u_a_r_t.tex index 9a4d246..ea1437b 100644 --- a/Doc/latex/group___m_y___l_i_b_s___u_a_r_t.tex +++ b/Doc/latex/group___m_y___l_i_b_s___u_a_r_t.tex @@ -5,7 +5,8 @@ Функции и макросы для удобной работы с UART. -Collaboration diagram for UART Tools\+:\nopagebreak +Collaboration diagram for UART Tools\+: +\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/Doc/latex/group___m_y_l_i_b_s___a_l_l.pdf b/Doc/latex/group___m_y_l_i_b_s___a_l_l.pdf index bea594d..d4ded15 100644 Binary files a/Doc/latex/group___m_y_l_i_b_s___a_l_l.pdf and b/Doc/latex/group___m_y_l_i_b_s___a_l_l.pdf differ diff --git a/Doc/latex/group___m_y_l_i_b_s___a_l_l.tex b/Doc/latex/group___m_y_l_i_b_s___a_l_l.tex index cd0caf7..c36f666 100644 --- a/Doc/latex/group___m_y_l_i_b_s___a_l_l.tex +++ b/Doc/latex/group___m_y_l_i_b_s___a_l_l.tex @@ -5,7 +5,8 @@ Все используемые My\+Libs библиотеки -Collaboration diagram for My Libs\+:\nopagebreak +Collaboration diagram for My Libs\+: +\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/Doc/latex/group___m_y_l_i_b_s___c_o_n_f_i_g.pdf b/Doc/latex/group___m_y_l_i_b_s___c_o_n_f_i_g.pdf index 08142b0..fc97eb7 100644 Binary files a/Doc/latex/group___m_y_l_i_b_s___c_o_n_f_i_g.pdf and b/Doc/latex/group___m_y_l_i_b_s___c_o_n_f_i_g.pdf differ diff --git a/Doc/latex/group___m_y_l_i_b_s___c_o_n_f_i_g.tex b/Doc/latex/group___m_y_l_i_b_s___c_o_n_f_i_g.tex index 94de885..843cfc2 100644 --- a/Doc/latex/group___m_y_l_i_b_s___c_o_n_f_i_g.tex +++ b/Doc/latex/group___m_y_l_i_b_s___c_o_n_f_i_g.tex @@ -5,7 +5,8 @@ Конфигурации для библиотек My\+Libs. -Collaboration diagram for Configs\+:\nopagebreak +Collaboration diagram for Configs\+: +\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/Doc/latex/group___m_y_l_i_b_s___d_e_f_i_n_e_s.pdf b/Doc/latex/group___m_y_l_i_b_s___d_e_f_i_n_e_s.pdf index 41f160c..fe2af8c 100644 Binary files a/Doc/latex/group___m_y_l_i_b_s___d_e_f_i_n_e_s.pdf and b/Doc/latex/group___m_y_l_i_b_s___d_e_f_i_n_e_s.pdf differ diff --git a/Doc/latex/group___m_y_l_i_b_s___d_e_f_i_n_e_s.tex b/Doc/latex/group___m_y_l_i_b_s___d_e_f_i_n_e_s.tex index 2216629..d32e230 100644 --- a/Doc/latex/group___m_y_l_i_b_s___d_e_f_i_n_e_s.tex +++ b/Doc/latex/group___m_y_l_i_b_s___d_e_f_i_n_e_s.tex @@ -5,7 +5,8 @@ Общие макросы и typedef\textquotesingle{}ы, используемые по всему проекту -Collaboration diagram for General Tools\+:\nopagebreak +Collaboration diagram for General Tools\+: +\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/Doc/latex/group___m_y_l_i_b_s___g_p_i_o___g_e_n_e_r_a_l.pdf b/Doc/latex/group___m_y_l_i_b_s___g_p_i_o___g_e_n_e_r_a_l.pdf index edd1557..01ba29d 100644 Binary files a/Doc/latex/group___m_y_l_i_b_s___g_p_i_o___g_e_n_e_r_a_l.pdf and b/Doc/latex/group___m_y_l_i_b_s___g_p_i_o___g_e_n_e_r_a_l.pdf differ diff --git a/Doc/latex/group___m_y_l_i_b_s___g_p_i_o___g_e_n_e_r_a_l.tex b/Doc/latex/group___m_y_l_i_b_s___g_p_i_o___g_e_n_e_r_a_l.tex index 58d47fe..7457314 100644 --- a/Doc/latex/group___m_y_l_i_b_s___g_p_i_o___g_e_n_e_r_a_l.tex +++ b/Doc/latex/group___m_y_l_i_b_s___g_p_i_o___g_e_n_e_r_a_l.tex @@ -5,7 +5,8 @@ Общие функции/макросы для работы с GPIO. -Collaboration diagram for General tools\+:\nopagebreak +Collaboration diagram for General tools\+: +\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/Doc/latex/group___m_y_l_i_b_s___g_p_i_o___l_e_d_s.pdf b/Doc/latex/group___m_y_l_i_b_s___g_p_i_o___l_e_d_s.pdf index e8a8b37..233193f 100644 Binary files a/Doc/latex/group___m_y_l_i_b_s___g_p_i_o___l_e_d_s.pdf and b/Doc/latex/group___m_y_l_i_b_s___g_p_i_o___l_e_d_s.pdf differ diff --git a/Doc/latex/group___m_y_l_i_b_s___g_p_i_o___l_e_d_s.tex b/Doc/latex/group___m_y_l_i_b_s___g_p_i_o___l_e_d_s.tex index 56f72a6..b4ef038 100644 --- a/Doc/latex/group___m_y_l_i_b_s___g_p_i_o___l_e_d_s.tex +++ b/Doc/latex/group___m_y_l_i_b_s___g_p_i_o___l_e_d_s.tex @@ -5,7 +5,8 @@ Функции для работы с GPIO, для управления светодиодом -Collaboration diagram for LED tools\+:\nopagebreak +Collaboration diagram for LED tools\+: +\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/Doc/latex/group___m_y_l_i_b_s___g_p_i_o___s_w_i_t_c_h.pdf b/Doc/latex/group___m_y_l_i_b_s___g_p_i_o___s_w_i_t_c_h.pdf index 7a8e89f..bb025ac 100644 Binary files a/Doc/latex/group___m_y_l_i_b_s___g_p_i_o___s_w_i_t_c_h.pdf and b/Doc/latex/group___m_y_l_i_b_s___g_p_i_o___s_w_i_t_c_h.pdf differ diff --git a/Doc/latex/group___m_y_l_i_b_s___g_p_i_o___s_w_i_t_c_h.tex b/Doc/latex/group___m_y_l_i_b_s___g_p_i_o___s_w_i_t_c_h.tex index 29fe4c9..dc78e6c 100644 --- a/Doc/latex/group___m_y_l_i_b_s___g_p_i_o___s_w_i_t_c_h.tex +++ b/Doc/latex/group___m_y_l_i_b_s___g_p_i_o___s_w_i_t_c_h.tex @@ -5,7 +5,8 @@ Функции для работы с GPIO, как с кнопкой -Collaboration diagram for Switch tools\+:\nopagebreak +Collaboration diagram for Switch tools\+: +\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/Doc/latex/group___m_y_l_i_b_s___p_e_r_i_p_h_e_r_a_l.pdf b/Doc/latex/group___m_y_l_i_b_s___p_e_r_i_p_h_e_r_a_l.pdf index cf8790b..36e36b4 100644 Binary files a/Doc/latex/group___m_y_l_i_b_s___p_e_r_i_p_h_e_r_a_l.pdf and b/Doc/latex/group___m_y_l_i_b_s___p_e_r_i_p_h_e_r_a_l.pdf differ diff --git a/Doc/latex/group___m_y_l_i_b_s___t_i_m___d_e_l_a_y.pdf b/Doc/latex/group___m_y_l_i_b_s___t_i_m___d_e_l_a_y.pdf index c11b018..0798e4b 100644 Binary files a/Doc/latex/group___m_y_l_i_b_s___t_i_m___d_e_l_a_y.pdf and b/Doc/latex/group___m_y_l_i_b_s___t_i_m___d_e_l_a_y.pdf differ diff --git a/Doc/latex/group___m_y_l_i_b_s___t_i_m___d_e_l_a_y.tex b/Doc/latex/group___m_y_l_i_b_s___t_i_m___d_e_l_a_y.tex index e3c4d71..121aa54 100644 --- a/Doc/latex/group___m_y_l_i_b_s___t_i_m___d_e_l_a_y.tex +++ b/Doc/latex/group___m_y_l_i_b_s___t_i_m___d_e_l_a_y.tex @@ -5,7 +5,8 @@ Функции для формирования задержек с помощью таймеров -Collaboration diagram for Delay tools\+:\nopagebreak +Collaboration diagram for Delay tools\+: +\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/Doc/latex/group___m_y_l_i_b_s___t_i_m___e_n_c_o_d_e_r.pdf b/Doc/latex/group___m_y_l_i_b_s___t_i_m___e_n_c_o_d_e_r.pdf index 0e443b7..b71ba93 100644 Binary files a/Doc/latex/group___m_y_l_i_b_s___t_i_m___e_n_c_o_d_e_r.pdf and b/Doc/latex/group___m_y_l_i_b_s___t_i_m___e_n_c_o_d_e_r.pdf differ diff --git a/Doc/latex/group___m_y_l_i_b_s___t_i_m___e_n_c_o_d_e_r.tex b/Doc/latex/group___m_y_l_i_b_s___t_i_m___e_n_c_o_d_e_r.tex index 8ae68bd..21dc40a 100644 --- a/Doc/latex/group___m_y_l_i_b_s___t_i_m___e_n_c_o_d_e_r.tex +++ b/Doc/latex/group___m_y_l_i_b_s___t_i_m___e_n_c_o_d_e_r.tex @@ -5,7 +5,8 @@ Функции для считывания энкодера -Collaboration diagram for Encoder tools\+:\nopagebreak +Collaboration diagram for Encoder tools\+: +\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/Doc/latex/group___m_y_l_i_b_s___t_i_m___g_e_n_e_r_a_l.pdf b/Doc/latex/group___m_y_l_i_b_s___t_i_m___g_e_n_e_r_a_l.pdf index 60c7342..d765e02 100644 Binary files a/Doc/latex/group___m_y_l_i_b_s___t_i_m___g_e_n_e_r_a_l.pdf and b/Doc/latex/group___m_y_l_i_b_s___t_i_m___g_e_n_e_r_a_l.pdf differ diff --git a/Doc/latex/group___m_y_l_i_b_s___t_i_m___g_e_n_e_r_a_l.tex b/Doc/latex/group___m_y_l_i_b_s___t_i_m___g_e_n_e_r_a_l.tex index e615c4a..0ab651e 100644 --- a/Doc/latex/group___m_y_l_i_b_s___t_i_m___g_e_n_e_r_a_l.tex +++ b/Doc/latex/group___m_y_l_i_b_s___t_i_m___g_e_n_e_r_a_l.tex @@ -5,7 +5,8 @@ Функции для базовой инициализации таймеров -Collaboration diagram for General tools\+:\nopagebreak +Collaboration diagram for General tools\+: +\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/Doc/latex/group___m_y_l_i_b_s___t_i_m___o_c.pdf b/Doc/latex/group___m_y_l_i_b_s___t_i_m___o_c.pdf index bdf8064..1864a7c 100644 Binary files a/Doc/latex/group___m_y_l_i_b_s___t_i_m___o_c.pdf and b/Doc/latex/group___m_y_l_i_b_s___t_i_m___o_c.pdf differ diff --git a/Doc/latex/group___m_y_l_i_b_s___t_i_m___o_c.tex b/Doc/latex/group___m_y_l_i_b_s___t_i_m___o_c.tex index 8773efc..5eb11a4 100644 --- a/Doc/latex/group___m_y_l_i_b_s___t_i_m___o_c.tex +++ b/Doc/latex/group___m_y_l_i_b_s___t_i_m___o_c.tex @@ -5,7 +5,8 @@ Функции для инициализации базовых функций каналов таймера -Collaboration diagram for PWM/\+OC Channels tools\+:\nopagebreak +Collaboration diagram for PWM/\+OC Channels tools\+: +\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/Doc/latex/group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l.md5 b/Doc/latex/group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l.md5 deleted file mode 100644 index 7716970..0000000 --- a/Doc/latex/group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l.md5 +++ /dev/null @@ -1 +0,0 @@ -e6d1f13a7d892bfe12b1137f7c4b33fa \ No newline at end of file diff --git a/Doc/latex/group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l.pdf b/Doc/latex/group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l.pdf deleted file mode 100644 index d381472..0000000 Binary files a/Doc/latex/group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l.pdf and /dev/null differ diff --git a/Doc/latex/group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l.tex b/Doc/latex/group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l.tex deleted file mode 100644 index 3390e43..0000000 --- a/Doc/latex/group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l.tex +++ /dev/null @@ -1,136 +0,0 @@ -\doxysubsubsubsection{General tools } -\hypertarget{group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l}{}\label{group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l}\index{General tools@{General tools}} - - -Функции для базовой инициализации UART. - - -Collaboration diagram for General tools\+: -\nopagebreak -\begin{figure}[H] -\begin{center} -\leavevmode -\includegraphics[width=350pt]{group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l} -\end{center} -\end{figure} -\doxysubsubsubsubsubsection*{Topics} -\begin{DoxyCompactItemize} -\item -\mbox{\hyperlink{group___u_a_r_t___i_n_i_t}{Init defines}} -\begin{DoxyCompactList}\small\item\em Настройка UART. \end{DoxyCompactList}\end{DoxyCompactItemize} -\doxysubsubsubsubsubsection*{Classes} -\begin{DoxyCompactItemize} -\item -struct \mbox{\hyperlink{struct_u_a_r_t___settings_type_def}{UART\+\_\+\+Settings\+Type\+Def}} -\begin{DoxyCompactList}\small\item\em Структура настроек UART. \end{DoxyCompactList}\end{DoxyCompactItemize} -\doxysubsubsubsubsubsection*{Functions} -\begin{DoxyCompactItemize} -\item -HAL\+\_\+\+Status\+Type\+Def \mbox{\hyperlink{group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l_gab9f07396b778505c934143e89953e154}{UART\+\_\+\+Base\+\_\+\+Init}} (\mbox{\hyperlink{struct_u_a_r_t___settings_type_def}{UART\+\_\+\+Settings\+Type\+Def}} \texorpdfstring{$\ast$}{*}suart) -\begin{DoxyCompactList}\small\item\em Инициализация UART с помощью структуры \doxylink{struct_u_a_r_t___settings_type_def}{UART\+\_\+\+Settings\+Type\+Def}. \end{DoxyCompactList}\item -HAL\+\_\+\+Status\+Type\+Def \mbox{\hyperlink{group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l_gac9c27133622dfaf1f43683f4edf0ff65}{Check\+\_\+\+UART\+\_\+\+Init\+\_\+\+Struct}} (\mbox{\hyperlink{struct_u_a_r_t___settings_type_def}{UART\+\_\+\+Settings\+Type\+Def}} \texorpdfstring{$\ast$}{*}suart) -\begin{DoxyCompactList}\small\item\em Проверка корректности структуры инициализации UART. \end{DoxyCompactList}\item -void \mbox{\hyperlink{group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l_gab9313fd2f9fc6873ca6bfbc5b96edbbb}{UART\+\_\+\+Msp\+Init}} (UART\+\_\+\+Handle\+Type\+Def \texorpdfstring{$\ast$}{*}huart) -\begin{DoxyCompactList}\small\item\em Настройка тактирования и прерываний UART. \end{DoxyCompactList}\item -void \mbox{\hyperlink{group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l_ga93ed6ceef4e3b5e7885786125cce93bc}{UART\+\_\+\+Msp\+De\+Init}} (UART\+\_\+\+Handle\+Type\+Def \texorpdfstring{$\ast$}{*}huart) -\begin{DoxyCompactList}\small\item\em Deinitialize UART \& DMA clock and interrupt. \end{DoxyCompactList}\end{DoxyCompactItemize} - - -\doxysubsubsubsubsection{Detailed Description} -Функции для базовой инициализации UART. - - - -\label{doc-func-members} -\Hypertarget{group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l_doc-func-members} -\doxysubsubsubsubsection{Function Documentation} -\Hypertarget{group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l_gab9f07396b778505c934143e89953e154}\index{General tools@{General tools}!UART\_Base\_Init@{UART\_Base\_Init}} -\index{UART\_Base\_Init@{UART\_Base\_Init}!General tools@{General tools}} -\doxysubsubsubsubsubsection{\texorpdfstring{UART\_Base\_Init()}{UART\_Base\_Init()}} -{\footnotesize\ttfamily \label{group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l_gab9f07396b778505c934143e89953e154} -HAL\+\_\+\+Status\+Type\+Def UART\+\_\+\+Base\+\_\+\+Init (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_u_a_r_t___settings_type_def}{UART\+\_\+\+Settings\+Type\+Def}} \texorpdfstring{$\ast$}{*}}]{suart}{}\end{DoxyParamCaption})} - - - -Инициализация UART с помощью структуры \doxylink{struct_u_a_r_t___settings_type_def}{UART\+\_\+\+Settings\+Type\+Def}. - - -\begin{DoxyParams}{Parameters} -{\em suart} & Указатель на структуру с настройками UART. \\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -HAL status. -\end{DoxyReturn} -~\newline - Инициализирует UART и при необходимости его GPIO и DMA. - -Definition at line \mbox{\hyperlink{general__uart_8c_source_l00024}{24}} of file \mbox{\hyperlink{general__uart_8c_source}{general\+\_\+uart.\+c}}. - -\Hypertarget{group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l_gac9c27133622dfaf1f43683f4edf0ff65}\index{General tools@{General tools}!Check\_UART\_Init\_Struct@{Check\_UART\_Init\_Struct}} -\index{Check\_UART\_Init\_Struct@{Check\_UART\_Init\_Struct}!General tools@{General tools}} -\doxysubsubsubsubsubsection{\texorpdfstring{Check\_UART\_Init\_Struct()}{Check\_UART\_Init\_Struct()}} -{\footnotesize\ttfamily \label{group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l_gac9c27133622dfaf1f43683f4edf0ff65} -HAL\+\_\+\+Status\+Type\+Def Check\+\_\+\+UART\+\_\+\+Init\+\_\+\+Struct (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_u_a_r_t___settings_type_def}{UART\+\_\+\+Settings\+Type\+Def}} \texorpdfstring{$\ast$}{*}}]{suart}{}\end{DoxyParamCaption})} - - - -Проверка корректности структуры инициализации UART. - - -\begin{DoxyParams}{Parameters} -{\em suart} & Указатель на структуру с настройками UART. \\ -\hline -\end{DoxyParams} -\begin{DoxyReturn}{Returns} -HAL status. -\end{DoxyReturn} - - -Definition at line \mbox{\hyperlink{general__uart_8c_source_l00356}{356}} of file \mbox{\hyperlink{general__uart_8c_source}{general\+\_\+uart.\+c}}. - -\Hypertarget{group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l_gab9313fd2f9fc6873ca6bfbc5b96edbbb}\index{General tools@{General tools}!UART\_MspInit@{UART\_MspInit}} -\index{UART\_MspInit@{UART\_MspInit}!General tools@{General tools}} -\doxysubsubsubsubsubsection{\texorpdfstring{UART\_MspInit()}{UART\_MspInit()}} -{\footnotesize\ttfamily \label{group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l_gab9313fd2f9fc6873ca6bfbc5b96edbbb} -void UART\+\_\+\+Msp\+Init (\begin{DoxyParamCaption}\item[{UART\+\_\+\+Handle\+Type\+Def \texorpdfstring{$\ast$}{*}}]{huart}{}\end{DoxyParamCaption})} - - - -Настройка тактирования и прерываний UART. - - -\begin{DoxyParams}{Parameters} -{\em huart} & Указатель на хендл UART. \\ -\hline -\end{DoxyParams} -\begin{DoxyNote}{Note} -Чтобы не генерировать функцию с иницилизацией неиспользуемых UART, дефайнами \doxylink{group___u_a_r_t___i_n_i_t}{Init defines} в \doxylink{general__uart_8h}{general\+\_\+uart.\+h} определяются используемые UART. -\end{DoxyNote} - - -Definition at line \mbox{\hyperlink{general__uart_8c_source_l00138}{138}} of file \mbox{\hyperlink{general__uart_8c_source}{general\+\_\+uart.\+c}}. - -\Hypertarget{group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l_ga93ed6ceef4e3b5e7885786125cce93bc}\index{General tools@{General tools}!UART\_MspDeInit@{UART\_MspDeInit}} -\index{UART\_MspDeInit@{UART\_MspDeInit}!General tools@{General tools}} -\doxysubsubsubsubsubsection{\texorpdfstring{UART\_MspDeInit()}{UART\_MspDeInit()}} -{\footnotesize\ttfamily \label{group___m_y_l_i_b_s___u_a_r_t___g_e_n_e_r_a_l_ga93ed6ceef4e3b5e7885786125cce93bc} -void UART\+\_\+\+Msp\+De\+Init (\begin{DoxyParamCaption}\item[{UART\+\_\+\+Handle\+Type\+Def \texorpdfstring{$\ast$}{*}}]{huart}{}\end{DoxyParamCaption})} - - - -Deinitialize UART \& DMA clock and interrupt. - - -\begin{DoxyParams}{Parameters} -{\em huart} & -\/ указатель на хендл UART для деинициализации. \\ -\hline -\end{DoxyParams} -\begin{DoxyNote}{Note} -Чтобы не генерировать функцию с деиницилизацией неиспользуемых UART, дефайнами \doxylink{group___u_a_r_t___i_n_i_t}{Init defines} в \doxylink{general__uart_8h}{general\+\_\+uart.\+h} определяются используемые UART. -\end{DoxyNote} - - -Definition at line \mbox{\hyperlink{general__uart_8c_source_l00259}{259}} of file \mbox{\hyperlink{general__uart_8c_source}{general\+\_\+uart.\+c}}. - -\input{group___u_a_r_t___i_n_i_t} diff --git a/Doc/latex/group___s_p_i___i_n_i_t.pdf b/Doc/latex/group___s_p_i___i_n_i_t.pdf index 5605950..e6e178a 100644 Binary files a/Doc/latex/group___s_p_i___i_n_i_t.pdf and b/Doc/latex/group___s_p_i___i_n_i_t.pdf differ diff --git a/Doc/latex/group___s_p_i___i_n_i_t.tex b/Doc/latex/group___s_p_i___i_n_i_t.tex index 77960f4..eefa494 100644 --- a/Doc/latex/group___s_p_i___i_n_i_t.tex +++ b/Doc/latex/group___s_p_i___i_n_i_t.tex @@ -5,7 +5,8 @@ Настройка SPI. -Collaboration diagram for Init defines\+:\nopagebreak +Collaboration diagram for Init defines\+: +\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/Doc/latex/group___t_i_m___i_n_i_t.pdf b/Doc/latex/group___t_i_m___i_n_i_t.pdf index 82e70da..2e60311 100644 Binary files a/Doc/latex/group___t_i_m___i_n_i_t.pdf and b/Doc/latex/group___t_i_m___i_n_i_t.pdf differ diff --git a/Doc/latex/group___t_i_m___i_n_i_t.tex b/Doc/latex/group___t_i_m___i_n_i_t.tex index 8453b3d..ca3f186 100644 --- a/Doc/latex/group___t_i_m___i_n_i_t.tex +++ b/Doc/latex/group___t_i_m___i_n_i_t.tex @@ -5,7 +5,8 @@ Настройка таймеров -Collaboration diagram for Init defines\+:\nopagebreak +Collaboration diagram for Init defines\+: +\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/Doc/latex/group___t_r_a_c_e.pdf b/Doc/latex/group___t_r_a_c_e.pdf index 0ef2bc9..4d0bd7b 100644 Binary files a/Doc/latex/group___t_r_a_c_e.pdf and b/Doc/latex/group___t_r_a_c_e.pdf differ diff --git a/Doc/latex/group___t_r_a_c_e.tex b/Doc/latex/group___t_r_a_c_e.tex index 3dbdd57..f560dde 100644 --- a/Doc/latex/group___t_r_a_c_e.tex +++ b/Doc/latex/group___t_r_a_c_e.tex @@ -5,7 +5,8 @@ Дефайны для работы с трассировкой -Collaboration diagram for Trace defines\+:\nopagebreak +Collaboration diagram for Trace defines\+: +\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/Doc/latex/group___t_r_a_c_e___c_o_n_f_i_g.pdf b/Doc/latex/group___t_r_a_c_e___c_o_n_f_i_g.pdf index 14702b1..b5a80db 100644 Binary files a/Doc/latex/group___t_r_a_c_e___c_o_n_f_i_g.pdf and b/Doc/latex/group___t_r_a_c_e___c_o_n_f_i_g.pdf differ diff --git a/Doc/latex/group___t_r_a_c_e___c_o_n_f_i_g.tex b/Doc/latex/group___t_r_a_c_e___c_o_n_f_i_g.tex index cf8e2ac..56fbc09 100644 --- a/Doc/latex/group___t_r_a_c_e___c_o_n_f_i_g.tex +++ b/Doc/latex/group___t_r_a_c_e___c_o_n_f_i_g.tex @@ -5,7 +5,8 @@ Конфигурация трекеров и трассировки -Collaboration diagram for Trace configs\+:\nopagebreak +Collaboration diagram for Trace configs\+: +\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/Doc/latex/group___t_r_a_c_e___g_p_i_o.pdf b/Doc/latex/group___t_r_a_c_e___g_p_i_o.pdf index c618342..442e91e 100644 Binary files a/Doc/latex/group___t_r_a_c_e___g_p_i_o.pdf and b/Doc/latex/group___t_r_a_c_e___g_p_i_o.pdf differ diff --git a/Doc/latex/group___t_r_a_c_e___g_p_i_o.tex b/Doc/latex/group___t_r_a_c_e___g_p_i_o.tex index c8a24d6..ab8a01f 100644 --- a/Doc/latex/group___t_r_a_c_e___g_p_i_o.tex +++ b/Doc/latex/group___t_r_a_c_e___g_p_i_o.tex @@ -5,7 +5,8 @@ Дефайны для работы с GPIO трассировкой -Collaboration diagram for GPIO trace defines\+:\nopagebreak +Collaboration diagram for GPIO trace defines\+: +\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/Doc/latex/group___t_r_a_c_e___h_a_r_d_f_a_u_l_t.pdf b/Doc/latex/group___t_r_a_c_e___h_a_r_d_f_a_u_l_t.pdf index 0520507..055bed7 100644 Binary files a/Doc/latex/group___t_r_a_c_e___h_a_r_d_f_a_u_l_t.pdf and b/Doc/latex/group___t_r_a_c_e___h_a_r_d_f_a_u_l_t.pdf differ diff --git a/Doc/latex/group___t_r_a_c_e___h_a_r_d_f_a_u_l_t.tex b/Doc/latex/group___t_r_a_c_e___h_a_r_d_f_a_u_l_t.tex index 0c67ade..6d9fd50 100644 --- a/Doc/latex/group___t_r_a_c_e___h_a_r_d_f_a_u_l_t.tex +++ b/Doc/latex/group___t_r_a_c_e___h_a_r_d_f_a_u_l_t.tex @@ -5,7 +5,8 @@ Модуль трассировки Hard\+Fault с возможностью сохранения RTT буфера во Flash. -Collaboration diagram for Hardfault trace defines\+:\nopagebreak +Collaboration diagram for Hardfault trace defines\+: +\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/Doc/latex/group___t_r_a_c_e___r_t_t___f_l_a_s_h.pdf b/Doc/latex/group___t_r_a_c_e___r_t_t___f_l_a_s_h.pdf index 13b5452..1d09cf9 100644 Binary files a/Doc/latex/group___t_r_a_c_e___r_t_t___f_l_a_s_h.pdf and b/Doc/latex/group___t_r_a_c_e___r_t_t___f_l_a_s_h.pdf differ diff --git a/Doc/latex/group___t_r_a_c_e___r_t_t___f_l_a_s_h.tex b/Doc/latex/group___t_r_a_c_e___r_t_t___f_l_a_s_h.tex index bb0d50f..8cf34c6 100644 --- a/Doc/latex/group___t_r_a_c_e___r_t_t___f_l_a_s_h.tex +++ b/Doc/latex/group___t_r_a_c_e___r_t_t___f_l_a_s_h.tex @@ -5,7 +5,8 @@ Макросы и функции для сохранения/чтения RTT буфера в Flash. -Collaboration diagram for Flash RTT Buffer\+:\nopagebreak +Collaboration diagram for Flash RTT Buffer\+: +\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/Doc/latex/group___t_r_a_c_e___s_e_r_i_a_l.pdf b/Doc/latex/group___t_r_a_c_e___s_e_r_i_a_l.pdf index aac06fa..ac623a8 100644 Binary files a/Doc/latex/group___t_r_a_c_e___s_e_r_i_a_l.pdf and b/Doc/latex/group___t_r_a_c_e___s_e_r_i_a_l.pdf differ diff --git a/Doc/latex/group___t_r_a_c_e___s_e_r_i_a_l.tex b/Doc/latex/group___t_r_a_c_e___s_e_r_i_a_l.tex index ac7dce5..118d50c 100644 --- a/Doc/latex/group___t_r_a_c_e___s_e_r_i_a_l.tex +++ b/Doc/latex/group___t_r_a_c_e___s_e_r_i_a_l.tex @@ -5,7 +5,8 @@ Дефайны для работы с serial трассировкой (SWO, RTT) -Collaboration diagram for Serial trace defines\+:\nopagebreak +Collaboration diagram for Serial trace defines\+: +\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/Doc/latex/group___t_r_a_c_k_e_r_s.pdf b/Doc/latex/group___t_r_a_c_k_e_r_s.pdf index f09e3f2..a695c86 100644 Binary files a/Doc/latex/group___t_r_a_c_k_e_r_s.pdf and b/Doc/latex/group___t_r_a_c_k_e_r_s.pdf differ diff --git a/Doc/latex/group___t_r_a_c_k_e_r_s.tex b/Doc/latex/group___t_r_a_c_k_e_r_s.tex index 9f4c6e3..e7acd23 100644 --- a/Doc/latex/group___t_r_a_c_k_e_r_s.tex +++ b/Doc/latex/group___t_r_a_c_k_e_r_s.tex @@ -5,7 +5,8 @@ Дефайны для работы с трекерами -Collaboration diagram for Trackers defines\+:\nopagebreak +Collaboration diagram for Trackers defines\+: +\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/Doc/latex/group___u_a_r_t___i_n_i_t.pdf b/Doc/latex/group___u_a_r_t___i_n_i_t.pdf index 6d38e68..589fe83 100644 Binary files a/Doc/latex/group___u_a_r_t___i_n_i_t.pdf and b/Doc/latex/group___u_a_r_t___i_n_i_t.pdf differ diff --git a/Doc/latex/group___u_a_r_t___i_n_i_t.tex b/Doc/latex/group___u_a_r_t___i_n_i_t.tex index 2ed0a89..54601d2 100644 --- a/Doc/latex/group___u_a_r_t___i_n_i_t.tex +++ b/Doc/latex/group___u_a_r_t___i_n_i_t.tex @@ -5,7 +5,8 @@ Настройка UART. -Collaboration diagram for Init defines\+:\nopagebreak +Collaboration diagram for Init defines\+: +\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/Doc/latex/group___u_t_i_l_s___d_e_f_i_n_e_s.pdf b/Doc/latex/group___u_t_i_l_s___d_e_f_i_n_e_s.pdf index edcc822..8e5d91b 100644 Binary files a/Doc/latex/group___u_t_i_l_s___d_e_f_i_n_e_s.pdf and b/Doc/latex/group___u_t_i_l_s___d_e_f_i_n_e_s.pdf differ diff --git a/Doc/latex/group___u_t_i_l_s___d_e_f_i_n_e_s.tex b/Doc/latex/group___u_t_i_l_s___d_e_f_i_n_e_s.tex index 956f6f4..8571583 100644 --- a/Doc/latex/group___u_t_i_l_s___d_e_f_i_n_e_s.tex +++ b/Doc/latex/group___u_t_i_l_s___d_e_f_i_n_e_s.tex @@ -5,7 +5,8 @@ Общие вспомогательные макросы -Collaboration diagram for Utils defines\+:\nopagebreak +Collaboration diagram for Utils defines\+: +\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/Doc/latex/index.tex b/Doc/latex/index.tex index ae07843..b2c5da4 100644 --- a/Doc/latex/index.tex +++ b/Doc/latex/index.tex @@ -1,7 +1,9 @@ \chapter{My\+Libs } \hypertarget{index}{}\label{index}\index{MyLibs@{MyLibs}} \hypertarget{index_overview}{}\doxysection{\texorpdfstring{Обзор}{Обзор}}\label{index_overview} -My\+Libs -\/ это набор библиотек для удобной работы с STM32.\hypertarget{index_features}{}\doxysubsection{\texorpdfstring{Основные возможности}{Основные возможности}}\label{index_features} +My\+Libs -\/ это набор библиотек для удобной работы с STM32. + +\hypertarget{index_features}{}\doxysubsection{\texorpdfstring{Основные возможности}{Основные возможности}}\label{index_features} \hypertarget{index_utils_module}{}\doxysubsubsection{\texorpdfstring{Общие утилиты (\protect\doxylink{group___m_y_l_i_b_s___d_e_f_i_n_e_s}{General Tools})}{Общие утилиты ({General Tools})}}\label{index_utils_module} \begin{DoxyItemize} @@ -40,23 +42,36 @@ My\+Libs -\/ это набор библиотек для удобной рабо \end{DoxyItemize}\hypertarget{index_structure}{}\doxysubsection{\texorpdfstring{Структура проекта}{Структура проекта}}\label{index_structure} \begin{DoxyCode}{0} -\DoxyCodeLine{├──\ inc/\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \#\ Заголовочные\ файлы} -\DoxyCodeLine{│\ \ \ ├──\ mylibs\_include.h\ \ \ \ \ \#\ Главный\ include\ файл} -\DoxyCodeLine{│\ \ \ ├──\ mylibs\_config.h\ \ \ \ \ \ \#\ Конфигурация\ библиотек} -\DoxyCodeLine{│\ \ \ ├──\ mylibs\_defs.h\ \ \ \ \ \ \ \ \#\ Общие\ определения\ и\ макросы} -\DoxyCodeLine{│\ \ \ ├──\ bit\_access.h\ \ \ \ \ \ \ \ \ \#\ Битовый\ доступ\ к\ регистрам} -\DoxyCodeLine{│\ \ \ ├──\ evolve\_optimizer.h\ \ \ \#\ Оптимизатор\ (генетический\ алгоритм)} -\DoxyCodeLine{│\ \ \ ├──\ trackers.h\ \ \ \ \ \ \ \ \ \ \ \#\ Трекеры\ для\ отладки} -\DoxyCodeLine{│\ \ \ ├──\ trace.h\ \ \ \ \ \ \ \ \ \ \ \ \ \ \#\ Трассировка\ и\ логирование} -\DoxyCodeLine{│\ \ \ ├──\ general\_gpio.h\ \ \ \ \ \ \ \#\ Работа\ с\ GPIO} -\DoxyCodeLine{\ \ \ \ ├──\ general\_spi.h\ \ \ \ \ \ \ \ \#\ Работа\ с\ SPI} -\DoxyCodeLine{│\ \ \ └──\ general\_tim.h\ \ \ \ \ \ \ \ \#\ Работа\ с\ таймерами} -\DoxyCodeLine{\ \ \ \ ├──\ general\_uart.h\ \ \ \ \ \ \ \#\ Работа\ с\ UART} -\DoxyCodeLine{└──\ src/\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \#\ Исходные\ файлы} -\DoxyCodeLine{\ \ \ \ ├──\ general\_gpio.c\ \ \ \ \ \ \ \#\ Реализация\ GPIO} -\DoxyCodeLine{\ \ \ \ ├──\ general\_spi.c\ \ \ \ \ \ \ \ \#\ Реализация\ SPI} -\DoxyCodeLine{\ \ \ \ └──\ general\_tim.c\ \ \ \ \ \ \ \ \#\ Реализация\ TIM} -\DoxyCodeLine{\ \ \ \ ├──\ general\_uart.c\ \ \ \ \ \ \ \#\ Реализация\ UART} +\DoxyCodeLine{ProjectRoot/} +\DoxyCodeLine{├──\ MyLibs/\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \#\ Общие\ библиотеки,\ независимые\ от\ платформы\ (или\ почти)} +\DoxyCodeLine{│\ \ \ ├──\ inc/} +\DoxyCodeLine{│\ \ \ │\ \ \ ├──\ mylibs\_include.h\ \ \ \ \ \#\ Главный\ include\ файл} +\DoxyCodeLine{│\ \ \ │\ \ \ ├──\ mylibs\_config.h\ \ \ \ \ \ \#\ Конфигурация\ библиотек} +\DoxyCodeLine{│\ \ \ │\ \ \ ├──\ mylibs\_defs.h\ \ \ \ \ \ \ \ \#\ Общие\ определения\ и\ макросы} +\DoxyCodeLine{│\ \ \ │\ \ \ ├──\ bit\_access.h\ \ \ \ \ \ \ \ \ \#\ Битовый\ доступ\ к\ регистрам} +\DoxyCodeLine{│\ \ \ │\ \ \ ├──\ evolve\_optimizer.h\ \ \ \#\ Оптимизатор\ (генетический\ алгоритм)} +\DoxyCodeLine{│\ \ \ │\ \ \ ├──\ trackers.h\ \ \ \ \ \ \ \ \ \ \ \#\ Трекеры\ для\ отладки} +\DoxyCodeLine{│\ \ \ │\ \ \ └──\ trace.h\ \ \ \ \ \ \ \ \ \ \ \ \ \ \#\ Трассировка\ и\ логирование} +\DoxyCodeLine{│\ \ \ └──\ src/} +\DoxyCodeLine{│} +\DoxyCodeLine{├──RTT\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \#\ Библиотека\ RTT} +\DoxyCodeLine{│\ \ \ ├──\ \_\_SEGGER\_RTT\_Conf.h\ \ \ \ \ \ \#\ Конфигурационный\ файл\ RTT} +\DoxyCodeLine{│\ \ \ ├──\ SEGGER\_RTT.c\ \ \ \ \ \ \ \ \ \ \ \ \ \#\ Основной\ модуль\ RTT} +\DoxyCodeLine{│\ \ \ ├──\ SEGGER\_RTT.h\ \ \ \ \ \ \ \ \ \ \ \ \ \#\ Основной\ заголовок\ RTT} +\DoxyCodeLine{│\ \ \ ├──\ SEGGER\_RTT\_ASM\_ARMv7M.S\ \ \#\ Ассемблерная\ оптимизация\ для\ ARMv7M} +\DoxyCodeLine{│\ \ \ └──\ SEGGER\_RTT\_printf.c\ \ \ \ \ \ \#\ Реализация\ printf()\ через\ RTT} +\DoxyCodeLine{│} +\DoxyCodeLine{└──\ STM32\_General\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{preprocessor}{\#\ Работа\ с\ периферией\ STM32}} +\DoxyCodeLine{\ \ \ \ ├──\ inc/} +\DoxyCodeLine{\ \ \ \ │\ \ \ ├──\ general\_gpio.h\ \ \ \ \ \ \ \#\ Работа\ с\ GPIO} +\DoxyCodeLine{\ \ \ \ │\ \ \ ├──\ general\_spi.h\ \ \ \ \ \ \ \ \#\ Работа\ с\ SPI} +\DoxyCodeLine{\ \ \ \ │\ \ \ ├──\ general\_tim.h\ \ \ \ \ \ \ \ \#\ Работа\ с\ таймерами} +\DoxyCodeLine{\ \ \ \ │\ \ \ └──\ general\_uart.h\ \ \ \ \ \ \ \#\ Работа\ с\ UART} +\DoxyCodeLine{\ \ \ \ └──\ src/} +\DoxyCodeLine{\ \ \ \ \ \ \ \ ├──\ general\_gpio.c\ \ \ \ \ \ \ \#\ Реализация\ GPIO} +\DoxyCodeLine{\ \ \ \ \ \ \ \ ├──\ general\_spi.c\ \ \ \ \ \ \ \ \#\ Реализация\ SPI} +\DoxyCodeLine{\ \ \ \ \ \ \ \ ├──\ general\_tim.c\ \ \ \ \ \ \ \ \#\ Реализация\ TIM} +\DoxyCodeLine{\ \ \ \ \ \ \ \ └──\ general\_uart.c\ \ \ \ \ \ \ \#\ Реализация\ UART} \end{DoxyCode} \hypertarget{index_usage_basic}{}\doxysubsection{\texorpdfstring{Использование}{Использование}}\label{index_usage_basic} diff --git a/Doc/latex/mainpage_8h_source.tex b/Doc/latex/mainpage_8h_source.tex index f9eba08..df9df03 100644 --- a/Doc/latex/mainpage_8h_source.tex +++ b/Doc/latex/mainpage_8h_source.tex @@ -1,80 +1,99 @@ -\doxysection{mainpage.\+h} -\hypertarget{mainpage_8h_source}{}\label{mainpage_8h_source}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/mainpage.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/mainpage.h}} - +\doxysection{E\+:/.WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/mainpage.h} +\hypertarget{mainpage_8h_source}{}\label{mainpage_8h_source} \begin{DoxyCode}{0} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00001}00001\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00002}00002\ \textcolor{comment}{/**}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00003}00003\ \textcolor{comment}{@mainpage}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00004}00004\ \textcolor{comment}{}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00001}00001\ \textcolor{comment}{/**}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00002}00002\ \textcolor{comment}{@mainpage}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00003}00003\ \textcolor{comment}{}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00004}00004\ \textcolor{comment}{\ }} \DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00005}00005\ \textcolor{comment}{@section\ overview\ Обзор}} \DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00006}00006\ \textcolor{comment}{MyLibs\ -\/\ это\ набор\ библиотек\ для\ удобной\ работы\ с\ STM32.}} \DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00007}00007\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00008}00008\ \textcolor{comment}{@subsection\ features\ Основные\ возможности}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00009}00009\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00010}00010\ \textcolor{comment}{@subsubsection\ utils\_module\ Общие\ утилиты\ (@ref\ MYLIBS\_DEFINES)}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00011}00011\ \textcolor{comment}{-\/\ Макросы\ для\ задержек\ и\ утилит\ (@ref\ DELAYS\_DEFINES\ и\ @ref\ UTILS\_DEFINES)}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00012}00012\ \textcolor{comment}{-\/\ Трекеры\ для\ статистики\ и\ отладки\ \ (@ref\ TRACKERS\ и\ @ref\ TRACE)}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00013}00013\ \textcolor{comment}{-\/\ Эволюционный\ алгоритм\ для\ оптимизации\ параметров\ \ (@ref\ EVOLVE\_OPTIMIZER)}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00014}00014\ \textcolor{comment}{-\/\ Битовый\ доступ\ к\ регистрам\ через\ union\ \ (@ref\ BIT\_ACCESS\_DEFINES)}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00015}00015\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00016}00016\ \textcolor{comment}{@subsubsection\ trace\_module\ Трассировка\ @ref\ TRACE}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00017}00017\ \textcolor{comment}{-\/\ Serial\ трассировка\ через\ SWO\ и\ RTT\ (@ref\ TRACE\_SERIAL)}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00018}00018\ \textcolor{comment}{-\/\ GPIO\ трассировка\ для\ отладки\ (@ref\ TRACE\_GPIO)}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00019}00019\ \textcolor{comment}{-\/\ Сохранение\ логов\ в\ Flash\ память\ (@ref\ TRACE\_RTT\_FLASH)}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00020}00020\ \textcolor{comment}{-\/\ Обработка\ HardFault\ с\ сохранением\ контекста\ (@ref\ TRACE\_HARDFAULT)}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00021}00021\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00022}00022\ \textcolor{comment}{@subsubsection\ gpio\_module\ Модуль\ GPIO\ @ref\ MY\_LIBS\_GPIO}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00023}00023\ \textcolor{comment}{-\/\ Инициализация\ портов\ и\ тактирования\ (@ref\ MYLIBS\_GPIO\_GENERAL)}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00024}00024\ \textcolor{comment}{-\/\ Управление\ светодиодами\ (включение/выключение,\ моргание,\ плавное\ затухание)\ (@ref\ MYLIBS\_GPIO\_LEDS)}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00025}00025\ \textcolor{comment}{-\/\ Работа\ с\ кнопками\ (чтение\ состояния,\ фильтрация\ дребезга)\ (@ref\ MYLIBS\_GPIO\_SWITCH)}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00026}00026\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00027}00027\ \textcolor{comment}{@subsubsection\ tim\_module\ Модуль\ таймеров\ @ref\ MY\_LIBS\_TIM}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00028}00028\ \textcolor{comment}{-\/\ Базовая\ инициализация\ таймеров\ (@ref\ MYLIBS\_TIM\_GENERAL)}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00029}00029\ \textcolor{comment}{-\/\ Формирование\ задержек\ (блокирующие\ и\ неблокирующие)\ (@ref\ MYLIBS\_TIM\_DELAY)}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00030}00030\ \textcolor{comment}{-\/\ Работа\ с\ энкодерами\ (чтение\ положения,\ обработка\ кнопок)\ (@ref\ MYLIBS\_TIM\_ENCODER)}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00031}00031\ \textcolor{comment}{-\/\ Настройка\ ШИМ\ и\ Output\ Compare\ (@ref\ MYLIBS\_TIM\_OC)}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00032}00032\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00033}00033\ \textcolor{comment}{@subsubsection\ uart\_module\ Модуль\ UART\ @ref\ MY\_LIBS\_UART}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00034}00034\ \textcolor{comment}{-\/\ Базовая\ инициализация\ UART\ и\ его\ пинов\ одной\ функцией\ (@ref\ UART\_Base\_Init)}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00035}00035\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00036}00036\ \textcolor{comment}{@subsubsection\ spi\_module\ Модуль\ SPI\ @ref\ MY\_LIBS\_SPI}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00037}00037\ \textcolor{comment}{-\/\ Базовая\ инициализация\ SPI\ и\ пинов\ одной\ функцией\ (@ref\ SPI\_Base\_Init)}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00038}00038\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00039}00039\ \textcolor{comment}{@subsection\ structure\ Структура\ проекта}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00040}00040\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00041}00041\ \textcolor{comment}{@code}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00042}00042\ \textcolor{comment}{├──\ inc/\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \#\ Заголовочные\ файлы}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00043}00043\ \textcolor{comment}{│\ \ \ ├──\ mylibs\_include.h\ \ \ \ \ \#\ Главный\ include\ файл}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00044}00044\ \textcolor{comment}{│\ \ \ ├──\ mylibs\_config.h\ \ \ \ \ \ \#\ Конфигурация\ библиотек}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00045}00045\ \textcolor{comment}{│\ \ \ ├──\ mylibs\_defs.h\ \ \ \ \ \ \ \ \#\ Общие\ определения\ и\ макросы}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00046}00046\ \textcolor{comment}{│\ \ \ ├──\ bit\_access.h\ \ \ \ \ \ \ \ \ \#\ Битовый\ доступ\ к\ регистрам}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00047}00047\ \textcolor{comment}{│\ \ \ ├──\ evolve\_optimizer.h\ \ \ \#\ Оптимизатор\ (генетический\ алгоритм)}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00048}00048\ \textcolor{comment}{│\ \ \ ├──\ trackers.h\ \ \ \ \ \ \ \ \ \ \ \#\ Трекеры\ для\ отладки}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00049}00049\ \textcolor{comment}{│\ \ \ ├──\ trace.h\ \ \ \ \ \ \ \ \ \ \ \ \ \ \#\ Трассировка\ и\ логирование}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00050}00050\ \textcolor{comment}{│\ \ \ ├──\ general\_gpio.h\ \ \ \ \ \ \ \#\ Работа\ с\ GPIO}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00051}00051\ \textcolor{comment}{\ \ \ \ ├──\ general\_spi.h\ \ \ \ \ \ \ \ \#\ Работа\ с\ SPI}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00052}00052\ \textcolor{comment}{│\ \ \ └──\ general\_tim.h\ \ \ \ \ \ \ \ \#\ Работа\ с\ таймерами}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00053}00053\ \textcolor{comment}{\ \ \ \ ├──\ general\_uart.h\ \ \ \ \ \ \ \#\ Работа\ с\ UART}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00054}00054\ \textcolor{comment}{└──\ src/\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \#\ Исходные\ файлы}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00055}00055\ \textcolor{comment}{\ \ \ \ ├──\ general\_gpio.c\ \ \ \ \ \ \ \#\ Реализация\ GPIO}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00056}00056\ \textcolor{comment}{\ \ \ \ ├──\ general\_spi.c\ \ \ \ \ \ \ \ \#\ Реализация\ SPI}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00057}00057\ \textcolor{comment}{\ \ \ \ └──\ general\_tim.c\ \ \ \ \ \ \ \ \#\ Реализация\ TIM}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00058}00058\ \textcolor{comment}{\ \ \ \ ├──\ general\_uart.c\ \ \ \ \ \ \ \#\ Реализация\ UART}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00059}00059\ \textcolor{comment}{@endcode}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00060}00060\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00061}00061\ \textcolor{comment}{@subsection\ usage\_basic\ Использование}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00062}00062\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00063}00063\ \textcolor{comment}{Инструкция\ по\ подключению:}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00064}00064\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00065}00065\ \textcolor{comment}{1.\ Настройте\ конфигурацию\ @ref\ MYLIBS\_CONFIG\ в\ @ref\ mylibs\_config.h\ }} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00066}00066\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00067}00067\ \textcolor{comment}{2.\ Подключите\ главный\ заголовочный\ файл:}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00068}00068\ \textcolor{comment}{@code}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00069}00069\ \textcolor{comment}{\#include\ "{}mylibs\_include.h"{}}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00070}00070\ \textcolor{comment}{@endcode}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00071}00071\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00072}00072\ \textcolor{comment}{3.\ Используйте\ нужные\ модули\ в\ своем\ коде.\ Примеры\ использования\ приведены\ в\ соответствующей\ теме}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00073}00073\ \textcolor{comment}{}} -\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00074}00074\ \textcolor{comment}{\ */}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00008}00008\ \textcolor{comment}{\(\backslash\)htmlonly}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00009}00009\ \textcolor{comment}{Актуальная\ версия}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00010}00010\ \textcolor{comment}{\(\backslash\)endhtmlonly}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00011}00011\ \textcolor{comment}{}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00012}00012\ \textcolor{comment}{@subsection\ features\ Основные\ возможности}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00013}00013\ \textcolor{comment}{}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00014}00014\ \textcolor{comment}{@subsubsection\ utils\_module\ Общие\ утилиты\ (@ref\ MYLIBS\_DEFINES)}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00015}00015\ \textcolor{comment}{-\/\ Макросы\ для\ задержек\ и\ утилит\ (@ref\ DELAYS\_DEFINES\ и\ @ref\ UTILS\_DEFINES)}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00016}00016\ \textcolor{comment}{-\/\ Трекеры\ для\ статистики\ и\ отладки\ \ (@ref\ TRACKERS\ и\ @ref\ TRACE)}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00017}00017\ \textcolor{comment}{-\/\ Эволюционный\ алгоритм\ для\ оптимизации\ параметров\ \ (@ref\ EVOLVE\_OPTIMIZER)}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00018}00018\ \textcolor{comment}{-\/\ Битовый\ доступ\ к\ регистрам\ через\ union\ \ (@ref\ BIT\_ACCESS\_DEFINES)}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00019}00019\ \textcolor{comment}{}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00020}00020\ \textcolor{comment}{@subsubsection\ trace\_module\ Трассировка\ @ref\ TRACE}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00021}00021\ \textcolor{comment}{-\/\ Serial\ трассировка\ через\ SWO\ и\ RTT\ (@ref\ TRACE\_SERIAL)}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00022}00022\ \textcolor{comment}{-\/\ GPIO\ трассировка\ для\ отладки\ (@ref\ TRACE\_GPIO)}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00023}00023\ \textcolor{comment}{-\/\ Сохранение\ логов\ в\ Flash\ память\ (@ref\ TRACE\_RTT\_FLASH)}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00024}00024\ \textcolor{comment}{-\/\ Обработка\ HardFault\ с\ сохранением\ контекста\ (@ref\ TRACE\_HARDFAULT)}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00025}00025\ \textcolor{comment}{}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00026}00026\ \textcolor{comment}{@subsubsection\ gpio\_module\ Модуль\ GPIO\ @ref\ MY\_LIBS\_GPIO}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00027}00027\ \textcolor{comment}{-\/\ Инициализация\ портов\ и\ тактирования\ (@ref\ MYLIBS\_GPIO\_GENERAL)}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00028}00028\ \textcolor{comment}{-\/\ Управление\ светодиодами\ (включение/выключение,\ моргание,\ плавное\ затухание)\ (@ref\ MYLIBS\_GPIO\_LEDS)}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00029}00029\ \textcolor{comment}{-\/\ Работа\ с\ кнопками\ (чтение\ состояния,\ фильтрация\ дребезга)\ (@ref\ MYLIBS\_GPIO\_SWITCH)}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00030}00030\ \textcolor{comment}{}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00031}00031\ \textcolor{comment}{@subsubsection\ tim\_module\ Модуль\ таймеров\ @ref\ MY\_LIBS\_TIM}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00032}00032\ \textcolor{comment}{-\/\ Базовая\ инициализация\ таймеров\ (@ref\ MYLIBS\_TIM\_GENERAL)}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00033}00033\ \textcolor{comment}{-\/\ Формирование\ задержек\ (блокирующие\ и\ неблокирующие)\ (@ref\ MYLIBS\_TIM\_DELAY)}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00034}00034\ \textcolor{comment}{-\/\ Работа\ с\ энкодерами\ (чтение\ положения,\ обработка\ кнопок)\ (@ref\ MYLIBS\_TIM\_ENCODER)}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00035}00035\ \textcolor{comment}{-\/\ Настройка\ ШИМ\ и\ Output\ Compare\ (@ref\ MYLIBS\_TIM\_OC)}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00036}00036\ \textcolor{comment}{}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00037}00037\ \textcolor{comment}{@subsubsection\ uart\_module\ Модуль\ UART\ @ref\ MY\_LIBS\_UART}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00038}00038\ \textcolor{comment}{-\/\ Базовая\ инициализация\ UART\ и\ его\ пинов\ одной\ функцией\ (@ref\ UART\_Base\_Init)}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00039}00039\ \textcolor{comment}{}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00040}00040\ \textcolor{comment}{@subsubsection\ spi\_module\ Модуль\ SPI\ @ref\ MY\_LIBS\_SPI}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00041}00041\ \textcolor{comment}{-\/\ Базовая\ инициализация\ SPI\ и\ пинов\ одной\ функцией\ (@ref\ SPI\_Base\_Init)}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00042}00042\ \textcolor{comment}{}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00043}00043\ \textcolor{comment}{@subsection\ structure\ Структура\ проекта}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00044}00044\ \textcolor{comment}{}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00045}00045\ \textcolor{comment}{@code}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00046}00046\ \textcolor{comment}{ProjectRoot/}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00047}00047\ \textcolor{comment}{├──\ MyLibs/\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \#\ Общие\ библиотеки,\ независимые\ от\ платформы\ (или\ почти)}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00048}00048\ \textcolor{comment}{│\ \ \ ├──\ inc/}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00049}00049\ \textcolor{comment}{│\ \ \ │\ \ \ ├──\ mylibs\_include.h\ \ \ \ \ \#\ Главный\ include\ файл}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00050}00050\ \textcolor{comment}{│\ \ \ │\ \ \ ├──\ mylibs\_config.h\ \ \ \ \ \ \#\ Конфигурация\ библиотек}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00051}00051\ \textcolor{comment}{│\ \ \ │\ \ \ ├──\ mylibs\_defs.h\ \ \ \ \ \ \ \ \#\ Общие\ определения\ и\ макросы}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00052}00052\ \textcolor{comment}{│\ \ \ │\ \ \ ├──\ bit\_access.h\ \ \ \ \ \ \ \ \ \#\ Битовый\ доступ\ к\ регистрам}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00053}00053\ \textcolor{comment}{│\ \ \ │\ \ \ ├──\ evolve\_optimizer.h\ \ \ \#\ Оптимизатор\ (генетический\ алгоритм)}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00054}00054\ \textcolor{comment}{│\ \ \ │\ \ \ ├──\ trackers.h\ \ \ \ \ \ \ \ \ \ \ \#\ Трекеры\ для\ отладки}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00055}00055\ \textcolor{comment}{│\ \ \ │\ \ \ └──\ trace.h\ \ \ \ \ \ \ \ \ \ \ \ \ \ \#\ Трассировка\ и\ логирование}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00056}00056\ \textcolor{comment}{│\ \ \ └──\ src/}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00057}00057\ \textcolor{comment}{│}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00058}00058\ \textcolor{comment}{├──RTT\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \#\ Библиотека\ RTT}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00059}00059\ \textcolor{comment}{│\ \ \ ├──\ \_\_SEGGER\_RTT\_Conf.h\ \ \ \ \ \ \#\ Конфигурационный\ файл\ RTT}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00060}00060\ \textcolor{comment}{│\ \ \ ├──\ SEGGER\_RTT.c\ \ \ \ \ \ \ \ \ \ \ \ \ \#\ Основной\ модуль\ RTT}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00061}00061\ \textcolor{comment}{│\ \ \ ├──\ SEGGER\_RTT.h\ \ \ \ \ \ \ \ \ \ \ \ \ \#\ Основной\ заголовок\ RTT}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00062}00062\ \textcolor{comment}{│\ \ \ ├──\ SEGGER\_RTT\_ASM\_ARMv7M.S\ \ \#\ Ассемблерная\ оптимизация\ для\ ARMv7M}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00063}00063\ \textcolor{comment}{│\ \ \ └──\ SEGGER\_RTT\_printf.c\ \ \ \ \ \ \#\ Реализация\ printf()\ через\ RTT}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00064}00064\ \textcolor{comment}{│}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00065}00065\ \textcolor{comment}{└──\ STM32\_General\ \ \ \ \ \ \ \ \ \ \ \ \ \#\ Работа\ с\ периферией\ STM32}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00066}00066\ \textcolor{comment}{\ \ \ \ ├──\ inc/}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00067}00067\ \textcolor{comment}{\ \ \ \ │\ \ \ ├──\ general\_gpio.h\ \ \ \ \ \ \ \#\ Работа\ с\ GPIO}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00068}00068\ \textcolor{comment}{\ \ \ \ │\ \ \ ├──\ general\_spi.h\ \ \ \ \ \ \ \ \#\ Работа\ с\ SPI}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00069}00069\ \textcolor{comment}{\ \ \ \ │\ \ \ ├──\ general\_tim.h\ \ \ \ \ \ \ \ \#\ Работа\ с\ таймерами}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00070}00070\ \textcolor{comment}{\ \ \ \ │\ \ \ └──\ general\_uart.h\ \ \ \ \ \ \ \#\ Работа\ с\ UART}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00071}00071\ \textcolor{comment}{\ \ \ \ └──\ src/}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00072}00072\ \textcolor{comment}{\ \ \ \ \ \ \ \ ├──\ general\_gpio.c\ \ \ \ \ \ \ \#\ Реализация\ GPIO}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00073}00073\ \textcolor{comment}{\ \ \ \ \ \ \ \ ├──\ general\_spi.c\ \ \ \ \ \ \ \ \#\ Реализация\ SPI}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00074}00074\ \textcolor{comment}{\ \ \ \ \ \ \ \ ├──\ general\_tim.c\ \ \ \ \ \ \ \ \#\ Реализация\ TIM}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00075}00075\ \textcolor{comment}{\ \ \ \ \ \ \ \ └──\ general\_uart.c\ \ \ \ \ \ \ \#\ Реализация\ UART}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00076}00076\ \textcolor{comment}{@endcode}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00077}00077\ \textcolor{comment}{}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00078}00078\ \textcolor{comment}{}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00079}00079\ \textcolor{comment}{}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00080}00080\ \textcolor{comment}{}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00081}00081\ \textcolor{comment}{@subsection\ usage\_basic\ Использование}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00082}00082\ \textcolor{comment}{}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00083}00083\ \textcolor{comment}{Инструкция\ по\ подключению:}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00084}00084\ \textcolor{comment}{}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00085}00085\ \textcolor{comment}{1.\ Настройте\ конфигурацию\ @ref\ MYLIBS\_CONFIG\ в\ @ref\ mylibs\_config.h\ }} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00086}00086\ \textcolor{comment}{}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00087}00087\ \textcolor{comment}{2.\ Подключите\ главный\ заголовочный\ файл:}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00088}00088\ \textcolor{comment}{@code}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00089}00089\ \textcolor{comment}{\#include\ "{}mylibs\_include.h"{}}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00090}00090\ \textcolor{comment}{@endcode}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00091}00091\ \textcolor{comment}{}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00092}00092\ \textcolor{comment}{3.\ Используйте\ нужные\ модули\ в\ своем\ коде.\ Примеры\ использования\ приведены\ в\ соответствующей\ теме}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00093}00093\ \textcolor{comment}{}} +\DoxyCodeLine{\Hypertarget{mainpage_8h_source_l00094}00094\ \textcolor{comment}{*/}} \end{DoxyCode} diff --git a/Doc/latex/mylibs__config_8h.tex b/Doc/latex/mylibs__config_8h.tex index ebfbb44..dceb968 100644 --- a/Doc/latex/mylibs__config_8h.tex +++ b/Doc/latex/mylibs__config_8h.tex @@ -1,5 +1,5 @@ -\doxysection{E\+:/.WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Inc/mylibs\+\_\+config.h File Reference} -\hypertarget{mylibs__config_8h}{}\label{mylibs__config_8h}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/mylibs\_config.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/mylibs\_config.h}} +\doxysection{E\+:/.WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs/\+Inc/mylibs\+\_\+config.h File Reference} +\hypertarget{mylibs__config_8h}{}\label{mylibs__config_8h}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibs/Inc/mylibs\_config.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibs/Inc/mylibs\_config.h}} Конфигурации для библиотек My\+Libs. @@ -11,7 +11,7 @@ Include dependency graph for mylibs\+\_\+config.\+h\+: \begin{figure}[H] \begin{center} \leavevmode -\includegraphics[width=229pt]{mylibs__config_8h__incl} +\includegraphics[width=212pt]{mylibs__config_8h__incl} \end{center} \end{figure} This graph shows which files directly or indirectly include this file\+: diff --git a/Doc/latex/mylibs__config_8h__dep__incl.md5 b/Doc/latex/mylibs__config_8h__dep__incl.md5 index 77d2196..2b33d81 100644 --- a/Doc/latex/mylibs__config_8h__dep__incl.md5 +++ b/Doc/latex/mylibs__config_8h__dep__incl.md5 @@ -1 +1 @@ -082ebf45da1eebb6c29f7ba296f9fb91 \ No newline at end of file +549ad4f84281da5919a8182a1cfa8419 \ No newline at end of file diff --git a/Doc/latex/mylibs__config_8h__dep__incl.pdf b/Doc/latex/mylibs__config_8h__dep__incl.pdf index 55fcc32..ca5df57 100644 Binary files a/Doc/latex/mylibs__config_8h__dep__incl.pdf and b/Doc/latex/mylibs__config_8h__dep__incl.pdf differ diff --git a/Doc/latex/mylibs__config_8h__incl.md5 b/Doc/latex/mylibs__config_8h__incl.md5 index 05972e8..4b57b02 100644 --- a/Doc/latex/mylibs__config_8h__incl.md5 +++ b/Doc/latex/mylibs__config_8h__incl.md5 @@ -1 +1 @@ -7f343940c93fbed727067d075d8fdd8d \ No newline at end of file +d92f2e71156ec00bf573687efd65ec85 \ No newline at end of file diff --git a/Doc/latex/mylibs__config_8h__incl.pdf b/Doc/latex/mylibs__config_8h__incl.pdf index a46ec9c..bb3dab5 100644 Binary files a/Doc/latex/mylibs__config_8h__incl.pdf and b/Doc/latex/mylibs__config_8h__incl.pdf differ diff --git a/Doc/latex/mylibs__config_8h_source.tex b/Doc/latex/mylibs__config_8h_source.tex index d5de1f6..ae9b037 100644 --- a/Doc/latex/mylibs__config_8h_source.tex +++ b/Doc/latex/mylibs__config_8h_source.tex @@ -1,5 +1,5 @@ \doxysection{mylibs\+\_\+config.\+h} -\hypertarget{mylibs__config_8h_source}{}\label{mylibs__config_8h_source}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/mylibs\_config.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/mylibs\_config.h}} +\hypertarget{mylibs__config_8h_source}{}\label{mylibs__config_8h_source}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibs/Inc/mylibs\_config.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibs/Inc/mylibs\_config.h}} \mbox{\hyperlink{mylibs__config_8h}{Go to the documentation of this file.}} \begin{DoxyCode}{0} \DoxyCodeLine{\Hypertarget{mylibs__config_8h_source_l00001}00001\ \textcolor{comment}{/**\ }} diff --git a/Doc/latex/mylibs__defs_8h.tex b/Doc/latex/mylibs__defs_8h.tex index 5167839..5185989 100644 --- a/Doc/latex/mylibs__defs_8h.tex +++ b/Doc/latex/mylibs__defs_8h.tex @@ -1,5 +1,5 @@ -\doxysection{E\+:/.WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Inc/mylibs\+\_\+defs.h File Reference} -\hypertarget{mylibs__defs_8h}{}\label{mylibs__defs_8h}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/mylibs\_defs.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/mylibs\_defs.h}} +\doxysection{E\+:/.WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs/\+Inc/mylibs\+\_\+defs.h File Reference} +\hypertarget{mylibs__defs_8h}{}\label{mylibs__defs_8h}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibs/Inc/mylibs\_defs.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibs/Inc/mylibs\_defs.h}} Заголочный файл для дефайнов библиотеки My\+Libs\+General. @@ -11,7 +11,7 @@ Include dependency graph for mylibs\+\_\+defs.\+h\+: \begin{figure}[H] \begin{center} \leavevmode -\includegraphics[width=229pt]{mylibs__defs_8h__incl} +\includegraphics[width=212pt]{mylibs__defs_8h__incl} \end{center} \end{figure} This graph shows which files directly or indirectly include this file\+: diff --git a/Doc/latex/mylibs__defs_8h__dep__incl.md5 b/Doc/latex/mylibs__defs_8h__dep__incl.md5 index 2454bdf..ceb12cf 100644 --- a/Doc/latex/mylibs__defs_8h__dep__incl.md5 +++ b/Doc/latex/mylibs__defs_8h__dep__incl.md5 @@ -1 +1 @@ -0085824f98ba0aa8e935c0ada2fd3b2e \ No newline at end of file +cdcbb90c558ed039bffebd441292f445 \ No newline at end of file diff --git a/Doc/latex/mylibs__defs_8h__dep__incl.pdf b/Doc/latex/mylibs__defs_8h__dep__incl.pdf index 75731ac..a81b136 100644 Binary files a/Doc/latex/mylibs__defs_8h__dep__incl.pdf and b/Doc/latex/mylibs__defs_8h__dep__incl.pdf differ diff --git a/Doc/latex/mylibs__defs_8h__incl.md5 b/Doc/latex/mylibs__defs_8h__incl.md5 index 836cb7e..08549bc 100644 --- a/Doc/latex/mylibs__defs_8h__incl.md5 +++ b/Doc/latex/mylibs__defs_8h__incl.md5 @@ -1 +1 @@ -b5e99873d7ab78385a101e5850699d2c \ No newline at end of file +4877a0c82614795dedf2fb1ec1e645aa \ No newline at end of file diff --git a/Doc/latex/mylibs__defs_8h__incl.pdf b/Doc/latex/mylibs__defs_8h__incl.pdf index 42ff48d..e00671b 100644 Binary files a/Doc/latex/mylibs__defs_8h__incl.pdf and b/Doc/latex/mylibs__defs_8h__incl.pdf differ diff --git a/Doc/latex/mylibs__defs_8h_source.tex b/Doc/latex/mylibs__defs_8h_source.tex index a44b4a6..5261bae 100644 --- a/Doc/latex/mylibs__defs_8h_source.tex +++ b/Doc/latex/mylibs__defs_8h_source.tex @@ -1,5 +1,5 @@ \doxysection{mylibs\+\_\+defs.\+h} -\hypertarget{mylibs__defs_8h_source}{}\label{mylibs__defs_8h_source}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/mylibs\_defs.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/mylibs\_defs.h}} +\hypertarget{mylibs__defs_8h_source}{}\label{mylibs__defs_8h_source}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibs/Inc/mylibs\_defs.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibs/Inc/mylibs\_defs.h}} \mbox{\hyperlink{mylibs__defs_8h}{Go to the documentation of this file.}} \begin{DoxyCode}{0} \DoxyCodeLine{\Hypertarget{mylibs__defs_8h_source_l00001}00001\ \textcolor{comment}{/**\ }} diff --git a/Doc/latex/mylibs__include_8h.tex b/Doc/latex/mylibs__include_8h.tex index 6b0b211..c1ec186 100644 --- a/Doc/latex/mylibs__include_8h.tex +++ b/Doc/latex/mylibs__include_8h.tex @@ -1,5 +1,5 @@ -\doxysection{E\+:/.WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Inc/mylibs\+\_\+include.h File Reference} -\hypertarget{mylibs__include_8h}{}\label{mylibs__include_8h}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/mylibs\_include.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/mylibs\_include.h}} +\doxysection{E\+:/.WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs/\+Inc/mylibs\+\_\+include.h File Reference} +\hypertarget{mylibs__include_8h}{}\label{mylibs__include_8h}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibs/Inc/mylibs\_include.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibs/Inc/mylibs\_include.h}} Заголочный файл для всех библиотек @@ -13,7 +13,6 @@ {\ttfamily \#include "{}evolve\+\_\+optimizer.\+h"{}}\newline {\ttfamily \#include "{}\+\_\+\+\_\+general\+\_\+flash.\+h"{}}\newline {\ttfamily \#include "{}general\+\_\+gpio.\+h"{}}\newline -{\ttfamily \#include "{}general\+\_\+tim.\+h"{}}\newline Include dependency graph for mylibs\+\_\+include.\+h\+: \nopagebreak \begin{figure}[H] diff --git a/Doc/latex/mylibs__include_8h__incl.md5 b/Doc/latex/mylibs__include_8h__incl.md5 index c15d6e6..a515c46 100644 --- a/Doc/latex/mylibs__include_8h__incl.md5 +++ b/Doc/latex/mylibs__include_8h__incl.md5 @@ -1 +1 @@ -eb944b0f31d4c04035027b6a55300940 \ No newline at end of file +817f7e940e65c096c687de633dbb8802 \ No newline at end of file diff --git a/Doc/latex/mylibs__include_8h__incl.pdf b/Doc/latex/mylibs__include_8h__incl.pdf index 49c6588..09d7e8f 100644 Binary files a/Doc/latex/mylibs__include_8h__incl.pdf and b/Doc/latex/mylibs__include_8h__incl.pdf differ diff --git a/Doc/latex/mylibs__include_8h_source.tex b/Doc/latex/mylibs__include_8h_source.tex index 37dcfd4..027aafd 100644 --- a/Doc/latex/mylibs__include_8h_source.tex +++ b/Doc/latex/mylibs__include_8h_source.tex @@ -1,5 +1,5 @@ \doxysection{mylibs\+\_\+include.\+h} -\hypertarget{mylibs__include_8h_source}{}\label{mylibs__include_8h_source}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/mylibs\_include.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/mylibs\_include.h}} +\hypertarget{mylibs__include_8h_source}{}\label{mylibs__include_8h_source}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibs/Inc/mylibs\_include.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibs/Inc/mylibs\_include.h}} \mbox{\hyperlink{mylibs__include_8h}{Go to the documentation of this file.}} \begin{DoxyCode}{0} \DoxyCodeLine{\Hypertarget{mylibs__include_8h_source_l00001}00001\ \textcolor{comment}{/**\ }} diff --git a/Doc/latex/refman.tex b/Doc/latex/refman.tex index f372478..1737da7 100644 --- a/Doc/latex/refman.tex +++ b/Doc/latex/refman.tex @@ -257,19 +257,11 @@ \input{unionuint64___bit_type_def} \input{unionuint8___bit_type_def} \chapter{File Documentation} -\input{____general__flash_8h_source} +\input{mainpage_8h_source} \input{bit__access_8h} \input{bit__access_8h_source} \input{evolve__optimizer_8h} \input{evolve__optimizer_8h_source} -\input{general__gpio_8h} -\input{general__gpio_8h_source} -\input{general__spi_8h} -\input{general__spi_8h_source} -\input{general__tim_8h} -\input{general__tim_8h_source} -\input{general__uart_8h} -\input{general__uart_8h_source} \input{mylibs__config_8h} \input{mylibs__config_8h_source} \input{mylibs__defs_8h} @@ -280,7 +272,15 @@ \input{trace_8h_source} \input{trackers_8h} \input{trackers_8h_source} -\input{mainpage_8h_source} +\input{____general__flash_8h_source} +\input{general__gpio_8h} +\input{general__gpio_8h_source} +\input{general__spi_8h} +\input{general__spi_8h_source} +\input{general__tim_8h} +\input{general__tim_8h_source} +\input{general__uart_8h} +\input{general__uart_8h_source} \input{____general__flash_8c_source} \input{general__gpio_8c} \input{general__gpio_8c_source} diff --git a/Doc/latex/struct_evolve_optimizer__t.tex b/Doc/latex/struct_evolve_optimizer__t.tex index ae00363..d261b31 100644 --- a/Doc/latex/struct_evolve_optimizer__t.tex +++ b/Doc/latex/struct_evolve_optimizer__t.tex @@ -204,4 +204,4 @@ Definition at line \mbox{\hyperlink{evolve__optimizer_8h_source_l00118}{118}} of The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize} \item -E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Inc/\mbox{\hyperlink{evolve__optimizer_8h}{evolve\+\_\+optimizer.\+h}}\end{DoxyCompactItemize} +E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs/\+Inc/\mbox{\hyperlink{evolve__optimizer_8h}{evolve\+\_\+optimizer.\+h}}\end{DoxyCompactItemize} diff --git a/Doc/latex/struct_g_p_i_o___l_e_d_type_def.tex b/Doc/latex/struct_g_p_i_o___l_e_d_type_def.tex index d77e973..4bbf7f4 100644 --- a/Doc/latex/struct_g_p_i_o___l_e_d_type_def.tex +++ b/Doc/latex/struct_g_p_i_o___l_e_d_type_def.tex @@ -120,4 +120,4 @@ Definition at line \mbox{\hyperlink{general__gpio_8h_source_l00083}{83}} of file The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize} \item -E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Inc/\mbox{\hyperlink{general__gpio_8h}{general\+\_\+gpio.\+h}}\end{DoxyCompactItemize} +E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+STM32\+\_\+\+General/\+Inc/\mbox{\hyperlink{general__gpio_8h}{general\+\_\+gpio.\+h}}\end{DoxyCompactItemize} diff --git a/Doc/latex/struct_g_p_i_o___switch_type_def.tex b/Doc/latex/struct_g_p_i_o___switch_type_def.tex index 907d240..1cb935c 100644 --- a/Doc/latex/struct_g_p_i_o___switch_type_def.tex +++ b/Doc/latex/struct_g_p_i_o___switch_type_def.tex @@ -120,4 +120,4 @@ Definition at line \mbox{\hyperlink{general__gpio_8h_source_l00099}{99}} of file The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize} \item -E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Inc/\mbox{\hyperlink{general__gpio_8h}{general\+\_\+gpio.\+h}}\end{DoxyCompactItemize} +E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+STM32\+\_\+\+General/\+Inc/\mbox{\hyperlink{general__gpio_8h}{general\+\_\+gpio.\+h}}\end{DoxyCompactItemize} diff --git a/Doc/latex/struct_h_f___stack_frame__t.tex b/Doc/latex/struct_h_f___stack_frame__t.tex index 97e98a2..c74c1cd 100644 --- a/Doc/latex/struct_h_f___stack_frame__t.tex +++ b/Doc/latex/struct_h_f___stack_frame__t.tex @@ -158,4 +158,4 @@ Definition at line \mbox{\hyperlink{trace_8h_source_l00484}{484}} of file \mbox{ The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize} \item -E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Inc/\mbox{\hyperlink{trace_8h}{trace.\+h}}\end{DoxyCompactItemize} +E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs/\+Inc/\mbox{\hyperlink{trace_8h}{trace.\+h}}\end{DoxyCompactItemize} diff --git a/Doc/latex/struct_r_t_t___flash_header__t.tex b/Doc/latex/struct_r_t_t___flash_header__t.tex index 657aad4..7c28249 100644 --- a/Doc/latex/struct_r_t_t___flash_header__t.tex +++ b/Doc/latex/struct_r_t_t___flash_header__t.tex @@ -76,4 +76,4 @@ Definition at line \mbox{\hyperlink{trace_8h_source_l00196}{196}} of file \mbox{ The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize} \item -E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Inc/\mbox{\hyperlink{trace_8h}{trace.\+h}}\end{DoxyCompactItemize} +E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs/\+Inc/\mbox{\hyperlink{trace_8h}{trace.\+h}}\end{DoxyCompactItemize} diff --git a/Doc/latex/struct_s_p_i___settings_type_def.tex b/Doc/latex/struct_s_p_i___settings_type_def.tex index 8fd1dbb..a310933 100644 --- a/Doc/latex/struct_s_p_i___settings_type_def.tex +++ b/Doc/latex/struct_s_p_i___settings_type_def.tex @@ -222,4 +222,4 @@ Definition at line \mbox{\hyperlink{general__spi_8h_source_l00120}{120}} of file The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize} \item -E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Inc/\mbox{\hyperlink{general__spi_8h}{general\+\_\+spi.\+h}}\end{DoxyCompactItemize} +E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+STM32\+\_\+\+General/\+Inc/\mbox{\hyperlink{general__spi_8h}{general\+\_\+spi.\+h}}\end{DoxyCompactItemize} diff --git a/Doc/latex/struct_t_i_m___encoder_type_def.tex b/Doc/latex/struct_t_i_m___encoder_type_def.tex index 79f641d..39a1d09 100644 --- a/Doc/latex/struct_t_i_m___encoder_type_def.tex +++ b/Doc/latex/struct_t_i_m___encoder_type_def.tex @@ -188,4 +188,4 @@ Definition at line \mbox{\hyperlink{general__tim_8h_source_l00154}{154}} of file The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize} \item -E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Inc/\mbox{\hyperlink{general__tim_8h}{general\+\_\+tim.\+h}}\end{DoxyCompactItemize} +E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+STM32\+\_\+\+General/\+Inc/\mbox{\hyperlink{general__tim_8h}{general\+\_\+tim.\+h}}\end{DoxyCompactItemize} diff --git a/Doc/latex/struct_t_i_m___encoder_type_def__coll__graph.pdf b/Doc/latex/struct_t_i_m___encoder_type_def__coll__graph.pdf index b1e4907..d7d2e72 100644 Binary files a/Doc/latex/struct_t_i_m___encoder_type_def__coll__graph.pdf and b/Doc/latex/struct_t_i_m___encoder_type_def__coll__graph.pdf differ diff --git a/Doc/latex/struct_t_i_m___settings_type_def.tex b/Doc/latex/struct_t_i_m___settings_type_def.tex index 12e4737..d47679e 100644 --- a/Doc/latex/struct_t_i_m___settings_type_def.tex +++ b/Doc/latex/struct_t_i_m___settings_type_def.tex @@ -194,4 +194,4 @@ Definition at line \mbox{\hyperlink{general__tim_8h_source_l00125}{125}} of file The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize} \item -E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Inc/\mbox{\hyperlink{general__tim_8h}{general\+\_\+tim.\+h}}\end{DoxyCompactItemize} +E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+STM32\+\_\+\+General/\+Inc/\mbox{\hyperlink{general__tim_8h}{general\+\_\+tim.\+h}}\end{DoxyCompactItemize} diff --git a/Doc/latex/struct_u_a_r_t___settings_type_def.tex b/Doc/latex/struct_u_a_r_t___settings_type_def.tex index 8625686..118de22 100644 --- a/Doc/latex/struct_u_a_r_t___settings_type_def.tex +++ b/Doc/latex/struct_u_a_r_t___settings_type_def.tex @@ -126,4 +126,4 @@ Definition at line \mbox{\hyperlink{general__uart_8h_source_l00105}{105}} of fil The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize} \item -E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Inc/\mbox{\hyperlink{general__uart_8h}{general\+\_\+uart.\+h}}\end{DoxyCompactItemize} +E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+STM32\+\_\+\+General/\+Inc/\mbox{\hyperlink{general__uart_8h}{general\+\_\+uart.\+h}}\end{DoxyCompactItemize} diff --git a/Doc/latex/trace_8h.tex b/Doc/latex/trace_8h.tex index 1502d40..05c62d3 100644 --- a/Doc/latex/trace_8h.tex +++ b/Doc/latex/trace_8h.tex @@ -1,5 +1,5 @@ -\doxysection{E\+:/.WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Inc/trace.h File Reference} -\hypertarget{trace_8h}{}\label{trace_8h}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/trace.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/trace.h}} +\doxysection{E\+:/.WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs/\+Inc/trace.h File Reference} +\hypertarget{trace_8h}{}\label{trace_8h}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibs/Inc/trace.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibs/Inc/trace.h}} Заголочный файл для работы с трассировкой. @@ -21,7 +21,7 @@ This graph shows which files directly or indirectly include this file\+: \begin{figure}[H] \begin{center} \leavevmode -\includegraphics[width=229pt]{trace_8h__dep__incl} +\includegraphics[width=212pt]{trace_8h__dep__incl} \end{center} \end{figure} \doxysubsubsection*{Classes} diff --git a/Doc/latex/trace_8h__dep__incl.md5 b/Doc/latex/trace_8h__dep__incl.md5 index fc64bec..ad9694e 100644 --- a/Doc/latex/trace_8h__dep__incl.md5 +++ b/Doc/latex/trace_8h__dep__incl.md5 @@ -1 +1 @@ -d1d9b9839489bb966fdfc05554f4505c \ No newline at end of file +2c74215ac379983f780e4360fb24b6c0 \ No newline at end of file diff --git a/Doc/latex/trace_8h__dep__incl.pdf b/Doc/latex/trace_8h__dep__incl.pdf index 8bb4048..8e9aaf3 100644 Binary files a/Doc/latex/trace_8h__dep__incl.pdf and b/Doc/latex/trace_8h__dep__incl.pdf differ diff --git a/Doc/latex/trace_8h__incl.md5 b/Doc/latex/trace_8h__incl.md5 index 3bf9e8b..faf7072 100644 --- a/Doc/latex/trace_8h__incl.md5 +++ b/Doc/latex/trace_8h__incl.md5 @@ -1 +1 @@ -25ced8a2b2c0bbd5a0a97e1ea1708d17 \ No newline at end of file +e123b1bf7c7a85e62a16c31c7a2ae97d \ No newline at end of file diff --git a/Doc/latex/trace_8h__incl.pdf b/Doc/latex/trace_8h__incl.pdf index 77a15ef..728db5a 100644 Binary files a/Doc/latex/trace_8h__incl.pdf and b/Doc/latex/trace_8h__incl.pdf differ diff --git a/Doc/latex/trace_8h_source.tex b/Doc/latex/trace_8h_source.tex index 8a6a204..c0a53f0 100644 --- a/Doc/latex/trace_8h_source.tex +++ b/Doc/latex/trace_8h_source.tex @@ -1,5 +1,5 @@ \doxysection{trace.\+h} -\hypertarget{trace_8h_source}{}\label{trace_8h_source}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/trace.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/trace.h}} +\hypertarget{trace_8h_source}{}\label{trace_8h_source}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibs/Inc/trace.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibs/Inc/trace.h}} \mbox{\hyperlink{trace_8h}{Go to the documentation of this file.}} \begin{DoxyCode}{0} \DoxyCodeLine{\Hypertarget{trace_8h_source_l00001}00001\ \textcolor{comment}{/**\ }} diff --git a/Doc/latex/trackers_8h.tex b/Doc/latex/trackers_8h.tex index 9b09a0e..497b237 100644 --- a/Doc/latex/trackers_8h.tex +++ b/Doc/latex/trackers_8h.tex @@ -1,5 +1,5 @@ -\doxysection{E\+:/.WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Inc/trackers.h File Reference} -\hypertarget{trackers_8h}{}\label{trackers_8h}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/trackers.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/trackers.h}} +\doxysection{E\+:/.WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs/\+Inc/trackers.h File Reference} +\hypertarget{trackers_8h}{}\label{trackers_8h}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibs/Inc/trackers.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibs/Inc/trackers.h}} Заголочный файл для работы с трекерами \doxylink{group___t_r_a_c_k_e_r_s}{Trackers defines}. @@ -11,7 +11,7 @@ Include dependency graph for trackers.\+h\+: \begin{figure}[H] \begin{center} \leavevmode -\includegraphics[width=229pt]{trackers_8h__incl} +\includegraphics[width=212pt]{trackers_8h__incl} \end{center} \end{figure} This graph shows which files directly or indirectly include this file\+: @@ -19,7 +19,7 @@ This graph shows which files directly or indirectly include this file\+: \begin{figure}[H] \begin{center} \leavevmode -\includegraphics[width=229pt]{trackers_8h__dep__incl} +\includegraphics[width=212pt]{trackers_8h__dep__incl} \end{center} \end{figure} \doxysubsubsection*{Macros} diff --git a/Doc/latex/trackers_8h__dep__incl.md5 b/Doc/latex/trackers_8h__dep__incl.md5 index 1f31ff9..424e638 100644 --- a/Doc/latex/trackers_8h__dep__incl.md5 +++ b/Doc/latex/trackers_8h__dep__incl.md5 @@ -1 +1 @@ -72159b9328b2b9eb57fcadd1b302af03 \ No newline at end of file +183d67fba0f07b440433d7ad2021e54e \ No newline at end of file diff --git a/Doc/latex/trackers_8h__dep__incl.pdf b/Doc/latex/trackers_8h__dep__incl.pdf index 6187eda..897c9d3 100644 Binary files a/Doc/latex/trackers_8h__dep__incl.pdf and b/Doc/latex/trackers_8h__dep__incl.pdf differ diff --git a/Doc/latex/trackers_8h__incl.md5 b/Doc/latex/trackers_8h__incl.md5 index 6a7968e..5e38f5b 100644 --- a/Doc/latex/trackers_8h__incl.md5 +++ b/Doc/latex/trackers_8h__incl.md5 @@ -1 +1 @@ -6d8304d11950bddd905c4ec0d61782f8 \ No newline at end of file +3f6ce4a82ec0dada7e006c4ba3a2e82f \ No newline at end of file diff --git a/Doc/latex/trackers_8h__incl.pdf b/Doc/latex/trackers_8h__incl.pdf index 90db104..47dd049 100644 Binary files a/Doc/latex/trackers_8h__incl.pdf and b/Doc/latex/trackers_8h__incl.pdf differ diff --git a/Doc/latex/trackers_8h_source.tex b/Doc/latex/trackers_8h_source.tex index 10669d6..8d95a36 100644 --- a/Doc/latex/trackers_8h_source.tex +++ b/Doc/latex/trackers_8h_source.tex @@ -1,5 +1,5 @@ \doxysection{trackers.\+h} -\hypertarget{trackers_8h_source}{}\label{trackers_8h_source}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/trackers.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibsGeneral/Inc/trackers.h}} +\hypertarget{trackers_8h_source}{}\label{trackers_8h_source}\index{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibs/Inc/trackers.h@{E:/.WORK/STM32/STM32\_ExtendedLibs/MyLibs/Inc/trackers.h}} \mbox{\hyperlink{trackers_8h}{Go to the documentation of this file.}} \begin{DoxyCode}{0} \DoxyCodeLine{\Hypertarget{trackers_8h_source_l00001}00001\ \textcolor{comment}{/**\ }} diff --git a/Doc/latex/unionuint16___bit_type_def.tex b/Doc/latex/unionuint16___bit_type_def.tex index c4d32f3..124b3d8 100644 --- a/Doc/latex/unionuint16___bit_type_def.tex +++ b/Doc/latex/unionuint16___bit_type_def.tex @@ -5,7 +5,7 @@ \item uint16\+\_\+t \mbox{\hyperlink{unionuint16___bit_type_def_ab821c8d3f0ad9b2aa405b29c1a15e955}{all}} \item -\Hypertarget{unionuint16___bit_type_def_a74615b0facc151c62611408fa64fa3a7}\label{unionuint16___bit_type_def_a74615b0facc151c62611408fa64fa3a7} +\Hypertarget{unionuint16___bit_type_def_ac1f31de77621537e93ef61e2748a3601}\label{unionuint16___bit_type_def_ac1f31de77621537e93ef61e2748a3601} \begin{tabbing} xx\=xx\=xx\=xx\=xx\=xx\=xx\=xx\=xx\=\kill struct \{\\ @@ -214,4 +214,4 @@ Definition at line \mbox{\hyperlink{bit__access_8h_source_l00075}{75}} of file \ The documentation for this union was generated from the following file\+:\begin{DoxyCompactItemize} \item -E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Inc/\mbox{\hyperlink{bit__access_8h}{bit\+\_\+access.\+h}}\end{DoxyCompactItemize} +E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs/\+Inc/\mbox{\hyperlink{bit__access_8h}{bit\+\_\+access.\+h}}\end{DoxyCompactItemize} diff --git a/Doc/latex/unionuint32___bit_type_def.tex b/Doc/latex/unionuint32___bit_type_def.tex index 3014264..c0ad0ac 100644 --- a/Doc/latex/unionuint32___bit_type_def.tex +++ b/Doc/latex/unionuint32___bit_type_def.tex @@ -5,7 +5,7 @@ \item uint32\+\_\+t \mbox{\hyperlink{unionuint32___bit_type_def_aabd9acf3b55b909219a41737a105f31b}{all}} \item -\Hypertarget{unionuint32___bit_type_def_a49ec6ac6dfc5a5da865150c5213e3822}\label{unionuint32___bit_type_def_a49ec6ac6dfc5a5da865150c5213e3822} +\Hypertarget{unionuint32___bit_type_def_a0902ae26c90f85b2ee1423d994fe5592}\label{unionuint32___bit_type_def_a0902ae26c90f85b2ee1423d994fe5592} \begin{tabbing} xx\=xx\=xx\=xx\=xx\=xx\=xx\=xx\=xx\=\kill struct \{\\ @@ -390,4 +390,4 @@ Definition at line \mbox{\hyperlink{bit__access_8h_source_l00092}{92}} of file \ The documentation for this union was generated from the following file\+:\begin{DoxyCompactItemize} \item -E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Inc/\mbox{\hyperlink{bit__access_8h}{bit\+\_\+access.\+h}}\end{DoxyCompactItemize} +E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs/\+Inc/\mbox{\hyperlink{bit__access_8h}{bit\+\_\+access.\+h}}\end{DoxyCompactItemize} diff --git a/Doc/latex/unionuint64___bit_type_def.tex b/Doc/latex/unionuint64___bit_type_def.tex index 23030ba..c6e6f55 100644 --- a/Doc/latex/unionuint64___bit_type_def.tex +++ b/Doc/latex/unionuint64___bit_type_def.tex @@ -5,7 +5,7 @@ \item uint64\+\_\+t \mbox{\hyperlink{unionuint64___bit_type_def_a1dd79aa84a1d13d156f1b684aaf01edd}{all}} \item -\Hypertarget{unionuint64___bit_type_def_a90521812d54cf423f4cacf6cce0022cd}\label{unionuint64___bit_type_def_a90521812d54cf423f4cacf6cce0022cd} +\Hypertarget{unionuint64___bit_type_def_a753566b86284afd8347ec6f5d2604441}\label{unionuint64___bit_type_def_a753566b86284afd8347ec6f5d2604441} \begin{tabbing} xx\=xx\=xx\=xx\=xx\=xx\=xx\=xx\=xx\=\kill struct \{\\ @@ -742,4 +742,4 @@ Definition at line \mbox{\hyperlink{bit__access_8h_source_l00117}{117}} of file The documentation for this union was generated from the following file\+:\begin{DoxyCompactItemize} \item -E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Inc/\mbox{\hyperlink{bit__access_8h}{bit\+\_\+access.\+h}}\end{DoxyCompactItemize} +E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs/\+Inc/\mbox{\hyperlink{bit__access_8h}{bit\+\_\+access.\+h}}\end{DoxyCompactItemize} diff --git a/Doc/latex/unionuint8___bit_type_def.tex b/Doc/latex/unionuint8___bit_type_def.tex index d369e58..0b6a2d6 100644 --- a/Doc/latex/unionuint8___bit_type_def.tex +++ b/Doc/latex/unionuint8___bit_type_def.tex @@ -5,7 +5,7 @@ \item uint8\+\_\+t \mbox{\hyperlink{unionuint8___bit_type_def_aacf75bef7d0b9ed458e03a4278f5fe88}{all}} \item -\Hypertarget{unionuint8___bit_type_def_aebe07b71261a8c24d23c63637d506f91}\label{unionuint8___bit_type_def_aebe07b71261a8c24d23c63637d506f91} +\Hypertarget{unionuint8___bit_type_def_aacf7b4350fc17ab7d9517f71e6408d85}\label{unionuint8___bit_type_def_aacf7b4350fc17ab7d9517f71e6408d85} \begin{tabbing} xx\=xx\=xx\=xx\=xx\=xx\=xx\=xx\=xx\=\kill struct \{\\ @@ -126,4 +126,4 @@ Definition at line \mbox{\hyperlink{bit__access_8h_source_l00051}{51}} of file \ The documentation for this union was generated from the following file\+:\begin{DoxyCompactItemize} \item -E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs\+General/\+Inc/\mbox{\hyperlink{bit__access_8h}{bit\+\_\+access.\+h}}\end{DoxyCompactItemize} +E\+:/.\+WORK/\+STM32/\+STM32\+\_\+\+Extended\+Libs/\+My\+Libs/\+Inc/\mbox{\hyperlink{bit__access_8h}{bit\+\_\+access.\+h}}\end{DoxyCompactItemize} diff --git a/MyLibsGeneral/Inc/bit_access.h b/MyLibs/Inc/bit_access.h similarity index 100% rename from MyLibsGeneral/Inc/bit_access.h rename to MyLibs/Inc/bit_access.h diff --git a/MyLibsGeneral/Inc/evolve_optimizer.h b/MyLibs/Inc/evolve_optimizer.h similarity index 100% rename from MyLibsGeneral/Inc/evolve_optimizer.h rename to MyLibs/Inc/evolve_optimizer.h diff --git a/MyLibsGeneral/Inc/mylibs_config.h b/MyLibs/Inc/mylibs_config.h similarity index 100% rename from MyLibsGeneral/Inc/mylibs_config.h rename to MyLibs/Inc/mylibs_config.h diff --git a/MyLibsGeneral/Inc/mylibs_defs.h b/MyLibs/Inc/mylibs_defs.h similarity index 100% rename from MyLibsGeneral/Inc/mylibs_defs.h rename to MyLibs/Inc/mylibs_defs.h diff --git a/MyLibsGeneral/Inc/mylibs_include.h b/MyLibs/Inc/mylibs_include.h similarity index 100% rename from MyLibsGeneral/Inc/mylibs_include.h rename to MyLibs/Inc/mylibs_include.h diff --git a/MyLibsGeneral/Inc/trace.h b/MyLibs/Inc/trace.h similarity index 100% rename from MyLibsGeneral/Inc/trace.h rename to MyLibs/Inc/trace.h diff --git a/MyLibsGeneral/Inc/trackers.h b/MyLibs/Inc/trackers.h similarity index 100% rename from MyLibsGeneral/Inc/trackers.h rename to MyLibs/Inc/trackers.h diff --git a/MyLibsGeneral/Inc/__general_flash.h b/STM32_General/Inc/__general_flash.h similarity index 100% rename from MyLibsGeneral/Inc/__general_flash.h rename to STM32_General/Inc/__general_flash.h diff --git a/MyLibsGeneral/Inc/general_gpio.h b/STM32_General/Inc/general_gpio.h similarity index 100% rename from MyLibsGeneral/Inc/general_gpio.h rename to STM32_General/Inc/general_gpio.h diff --git a/MyLibsGeneral/Inc/general_spi.h b/STM32_General/Inc/general_spi.h similarity index 100% rename from MyLibsGeneral/Inc/general_spi.h rename to STM32_General/Inc/general_spi.h diff --git a/MyLibsGeneral/Inc/general_tim.h b/STM32_General/Inc/general_tim.h similarity index 100% rename from MyLibsGeneral/Inc/general_tim.h rename to STM32_General/Inc/general_tim.h diff --git a/MyLibsGeneral/Inc/general_uart.h b/STM32_General/Inc/general_uart.h similarity index 100% rename from MyLibsGeneral/Inc/general_uart.h rename to STM32_General/Inc/general_uart.h diff --git a/MyLibsGeneral/Src/__general_flash.c b/STM32_General/Src/__general_flash.c similarity index 100% rename from MyLibsGeneral/Src/__general_flash.c rename to STM32_General/Src/__general_flash.c diff --git a/MyLibsGeneral/Src/general_gpio.c b/STM32_General/Src/general_gpio.c similarity index 100% rename from MyLibsGeneral/Src/general_gpio.c rename to STM32_General/Src/general_gpio.c diff --git a/MyLibsGeneral/Src/general_spi.c b/STM32_General/Src/general_spi.c similarity index 100% rename from MyLibsGeneral/Src/general_spi.c rename to STM32_General/Src/general_spi.c diff --git a/MyLibsGeneral/Src/general_tim.c b/STM32_General/Src/general_tim.c similarity index 100% rename from MyLibsGeneral/Src/general_tim.c rename to STM32_General/Src/general_tim.c diff --git a/MyLibsGeneral/Src/general_uart.c b/STM32_General/Src/general_uart.c similarity index 100% rename from MyLibsGeneral/Src/general_uart.c rename to STM32_General/Src/general_uart.c diff --git a/MyLibsGeneral/mainpage.h b/mainpage.h similarity index 57% rename from MyLibsGeneral/mainpage.h rename to mainpage.h index d774781..7b4af51 100644 --- a/MyLibsGeneral/mainpage.h +++ b/mainpage.h @@ -1,10 +1,14 @@ - /** @mainpage + @section overview Обзор MyLibs - это набор библиотек для удобной работы с STM32. +\htmlonly +Актуальная версия +\endhtmlonly + @subsection features Основные возможности @subsubsection utils_module Общие утилиты (@ref MYLIBS_DEFINES) @@ -39,25 +43,41 @@ MyLibs - это набор библиотек для удобной работы @subsection structure Структура проекта @code -├── inc/ # Заголовочные файлы -│ ├── mylibs_include.h # Главный include файл -│ ├── mylibs_config.h # Конфигурация библиотек -│ ├── mylibs_defs.h # Общие определения и макросы -│ ├── bit_access.h # Битовый доступ к регистрам -│ ├── evolve_optimizer.h # Оптимизатор (генетический алгоритм) -│ ├── trackers.h # Трекеры для отладки -│ ├── trace.h # Трассировка и логирование -│ ├── general_gpio.h # Работа с GPIO - ├── general_spi.h # Работа с SPI -│ └── general_tim.h # Работа с таймерами - ├── general_uart.h # Работа с UART -└── src/ # Исходные файлы - ├── general_gpio.c # Реализация GPIO - ├── general_spi.c # Реализация SPI - └── general_tim.c # Реализация TIM - ├── general_uart.c # Реализация UART +ProjectRoot/ +├── MyLibs/ # Общие библиотеки, независимые от платформы (или почти) +│ ├── inc/ +│ │ ├── mylibs_include.h # Главный include файл +│ │ ├── mylibs_config.h # Конфигурация библиотек +│ │ ├── mylibs_defs.h # Общие определения и макросы +│ │ ├── bit_access.h # Битовый доступ к регистрам +│ │ ├── evolve_optimizer.h # Оптимизатор (генетический алгоритм) +│ │ ├── trackers.h # Трекеры для отладки +│ │ └── trace.h # Трассировка и логирование +│ └── src/ +│ +├──RTT # Библиотека RTT +│ ├── __SEGGER_RTT_Conf.h # Конфигурационный файл RTT +│ ├── SEGGER_RTT.c # Основной модуль RTT +│ ├── SEGGER_RTT.h # Основной заголовок RTT +│ ├── SEGGER_RTT_ASM_ARMv7M.S # Ассемблерная оптимизация для ARMv7M +│ └── SEGGER_RTT_printf.c # Реализация printf() через RTT +│ +└── STM32_General # Работа с периферией STM32 + ├── inc/ + │ ├── general_gpio.h # Работа с GPIO + │ ├── general_spi.h # Работа с SPI + │ ├── general_tim.h # Работа с таймерами + │ └── general_uart.h # Работа с UART + └── src/ + ├── general_gpio.c # Реализация GPIO + ├── general_spi.c # Реализация SPI + ├── general_tim.c # Реализация TIM + └── general_uart.c # Реализация UART @endcode + + + @subsection usage_basic Использование Инструкция по подключению: @@ -71,4 +91,4 @@ MyLibs - это набор библиотек для удобной работы 3. Используйте нужные модули в своем коде. Примеры использования приведены в соответствующей теме - */ \ No newline at end of file +*/ \ No newline at end of file