1 /***************************************************************************//**
2 * \file cyhal_triggers.h
3 *
4 * Description:
5 * Provides definitions for the triggers for each supported device family.
6 *
7 ********************************************************************************
8 * \copyright
9 * Copyright 2018-2022 Cypress Semiconductor Corporation (an Infineon company) or
10 * an affiliate of Cypress Semiconductor Corporation
11 *
12 * SPDX-License-Identifier: Apache-2.0
13 *
14 * Licensed under the Apache License, Version 2.0 (the "License");
15 * you may not use this file except in compliance with the License.
16 * You may obtain a copy of the License at
17 *
18 *     http://www.apache.org/licenses/LICENSE-2.0
19 *
20 * Unless required by applicable law or agreed to in writing, software
21 * distributed under the License is distributed on an "AS IS" BASIS,
22 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
23 * See the License for the specific language governing permissions and
24 * limitations under the License.
25 *******************************************************************************/
26 
27 /**
28 * \defgroup group_hal_impl_triggers Trigger Connections
29 * \ingroup group_hal_impl_interconnect
30 * \{
31 * Trigger connections for supported device families:
32 *
33 * \addtogroup group_hal_impl_triggers_psoc6_01
34 * \{
35 * <b>PSoC™ 6S1 Triggers:</b>
36 * \image html psoc6able2_trigger_layout.png width=800px
37 * \}
38 * \addtogroup group_hal_impl_triggers_psoc6_02
39 * \{
40 * <b>PSoC™ 6S2 Triggers:</b>
41 * \image html psoc6a2m_trigger_layout.png width=800px
42 * \}
43 * \addtogroup group_hal_impl_triggers_psoc6_03
44 * \{
45 * <b>PSoC™ 6S3 Triggers:</b>
46 * \image html psoc6a512k_trigger_layout.png width=800px
47 * \}
48 * \addtogroup group_hal_impl_triggers_psoc6_04
49 * \{
50 * <b>PSoC™ 6S4 Triggers:</b>
51 * \image html psoc6a256k_trigger_layout.png width=800px
52 * \}
53 * \addtogroup group_hal_impl_triggers_xmc7100
54 * \{
55 * <b>XMC7100/T2G-B-H-4M Triggers:</b>
56 * \image html xmc7100_trigger_layout.png width=800px
57 * \}
58 * \addtogroup group_hal_impl_triggers_xmc7200
59 * \{
60 * <b>XMC7200/T2G-B-H-8M Triggers:</b>
61 * \image html xmc7200_trigger_layout.png width=800px
62 * \}
63 * <p>
64 */
65 
66 #pragma once
67 
68 #if defined(__cplusplus)
69 extern "C" {
70 #endif /* __cplusplus */
71 
72 #include "cy_device.h"
73 
74 #if defined(CY_DEVICE_PSOC6ABLE2)
75 #include "triggers/cyhal_triggers_psoc6_01.h"
76 #elif defined(CY_DEVICE_PSOC6A2M)
77 #include "triggers/cyhal_triggers_psoc6_02.h"
78 #elif defined(CY_DEVICE_PSOC6A512K)
79 #include "triggers/cyhal_triggers_psoc6_03.h"
80 #elif defined(CY_DEVICE_PSOC6A256K)
81 #include "triggers/cyhal_triggers_psoc6_04.h"
82 #elif defined(CY_DEVICE_CYW20829)
83 #if (defined(CY_DEVICE_CYW20829) && (CY_SYSLIB_GET_SILICON_REV_ID == CY_SYSLIB_20829A0_SILICON_REV))
84 #include "triggers/cyhal_triggers_cyw20829a0.h"
85 #else
86 #include "triggers/cyhal_triggers_cyw20829.h"
87 #endif // (defined(CY_DEVICE_CYW20829) && (CY_SYSLIB_GET_SILICON_REV_ID == CY_SYSLIB_20829A0_SILICON_REV))
88 #elif defined(CY_DEVICE_TVIIBH4M)
89 #include "triggers/cyhal_triggers_xmc7100.h"
90 #elif defined(CY_DEVICE_TVIIBH8M)
91 #include "triggers/cyhal_triggers_xmc7200.h"
92 #endif
93 
94 #if defined(__cplusplus)
95 }
96 #endif /* __cplusplus */
97 
98 /** \} group_hal_impl_triggers */
99