-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathb_g474e_dpow1_conf_template.h
88 lines (68 loc) · 1.8 KB
/
b_g474e_dpow1_conf_template.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
/**
******************************************************************************
* @file b_g474e_dpow1_conf_template.h
* @author MCD Application Team
* @brief B-G474E-DPOW1 board configuration file.
******************************************************************************
* @attention
*
* Copyright (c) 2019 STMicroelectronics.
* All rights reserved.
*
* This software is licensed under terms that can be found in the LICENSE file
* in the root directory of this software component.
* If no LICENSE file comes with this software, it is provided AS-IS.
*
******************************************************************************
*/
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef B_G474E_DPOW1_CONF_H
#define B_G474E_DPOW1_CONF_H
#ifdef __cplusplus
extern "C" {
#endif
/* Includes ------------------------------------------------------------------*/
#include "stm32g4xx_hal.h"
/** @addtogroup BSP
* @{
*/
/** @addtogroup B-G474E-DPOW1
* @{
*/
/** @addtogroup B-G474E-DPOW1_CONFIG
* @{
*/
/** @addtogroup B-G474E-DPOW1_CONFIG_Exported_Constants Exported Constants
* @{
*/
/* JOYstick define */
#define USE_BSP_JOY_FEATURE 1U
/* COM define */
#define USE_BSP_COM_FEATURE 0U
/* COM LOG define */
#define USE_COM_LOG 0U
/* USBPD BSP PWR TRACE define */
#define USE_BSP_PWR_TRACE 0U
#if (USE_BSP_PWR_TRACE > 0u)
#define USBPD_PWR_TRACE(_PORT_,...) UTIL_ADV_TRACE_FSend(__VA_ARGS__)
#else
#define USBPD_PWR_TRACE(_PORT_,...)
#endif /* USE_BSP_PWR_TRACE */
/* IRQ priorities */
#define BSP_JOY_SEL_IT_PRIORITY 15U
/**
* @}
*/
/**
* @}
*/
/**
* @}
*/
/**
* @}
*/
#ifdef __cplusplus
}
#endif
#endif /* B_G474E_DPOW1_CONF_H */