aboutsummaryrefslogtreecommitdiff
path: root/platform/ext/target/cypress/psoc64/Native_Driver/generated_source/cycfg_peripherals.c
diff options
context:
space:
mode:
Diffstat (limited to 'platform/ext/target/cypress/psoc64/Native_Driver/generated_source/cycfg_peripherals.c')
-rw-r--r--platform/ext/target/cypress/psoc64/Native_Driver/generated_source/cycfg_peripherals.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/platform/ext/target/cypress/psoc64/Native_Driver/generated_source/cycfg_peripherals.c b/platform/ext/target/cypress/psoc64/Native_Driver/generated_source/cycfg_peripherals.c
index 811b944fa4..98e764f657 100644
--- a/platform/ext/target/cypress/psoc64/Native_Driver/generated_source/cycfg_peripherals.c
+++ b/platform/ext/target/cypress/psoc64/Native_Driver/generated_source/cycfg_peripherals.c
@@ -8,7 +8,7 @@
* Device Support Library (../../../../output/libs/COMPONENT_PSOC6/psoc6pdl): 1.5.0.1837
*
********************************************************************************
-* Copyright 2017-2019 Cypress Semiconductor Corporation
+* Copyright 2017-2020 Cypress Semiconductor Corporation
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -55,7 +55,7 @@ const cy_stc_scb_uart_config_t KITPROG_UART_config =
.txFifoIntEnableMask = 0UL,
};
-cy_stc_csd_context_t cy_csd_0_context =
+cy_stc_csd_context_t cy_csd_0_context =
{
.lockKey = CY_CSD_NONE_KEY,
};
@@ -65,4 +65,8 @@ void init_cycfg_peripherals(void)
{
Cy_SysClk_PeriphAssignDivider(PCLK_CSD_CLOCK, CY_SYSCLK_DIV_8_BIT, 0U);
Cy_SysClk_PeriphAssignDivider(PCLK_SCB5_CLOCK, CY_SYSCLK_DIV_8_BIT, 1U);
+ /* Secure: TIMER0 */
+ Cy_SysClk_PeriphAssignDivider(PCLK_TCPWM0_CLOCKS0, CY_SYSCLK_DIV_8_BIT, 1U);
+ /* Non-Secure: TIMER1 */
+ Cy_SysClk_PeriphAssignDivider(PCLK_TCPWM0_CLOCKS1, CY_SYSCLK_DIV_8_BIT, 1U);
}