1 /**
2   ******************************************************************************
3   * @file    stm32l562e_discovery_conf.h
4   * @author  MCD Application Team
5   * @brief   STM32L562E-DK discovery board configuration file.
6   *          This file should be copied to the application folder and renamed
7   *          to stm32l562e_discovery_conf.h .
8   ******************************************************************************
9   * @attention
10   *
11   * <h2><center>&copy; Copyright (c) 2019 STMicroelectronics.
12   * All rights reserved.</center></h2>
13   *
14   * This software component is licensed by ST under BSD 3-Clause license,
15   * the "License"; You may not use this file except in compliance with the
16   * License. You may obtain a copy of the License at:
17   *                        opensource.org/licenses/BSD-3-Clause
18   *
19   ******************************************************************************
20   */
21 
22 /* Define to prevent recursive inclusion -------------------------------------*/
23 #ifndef STM32L562E_DISCOVERY_CONF_H
24 #define STM32L562E_DISCOVERY_CONF_H
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
30 /* Includes ------------------------------------------------------------------*/
31 #include "stm32l5xx_hal.h"
32 
33 /* Usage of COM feature */
34 #define USE_BSP_COM_FEATURE 0U
35 #define USE_COM_LOG         0U
36 
37 /* Button interrupt priority */
38 #define BSP_BUTTON_USER_IT_PRIORITY 0x07UL  /* Default is lowest priority level */
39 
40 /* IDD interrupt priority */
41 #define BSP_IDD_IT_PRIORITY         0x07UL  /* Default is lowest priority level */
42 
43 /* TS interrupt priority */
44 #define BSP_TS_IT_PRIORITY          0x07UL  /* Default is lowest priority level */
45 
46 /* Audio interrupt priorities */
47 #define BSP_AUDIO_OUT_IT_PRIORITY   0x07UL  /* Default is lowest priority level */
48 #define BSP_AUDIO_IN_IT_PRIORITY    0x07UL  /* Default is lowest priority level */
49 
50 /* SD card interrupt priority */
51 #define BSP_SD_IT_PRIORITY          0x07UL  /* Default is lowest priority level */
52 
53 /* Bus frequencies */
54 #define BUS_I2C1_FREQUENCY          100000UL /* Frequency of I2C1 = 100 KHz */
55 
56 /* Default AUDIO IN internal buffer size in 32-bit words per micro */
57 #define BSP_AUDIO_IN_DEFAULT_BUFFER_SIZE 2048UL /* 2048*4 = 8Kbytes */
58 
59 #ifdef __cplusplus
60 }
61 #endif
62 
63 #endif /* STM32L562E_DISCOVERY_CONF_H */
64 
65 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
66