CORE_GPIO_CONFIG_PIN(__TARGET_CHIP__), CORE_GPIO_CONFIG(__TARGET_CHIP__), CORE_GPIO_SET(__TARGET_CHIP__), CORE_GPIO_CLEAR(__TARGET_CHIP__), CORE_GPIO_OUT(__TARGET_CHIP__), CORE_GPIO_IN(__TARGET_CHIP__), CORE_GPIO_GET(__TARGET_CHIP__) } #endif #if IFS_TIMER_EN ,{ // timer CORE_TIMER_INIT(__TARGET_CHIP__), CORE_TIMER_FINI(__TARGET_CHIP__), CORE_TIMER_CONFIG(__TARGET_CHIP__), CORE_TIMER_START(__TARGET_CHIP__), CORE_TIMER_STOP(__TARGET_CHIP__), CORE_TIMER_GET_COUNT(__TARGET_CHIP__), CORE_TIMER_SET_COUNT(__TARGET_CHIP__), CORE_TIMER_CONFIG_CHANNEL(__TARGET_CHIP__), CORE_TIMER_GET_CHANNEL(__TARGET_CHIP__), CORE_TIMER_SET_CHANNEL(__TARGET_CHIP__), } #endif #if IFS_EINT_EN ,{ // eint CORE_EINT_INIT(__TARGET_CHIP__), CORE_EINT_FINI(__TARGET_CHIP__), CORE_EINT_CONFIG(__TARGET_CHIP__), CORE_EINT_ENABLE(__TARGET_CHIP__),
#endif .gpio.init = CORE_GPIO_INIT(__TARGET_CHIP__), .gpio.fini = CORE_GPIO_FINI(__TARGET_CHIP__), .gpio.config_pin = CORE_GPIO_CONFIG_PIN(__TARGET_CHIP__), .gpio.config = CORE_GPIO_CONFIG(__TARGET_CHIP__), .gpio.set = CORE_GPIO_SET(__TARGET_CHIP__), .gpio.clear = CORE_GPIO_CLEAR(__TARGET_CHIP__), .gpio.out = CORE_GPIO_OUT(__TARGET_CHIP__), .gpio.in = CORE_GPIO_IN(__TARGET_CHIP__), .gpio.get = CORE_GPIO_GET(__TARGET_CHIP__), #endif #if IFS_TIMER_EN .timer.init = CORE_TIMER_INIT(__TARGET_CHIP__), .timer.fini = CORE_TIMER_FINI(__TARGET_CHIP__), .timer.config = CORE_TIMER_CONFIG(__TARGET_CHIP__), .timer.start = CORE_TIMER_START(__TARGET_CHIP__), .timer.stop = CORE_TIMER_STOP(__TARGET_CHIP__), .timer.get_count = CORE_TIMER_GET_COUNT(__TARGET_CHIP__), .timer.set_count = CORE_TIMER_SET_COUNT(__TARGET_CHIP__), .timer.config_channel = CORE_TIMER_CONFIG_CHANNEL(__TARGET_CHIP__), .timer.get_channel = CORE_TIMER_GET_CHANNEL(__TARGET_CHIP__), .timer.set_channel = CORE_TIMER_SET_CHANNEL(__TARGET_CHIP__), #endif #if IFS_EINT_EN #if IFS_CONST_EN .eint.constants.ONFALL = EINT_ONFALL, .eint.constants.ONRISE = EINT_ONRISE, .eint.constants.ONLOW = EINT_ONLOW, .eint.constants.ONHIGH = EINT_ONHIGH, #endif .eint.init = CORE_EINT_INIT(__TARGET_CHIP__),