Bohdan Kovalchuk | 7725652 | 2020-04-15 18:03:43 +0300 | [diff] [blame] | 1 | /******************************************************************************* |
| 2 | * File Name: cycfg_peripherals.h |
| 3 | * |
| 4 | * Description: |
| 5 | * Peripheral Hardware Block configuration |
| 6 | * This file was automatically generated and should not be modified. |
| 7 | * Device Configurator: 2.0.0.1483 |
| 8 | * Device Support Library (../../../psoc6pdl): 1.3.1.1499 |
| 9 | * |
| 10 | ******************************************************************************** |
| 11 | * Copyright 2017-2019 Cypress Semiconductor Corporation |
| 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 | #if !defined(CYCFG_PERIPHERALS_H) |
| 28 | #define CYCFG_PERIPHERALS_H |
| 29 | |
| 30 | // #include "cycfg_notices.h" |
| 31 | #include "cy_scb_uart.h" |
| 32 | #include "cy_sysclk.h" |
| 33 | #if defined (CY_USING_HAL) |
| 34 | #include "cyhal_hwmgr.h" |
| 35 | #endif //defined (CY_USING_HAL) |
| 36 | |
| 37 | #if defined(__cplusplus) |
| 38 | extern "C" { |
| 39 | #endif |
| 40 | |
| 41 | #define CYBSP_UART_ENABLED 1U |
| 42 | #define CYBSP_UART_HW SCB5 |
| 43 | #define CYBSP_UART_IRQ scb_5_interrupt_IRQn |
| 44 | |
| 45 | extern const cy_stc_scb_uart_config_t CYBSP_UART_config; |
| 46 | #if defined (CY_USING_HAL) |
| 47 | extern const cyhal_resource_inst_t CYBSP_UART_obj; |
| 48 | #endif //defined (CY_USING_HAL) |
| 49 | |
| 50 | void init_cycfg_peripherals(void); |
| 51 | |
| 52 | #if defined(__cplusplus) |
| 53 | } |
| 54 | #endif |
| 55 | |
| 56 | |
| 57 | #endif /* CYCFG_PERIPHERALS_H */ |