- /****************************************************************************
- * [url=home.php?mod=space&uid=288409]@file[/url] config.c
- * [url=home.php?mod=space&uid=895143]@version[/url] V1.10
- * [url=home.php?mod=space&uid=212281]@date[/url] 2017/08/25-12:46:36
- * [url=home.php?mod=space&uid=247401]@brief[/url] NuMicro generated code file
- *
- * Copyright (C) 2013-2017 Nuvoton Technology Corp. All rights reserved.
- *****************************************************************************/
- /********************
- MCU: NUC029LAN(LQFP48)
- Pin Configuration:
- Pin 12: PWM3
- Pin 30: ICE_CLK
- Pin 31: ICE_DAT
- Module Configuration:
- PWM3(Pin:12)
- ICE_CLK(Pin:30)
- ICE_DAT(Pin:31)
- GPIO Configuration:
- P4.3: PWM3(Pin:12)
- P4.6: ICE_CLK(Pin:30)
- P4.7: ICE_DAT(Pin:31)
- ********************/
- #include "NUC029xAN.h";
- /*
- * @brief This function provides the configued MFP registers
- * @param None
- * [url=home.php?mod=space&uid=266161]@return[/url] None
- */
- void SYS_Init(void)
- {
- //SYS->P0_MFP = 0x00000000;
- //SYS->P1_MFP = 0x00000000;
- //SYS->P2_MFP = 0x00000000;
- //SYS->P3_MFP = 0x00000000;
- //SYS->P4_MFP = 0x000000C8;
- //If the defines do not exist in your project, please refer to the related sys.h in the sys_h folder appended to the tool package.
- SYS->P0_MFP = 0x00000000;
- SYS->P1_MFP = 0x00000000;
- SYS->P2_MFP = 0x00000000;
- SYS->P3_MFP = 0x00000000;
- SYS->P4_MFP = SYS_MFP_P47_ICE_DAT | SYS_MFP_P46_ICE_CLK | SYS_MFP_P43_PWM3;
- return;
- }
- /*** (C) COPYRIGHT 2013-2017 Nuvoton Technology Corp. ***/
|