166 lines
6.2 KiB
C
166 lines
6.2 KiB
C
/***********************************************************************************************************************
|
|
* This file was generated by the MCUXpresso Config Tools. Any manual edits made to this file
|
|
* will be overwritten if the respective MCUXpresso Config Tools is used to update this file.
|
|
**********************************************************************************************************************/
|
|
|
|
/* clang-format off */
|
|
/* TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
|
|
!!GlobalInfo
|
|
product: Peripherals v13.0
|
|
processor: MIMXRT1052xxxxB
|
|
package_id: MIMXRT1052DVL6B
|
|
mcu_data: ksdk2_0
|
|
processor_version: 14.0.0
|
|
functionalGroups:
|
|
- name: BOARD_InitPeripherals
|
|
UUID: 19596643-a9d0-4000-b44d-6a0a05ec6830
|
|
called_from_default_init: true
|
|
selectedCore: core0
|
|
* BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS **********/
|
|
|
|
/* TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
|
|
component:
|
|
- type: 'system'
|
|
- type_id: 'system_54b53072540eeeb8f8e9343e71f28176'
|
|
- global_system_definitions:
|
|
- user_definitions: ''
|
|
- user_includes: ''
|
|
* BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS **********/
|
|
|
|
/* TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
|
|
component:
|
|
- type: 'gpio_adapter_common'
|
|
- type_id: 'gpio_adapter_common_57579b9ac814fe26bf95df0a384c36b6'
|
|
- global_gpio_adapter_common:
|
|
- quick_selection: 'default'
|
|
* BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS **********/
|
|
|
|
/* TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
|
|
component:
|
|
- type: 'uart_cmsis_common'
|
|
- type_id: 'uart_cmsis_common_9cb8e302497aa696fdbb5a4fd622c2a8'
|
|
- global_USART_CMSIS_common:
|
|
- quick_selection: 'default'
|
|
* BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS **********/
|
|
/* clang-format on */
|
|
|
|
/***********************************************************************************************************************
|
|
* Included files
|
|
**********************************************************************************************************************/
|
|
#include "peripherals.h"
|
|
|
|
/***********************************************************************************************************************
|
|
* BOARD_InitPeripherals functional group
|
|
**********************************************************************************************************************/
|
|
/***********************************************************************************************************************
|
|
* NVIC initialization code
|
|
**********************************************************************************************************************/
|
|
/* clang-format off */
|
|
/* TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
|
|
instance:
|
|
- name: 'NVIC'
|
|
- type: 'nvic'
|
|
- mode: 'general'
|
|
- custom_name_enabled: 'false'
|
|
- type_id: 'nvic_57b5eef3774cc60acaede6f5b8bddc67'
|
|
- functional_group: 'BOARD_InitPeripherals'
|
|
- peripheral: 'NVIC'
|
|
- config_sets:
|
|
- nvic:
|
|
- interrupt_table: []
|
|
- interrupts: []
|
|
* BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS **********/
|
|
/* clang-format on */
|
|
|
|
/* Empty initialization function (commented out)
|
|
static void NVIC_init(void) {
|
|
} */
|
|
|
|
/***********************************************************************************************************************
|
|
* SEMC initialization code
|
|
**********************************************************************************************************************/
|
|
/* clang-format off */
|
|
/* TEXT BELOW IS USED AS SETTING FOR TOOLS *************************************
|
|
instance:
|
|
- name: 'SEMC'
|
|
- type: 'semc'
|
|
- mode: 'general'
|
|
- custom_name_enabled: 'false'
|
|
- type_id: 'semc_e185781b9c9b915bcac54a638e3461f6'
|
|
- functional_group: 'BOARD_InitPeripherals'
|
|
- peripheral: 'SEMC'
|
|
- config_sets:
|
|
- fsl_semc:
|
|
- enableDCD: 'true'
|
|
- clockConfig:
|
|
- clockSource: 'kSEMC_ClkSrcPeri'
|
|
- clockSourceFreq: 'ClocksTool_DefaultInit'
|
|
- semc_config_t:
|
|
- dqsMode: 'kSEMC_Loopbackdqspad'
|
|
- cmdTimeoutCycles: '0'
|
|
- busTimeoutCycles: '0'
|
|
- queueWeight:
|
|
- queueaEnable: 'false'
|
|
- queueaWeight:
|
|
- structORvalue: 'structure'
|
|
- queueaConfig:
|
|
- qos: '0'
|
|
- aging: '0'
|
|
- slaveHitNoswitch: '0'
|
|
- slaveHitSwitch: '0'
|
|
- queuebEnable: 'false'
|
|
- queuebWeight:
|
|
- structORvalue: 'structure'
|
|
- queuebConfig:
|
|
- qos: '0'
|
|
- aging: '0'
|
|
- weightPagehit: '0'
|
|
- slaveHitNoswitch: '0'
|
|
- bankRotation: '0'
|
|
- semc_sdram_config_t:
|
|
- csxPinMux: 'kSEMC_MUXCSX0'
|
|
- semcSdramCs: 'kSEMC_SDRAM_CS0'
|
|
- address: '0x80000000'
|
|
- memsize_input: '32MB'
|
|
- portSize: 'kSEMC_PortSize16Bit'
|
|
- burstLen: 'kSEMC_Sdram_BurstLen1'
|
|
- columnAddrBitNum: 'kSEMC_SdramColunm_9bit'
|
|
- casLatency: 'kSEMC_LatencyTwo'
|
|
- tPrecharge2Act_Ns: '15'
|
|
- tAct2ReadWrite_Ns: '15'
|
|
- tRefreshRecovery_Ns: '67'
|
|
- tWriteRecovery_Ns: '16'
|
|
- tCkeOff_Ns: '8'
|
|
- tAct2Prechage_Ns: '42'
|
|
- tSelfRefRecovery_Ns: '67'
|
|
- tRefresh2Refresh_Ns: '60'
|
|
- tAct2Act_Ns: '60'
|
|
- tPrescalePeriod_Ns: '1203'
|
|
- tIdleTimeout_Ns: '0'
|
|
- refreshPeriod_nsPerRow: '7813'
|
|
- refreshUrgThreshold: '7813'
|
|
- refreshBurstLen: '1'
|
|
- sdramArray: []
|
|
* BE CAREFUL MODIFYING THIS COMMENT - IT IS YAML SETTINGS FOR TOOLS **********/
|
|
/* clang-format on */
|
|
|
|
/* Empty initialization function (commented out)
|
|
static void SEMC_init(void) {
|
|
} */
|
|
|
|
/***********************************************************************************************************************
|
|
* Initialization functions
|
|
**********************************************************************************************************************/
|
|
void BOARD_InitPeripherals(void)
|
|
{
|
|
/* Initialize components */
|
|
}
|
|
|
|
/***********************************************************************************************************************
|
|
* BOARD_InitBootPeripherals function
|
|
**********************************************************************************************************************/
|
|
void BOARD_InitBootPeripherals(void)
|
|
{
|
|
BOARD_InitPeripherals();
|
|
}
|