stm32h7xx_hal_msp.c
Go to the documentation of this file.
1 /* USER CODE BEGIN Header */
20 /* USER CODE END Header */
21 
22 /* Includes ------------------------------------------------------------------*/
23 #include "main.h"
24 /* USER CODE BEGIN Includes */
25 
26 /* USER CODE END Includes */
28 
29 /* Private typedef -----------------------------------------------------------*/
30 /* USER CODE BEGIN TD */
31 
32 /* USER CODE END TD */
33 
34 /* Private define ------------------------------------------------------------*/
35 /* USER CODE BEGIN Define */
36 
37 /* USER CODE END Define */
38 
39 /* Private macro -------------------------------------------------------------*/
40 /* USER CODE BEGIN Macro */
41 
42 /* USER CODE END Macro */
43 
44 /* Private variables ---------------------------------------------------------*/
45 /* USER CODE BEGIN PV */
46 
47 /* USER CODE END PV */
48 
49 /* Private function prototypes -----------------------------------------------*/
50 /* USER CODE BEGIN PFP */
51 
52 /* USER CODE END PFP */
53 
54 /* External functions --------------------------------------------------------*/
55 /* USER CODE BEGIN ExternalFunctions */
56 
57 /* USER CODE END ExternalFunctions */
58 
59 /* USER CODE BEGIN 0 */
60 
61 /* USER CODE END 0 */
65 void HAL_MspInit(void)
66 {
67  /* USER CODE BEGIN MspInit 0 */
68 
69  /* USER CODE END MspInit 0 */
70 
72 
73  /* System interrupt init*/
74 
75  /* USER CODE BEGIN MspInit 1 */
76 
77  /* USER CODE END MspInit 1 */
78 }
79 
87 {
88  if(hcrc->Instance==CRC)
89  {
90  /* USER CODE BEGIN CRC_MspInit 0 */
91 
92  /* USER CODE END CRC_MspInit 0 */
93  /* Peripheral clock enable */
95  /* USER CODE BEGIN CRC_MspInit 1 */
96 
97  /* USER CODE END CRC_MspInit 1 */
98  }
99 
100 }
101 
109 {
110  if(hcrc->Instance==CRC)
111  {
112  /* USER CODE BEGIN CRC_MspDeInit 0 */
113 
114  /* USER CODE END CRC_MspDeInit 0 */
115  /* Peripheral clock disable */
117  /* USER CODE BEGIN CRC_MspDeInit 1 */
118 
119  /* USER CODE END CRC_MspDeInit 1 */
120  }
121 
122 }
123 
124 static uint32_t HAL_RCC_DFSDM1_CLK_ENABLED=0;
125 
126 static uint32_t DFSDM1_Init = 0;
134 {
135  GPIO_InitTypeDef GPIO_InitStruct = {0};
136  RCC_PeriphCLKInitTypeDef PeriphClkInitStruct = {0};
137  if(DFSDM1_Init == 0)
138  {
139  /* USER CODE BEGIN DFSDM1_MspInit 0 */
140 
141  /* USER CODE END DFSDM1_MspInit 0 */
144  PeriphClkInitStruct.PeriphClockSelection = RCC_PERIPHCLK_DFSDM1;
146  if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInitStruct) != HAL_OK)
147  {
149  }
150 
151  /* Peripheral clock enable */
155  }
156 
162  GPIO_InitStruct.Pin = GPIO_PIN_7|GPIO_PIN_9;
163  GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
164  GPIO_InitStruct.Pull = GPIO_NOPULL;
165  GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
166  GPIO_InitStruct.Alternate = GPIO_AF3_DFSDM1;
167  HAL_GPIO_Init(GPIOE, &GPIO_InitStruct);
168 
169  /* USER CODE BEGIN DFSDM1_MspInit 1 */
170 
171  /* USER CODE END DFSDM1_MspInit 1 */
172  DFSDM1_Init++;
173  }
174 
175  /* DFSDM1 DMA Init */
176  /* DFSDM1_FLT0 Init */
177  if(hdfsdm_filter->Instance == DFSDM1_Filter0){
189  {
191  }
192 
193  /* Several peripheral DMA handle pointers point to the same DMA handle.
194  Be aware that there is only one channel to perform all the requested DMAs. */
195  __HAL_LINKDMA(hdfsdm_filter,hdmaInj,hdma_dfsdm1_flt0);
196  __HAL_LINKDMA(hdfsdm_filter,hdmaReg,hdma_dfsdm1_flt0);
197  }
198 
199 }
200 
208 {
209  GPIO_InitTypeDef GPIO_InitStruct = {0};
210  RCC_PeriphCLKInitTypeDef PeriphClkInitStruct = {0};
211  if(DFSDM1_Init == 0)
212  {
213  /* USER CODE BEGIN DFSDM1_MspInit 0 */
214 
215  /* USER CODE END DFSDM1_MspInit 0 */
218  PeriphClkInitStruct.PeriphClockSelection = RCC_PERIPHCLK_DFSDM1;
220  if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInitStruct) != HAL_OK)
221  {
223  }
224 
225  /* Peripheral clock enable */
229  }
230 
236  GPIO_InitStruct.Pin = GPIO_PIN_7|GPIO_PIN_9;
237  GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
238  GPIO_InitStruct.Pull = GPIO_NOPULL;
239  GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
240  GPIO_InitStruct.Alternate = GPIO_AF3_DFSDM1;
241  HAL_GPIO_Init(GPIOE, &GPIO_InitStruct);
242 
243  /* USER CODE BEGIN DFSDM1_MspInit 1 */
244 
245  /* USER CODE END DFSDM1_MspInit 1 */
246  DFSDM1_Init++;
247  }
248 
249 }
250 
258 {
259  DFSDM1_Init-- ;
260  if(DFSDM1_Init == 0)
261  {
262  /* USER CODE BEGIN DFSDM1_MspDeInit 0 */
263 
264  /* USER CODE END DFSDM1_MspDeInit 0 */
265  /* Peripheral clock disable */
267 
273 
274  /* DFSDM1 DMA DeInit */
275  HAL_DMA_DeInit(hdfsdm_filter->hdmaInj);
276  HAL_DMA_DeInit(hdfsdm_filter->hdmaReg);
277  /* USER CODE BEGIN DFSDM1_MspDeInit 1 */
278 
279  /* USER CODE END DFSDM1_MspDeInit 1 */
280  }
281 
282 }
283 
291 {
292  DFSDM1_Init-- ;
293  if(DFSDM1_Init == 0)
294  {
295  /* USER CODE BEGIN DFSDM1_MspDeInit 0 */
296 
297  /* USER CODE END DFSDM1_MspDeInit 0 */
298  /* Peripheral clock disable */
300 
306 
307  /* USER CODE BEGIN DFSDM1_MspDeInit 1 */
308 
309  /* USER CODE END DFSDM1_MspDeInit 1 */
310  }
311 
312 }
313 
321 {
322  GPIO_InitTypeDef GPIO_InitStruct = {0};
323  RCC_PeriphCLKInitTypeDef PeriphClkInitStruct = {0};
324  if(huart->Instance==USART3)
325  {
326  /* USER CODE BEGIN USART3_MspInit 0 */
327 
328  /* USER CODE END USART3_MspInit 0 */
331  PeriphClkInitStruct.PeriphClockSelection = RCC_PERIPHCLK_USART3;
333  if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInitStruct) != HAL_OK)
334  {
336  }
337 
338  /* Peripheral clock enable */
340 
346  GPIO_InitStruct.Pin = GPIO_PIN_9|GPIO_PIN_8;
347  GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
348  GPIO_InitStruct.Pull = GPIO_NOPULL;
349  GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
350  GPIO_InitStruct.Alternate = GPIO_AF7_USART3;
351  HAL_GPIO_Init(GPIOD, &GPIO_InitStruct);
352 
353  /* USART3 interrupt Init */
356  /* USER CODE BEGIN USART3_MspInit 1 */
357 
358  /* USER CODE END USART3_MspInit 1 */
359  }
360 
361 }
362 
370 {
371  if(huart->Instance==USART3)
372  {
373  /* USER CODE BEGIN USART3_MspDeInit 0 */
374 
375  /* USER CODE END USART3_MspDeInit 0 */
376  /* Peripheral clock disable */
378 
384 
385  /* USART3 interrupt DeInit */
387  /* USER CODE BEGIN USART3_MspDeInit 1 */
388 
389  /* USER CODE END USART3_MspDeInit 1 */
390  }
391 
392 }
393 
395 
396 static uint32_t SAI4_client =0;
397 
399 {
400 
401  GPIO_InitTypeDef GPIO_InitStruct;
402 /* SAI4 */
403  if(hsai->Instance==SAI4_Block_A)
404  {
405  /* Peripheral clock enable */
406  if (SAI4_client == 0)
407  {
408  __HAL_RCC_SAI4_CLK_ENABLE();
409  }
410  SAI4_client ++;
411 
417  GPIO_InitStruct.Pin = GPIO_PIN_4|GPIO_PIN_5;
418  GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
419  GPIO_InitStruct.Pull = GPIO_NOPULL;
420  GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
421  GPIO_InitStruct.Alternate = GPIO_AF10_SAI4;
422  HAL_GPIO_Init(GPIOE, &GPIO_InitStruct);
423 
424  GPIO_InitStruct.Pin = GPIO_PIN_6;
425  GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
426  GPIO_InitStruct.Pull = GPIO_NOPULL;
427  GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
428  GPIO_InitStruct.Alternate = GPIO_AF1_SAI4;
429  HAL_GPIO_Init(GPIOD, &GPIO_InitStruct);
430 
431  /* Peripheral DMA init*/
432 
434  hdma_sai4_a.Init.Request = BDMA_REQUEST_SAI4_A;
443  {
445  }
446 
447  /* Several peripheral DMA handle pointers point to the same DMA handle.
448  Be aware that there is only one channel to perform all the requested DMAs. */
449  __HAL_LINKDMA(hsai,hdmarx,hdma_sai4_a);
450 
451  __HAL_LINKDMA(hsai,hdmatx,hdma_sai4_a);
452 
453  }
454 }
455 
457 {
458 /* SAI4 */
459  if(hsai->Instance==SAI4_Block_A)
460  {
461  SAI4_client --;
462  if (SAI4_client == 0)
463  {
464  /* Peripheral clock disable */
465  __HAL_RCC_SAI4_CLK_DISABLE();
466  }
467 
474 
476 
477  HAL_DMA_DeInit(hsai->hdmarx);
478  HAL_DMA_DeInit(hsai->hdmatx);
479  }
480 }
481 
482 /* USER CODE BEGIN 1 */
483 
484 /* USER CODE END 1 */
485 
486 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
HAL_MspInit
void HAL_MspInit(void)
Initialize the MSP.
Definition: stm32h7xx_hal_msp.c:65
__HAL_LINKDMA
#define __HAL_LINKDMA(__HANDLE__, __PPP_DMA_FIELD__, __DMA_HANDLE__)
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h:66
hdma_dfsdm1_flt0
DMA_HandleTypeDef hdma_dfsdm1_flt0
GPIO_MODE_AF_PP
#define GPIO_MODE_AF_PP
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h:122
SAI4_Block_A
#define SAI4_Block_A
Definition: stm32h735xx.h:2614
DMA_PINC_DISABLE
#define DMA_PINC_DISABLE
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:240
HAL_SAI_MspInit
void HAL_SAI_MspInit(SAI_HandleTypeDef *hsai)
Definition: stm32h7xx_hal_msp.c:398
HAL_NVIC_EnableIRQ
void HAL_NVIC_EnableIRQ(IRQn_Type IRQn)
DMA_MDATAALIGN_BYTE
#define DMA_MDATAALIGN_BYTE
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:270
__DMA_HandleTypeDef
DMA handle Structure definition.
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:139
GPIO_InitTypeDef
GPIO Init structure definition
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h:47
__SAI_HandleTypeDef::hdmatx
DMA_HandleTypeDef * hdmatx
Definition: stm32f7xx_hal_sai.h:207
DMA_PDATAALIGN_WORD
#define DMA_PDATAALIGN_WORD
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:261
__HAL_RCC_DFSDM1_CLK_DISABLE
#define __HAL_RCC_DFSDM1_CLK_DISABLE()
Definition: stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_rcc.h:2345
SAI4_client
static uint32_t SAI4_client
Definition: stm32h7xx_hal_msp.c:396
DMA_InitTypeDef::Priority
uint32_t Priority
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:75
DMA_InitTypeDef::PeriphInc
uint32_t PeriphInc
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:58
DFSDM_Filter_HandleTypeDef::hdmaInj
DMA_HandleTypeDef * hdmaInj
Definition: stm32h7xx_hal_dfsdm.h:228
huart
UART_HandleTypeDef huart
Definition: pv_stm32f469.c:31
GPIO_InitTypeDef::Alternate
uint32_t Alternate
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h:61
__HAL_RCC_CRC_CLK_ENABLE
#define __HAL_RCC_CRC_CLK_ENABLE()
Definition: stm32f7xx_hal_rcc.h:409
__HAL_RCC_USART3_CLK_ENABLE
#define __HAL_RCC_USART3_CLK_ENABLE()
Definition: stm32f7xx_hal_rcc_ex.h:1046
GPIOE
#define GPIOE
Definition: stm32f407xx.h:1107
RCC_PERIPHCLK_DFSDM1
#define RCC_PERIPHCLK_DFSDM1
Definition: stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_rcc_ex.h:434
HAL_NVIC_DisableIRQ
void HAL_NVIC_DisableIRQ(IRQn_Type IRQn)
RCC_PeriphCLKInitTypeDef::PeriphClockSelection
uint32_t PeriphClockSelection
Definition: stm32f7xx_hal_rcc_ex.h:128
GPIO_SPEED_FREQ_LOW
#define GPIO_SPEED_FREQ_LOW
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h:142
USART3
#define USART3
Definition: stm32f407xx.h:1075
__UART_HandleTypeDef
UART handle Structure definition.
Definition: stm32f4xx_hal_uart.h:141
__HAL_RCC_GPIOE_CLK_ENABLE
#define __HAL_RCC_GPIOE_CLK_ENABLE()
Definition: stm32f7xx_hal_rcc_ex.h:661
DMA_PDATAALIGN_BYTE
#define DMA_PDATAALIGN_BYTE
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:259
__DMA_HandleTypeDef::Init
DMA_InitTypeDef Init
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:143
HAL_DFSDM_ChannelMspInit
void HAL_DFSDM_ChannelMspInit(DFSDM_Channel_HandleTypeDef *hdfsdm_channel)
DFSDM_Channel MSP Initialization This function configures the hardware resources used in this example...
Definition: stm32h7xx_hal_msp.c:207
DMA_CIRCULAR
#define DMA_CIRCULAR
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:282
HAL_RCC_DFSDM1_CLK_ENABLED
static uint32_t HAL_RCC_DFSDM1_CLK_ENABLED
Definition: stm32h7xx_hal_msp.c:124
DMA_InitTypeDef::PeriphDataAlignment
uint32_t PeriphDataAlignment
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:64
DFSDM1_Filter0
#define DFSDM1_Filter0
Definition: stm32f769xx.h:1671
HAL_DFSDM_FilterMspDeInit
void HAL_DFSDM_FilterMspDeInit(DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
DFSDM_Filter MSP De-Initialization This function freeze the hardware resources used in this example.
Definition: stm32h7xx_hal_msp.c:257
__SAI_HandleTypeDef::hdmarx
DMA_HandleTypeDef * hdmarx
Definition: stm32f7xx_hal_sai.h:209
__SAI_HandleTypeDef::Instance
SAI_Block_TypeDef * Instance
Definition: stm32f7xx_hal_sai.h:193
HAL_UART_MspInit
void HAL_UART_MspInit(UART_HandleTypeDef *huart)
UART MSP Initialization This function configures the hardware resources used in this example.
Definition: stm32h7xx_hal_msp.c:320
__HAL_RCC_GPIOD_CLK_ENABLE
#define __HAL_RCC_GPIOD_CLK_ENABLE()
Definition: stm32f7xx_hal_rcc_ex.h:653
HAL_OK
@ HAL_OK
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h:42
DMA_PERIPH_TO_MEMORY
#define DMA_PERIPH_TO_MEMORY
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:228
DFSDM_Filter_HandleTypeDef
DFSDM filter handle structure definition.
Definition: stm32h7xx_hal_dfsdm.h:222
DFSDM1_Init
static uint32_t DFSDM1_Init
Definition: stm32h7xx_hal_msp.c:126
HAL_GPIO_Init
void HAL_GPIO_Init(GPIO_TypeDef *GPIOx, GPIO_InitTypeDef *GPIO_Init)
hdma_sai4_a
DMA_HandleTypeDef hdma_sai4_a
Definition: stm32h735/stm32h735g-dk/Src/pv_audio_rec.c:40
USART3_IRQn
@ USART3_IRQn
Definition: stm32f407xx.h:117
RCC_PERIPHCLK_USART3
#define RCC_PERIPHCLK_USART3
Definition: stm32f7xx_hal_rcc_ex.h:245
DFSDM_Filter_HandleTypeDef::hdmaReg
DMA_HandleTypeDef * hdmaReg
Definition: stm32h7xx_hal_dfsdm.h:227
GPIO_InitTypeDef::Mode
uint32_t Mode
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h:52
DMA_InitTypeDef::MemInc
uint32_t MemInc
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:61
RCC_PeriphCLKInitTypeDef::Usart234578ClockSelection
uint32_t Usart234578ClockSelection
Definition: stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_rcc_ex.h:221
GPIO_InitTypeDef::Pull
uint32_t Pull
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h:55
GPIO_PIN_6
#define GPIO_PIN_6
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h:92
GPIO_NOPULL
#define GPIO_NOPULL
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h:154
__SAI_HandleTypeDef
Definition: stm32f7xx_hal_sai.h:191
DFSDM_Filter_HandleTypeDef::Instance
DFSDM_Filter_TypeDef * Instance
Definition: stm32h7xx_hal_dfsdm.h:225
GPIO_PIN_9
#define GPIO_PIN_9
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h:95
DMA_PRIORITY_HIGH
#define DMA_PRIORITY_HIGH
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:294
__DMA_HandleTypeDef::Instance
DMA_Stream_TypeDef * Instance
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:141
HAL_DFSDM_ChannelMspDeInit
void HAL_DFSDM_ChannelMspDeInit(DFSDM_Channel_HandleTypeDef *hdfsdm_channel)
DFSDM_Channel MSP De-Initialization This function freeze the hardware resources used in this example.
Definition: stm32h7xx_hal_msp.c:290
RCC_PeriphCLKInitTypeDef::Dfsdm1ClockSelection
uint32_t Dfsdm1ClockSelection
Definition: stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_rcc_ex.h:205
DMA_InitTypeDef::MemDataAlignment
uint32_t MemDataAlignment
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:67
RCC_DFSDM1CLKSOURCE_D2PCLK1
#define RCC_DFSDM1CLKSOURCE_D2PCLK1
Definition: stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_rcc_ex.h:1507
__HAL_RCC_SYSCFG_CLK_ENABLE
#define __HAL_RCC_SYSCFG_CLK_ENABLE()
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h:599
HAL_GPIO_DeInit
void HAL_GPIO_DeInit(GPIO_TypeDef *GPIOx, uint32_t GPIO_Pin)
GPIO_InitTypeDef::Speed
uint32_t Speed
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h:58
__HAL_RCC_USART3_CLK_DISABLE
#define __HAL_RCC_USART3_CLK_DISABLE()
Definition: stm32f7xx_hal_rcc_ex.h:1184
CRC_HandleTypeDef
CRC Handle Structure definition.
Definition: stm32h7xx_hal_crc.h:103
HAL_DFSDM_FilterMspInit
void HAL_DFSDM_FilterMspInit(DFSDM_Filter_HandleTypeDef *hdfsdm_filter)
DFSDM_Filter MSP Initialization This function configures the hardware resources used in this example.
Definition: stm32h7xx_hal_msp.c:133
CRC
#define CRC
Definition: stm32f407xx.h:1112
BDMA_Channel0
#define BDMA_Channel0
Definition: stm32h735xx.h:2664
__HAL_RCC_CRC_CLK_DISABLE
#define __HAL_RCC_CRC_CLK_DISABLE()
Definition: stm32f7xx_hal_rcc.h:425
DFSDM_Channel_HandleTypeDef
DFSDM channel handle structure definition.
Definition: stm32h7xx_hal_dfsdm.h:122
GPIO_AF7_USART3
#define GPIO_AF7_USART3
Definition: stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_gpio_ex.h:194
DMA_MINC_ENABLE
#define DMA_MINC_ENABLE
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:249
DMA_InitTypeDef::FIFOMode
uint32_t FIFOMode
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:78
DMA_FIFOMODE_DISABLE
#define DMA_FIFOMODE_DISABLE
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:304
main.h
HAL_RCCEx_PeriphCLKConfig
HAL_StatusTypeDef HAL_RCCEx_PeriphCLKConfig(RCC_PeriphCLKInitTypeDef *PeriphClkInit)
HAL_DMA_Init
HAL_StatusTypeDef HAL_DMA_Init(DMA_HandleTypeDef *hdma)
DMA_InitTypeDef::Direction
uint32_t Direction
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:54
HAL_DMA_DeInit
HAL_StatusTypeDef HAL_DMA_DeInit(DMA_HandleTypeDef *hdma)
GPIO_PIN_8
#define GPIO_PIN_8
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h:94
DMA1_Stream0
#define DMA1_Stream0
Definition: stm32f407xx.h:1116
HAL_NVIC_SetPriority
void HAL_NVIC_SetPriority(IRQn_Type IRQn, uint32_t PreemptPriority, uint32_t SubPriority)
RCC_PeriphCLKInitTypeDef
RCC extended clocks structure definition.
Definition: stm32f7xx_hal_rcc_ex.h:126
GPIOD
#define GPIOD
Definition: stm32f407xx.h:1106
DMA_InitTypeDef::Mode
uint32_t Mode
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:70
CRC_HandleTypeDef::Instance
CRC_TypeDef * Instance
Definition: stm32h7xx_hal_crc.h:105
pv_error_handler
void pv_error_handler(void)
Definition: pv_imxrt1050.c:77
GPIO_PIN_7
#define GPIO_PIN_7
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h:93
GPIO_PIN_5
#define GPIO_PIN_5
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h:91
GPIO_AF3_DFSDM1
#define GPIO_AF3_DFSDM1
Definition: stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_gpio_ex.h:107
GPIO_PIN_4
#define GPIO_PIN_4
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h:90
HAL_CRC_MspInit
void HAL_CRC_MspInit(CRC_HandleTypeDef *hcrc)
CRC MSP Initialization This function configures the hardware resources used in this example.
Definition: stm32h7xx_hal_msp.c:86
HAL_SAI_MspDeInit
void HAL_SAI_MspDeInit(SAI_HandleTypeDef *hsai)
Definition: stm32h7xx_hal_msp.c:456
__UART_HandleTypeDef::Instance
USART_TypeDef * Instance
Definition: stm32f4xx_hal_uart.h:143
__HAL_RCC_DFSDM1_CLK_ENABLE
#define __HAL_RCC_DFSDM1_CLK_ENABLE()
Definition: stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_rcc.h:2304
HAL_UART_MspDeInit
void HAL_UART_MspDeInit(UART_HandleTypeDef *huart)
UART MSP De-Initialization This function freeze the hardware resources used in this example.
Definition: stm32h7xx_hal_msp.c:369
HAL_CRC_MspDeInit
void HAL_CRC_MspDeInit(CRC_HandleTypeDef *hcrc)
CRC MSP De-Initialization This function freeze the hardware resources used in this example.
Definition: stm32h7xx_hal_msp.c:108
DMA_InitTypeDef::Request
uint32_t Request
Definition: stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma.h:51
RCC_USART234578CLKSOURCE_D2PCLK1
#define RCC_USART234578CLKSOURCE_D2PCLK1
Definition: stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_rcc_ex.h:658
DMA_MDATAALIGN_WORD
#define DMA_MDATAALIGN_WORD
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:272
hcrc
CRC_HandleTypeDef hcrc
Definition: stm32h735/stm32h735g-dk/Src/pv_audio_rec.c:36
GPIO_InitTypeDef::Pin
uint32_t Pin
Definition: stm32f407/stm32f407g-disc1/Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h:49
DMA_REQUEST_DFSDM1_FLT0
#define DMA_REQUEST_DFSDM1_FLT0
Definition: stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma.h:356


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:14:54