CORE_CLKO_INIT(__TARGET_CHIP__), CORE_CLKO_FINI(__TARGET_CHIP__), CORE_CLKO_CONFIG(__TARGET_CHIP__), CORE_CLKO_ENABLE(__TARGET_CHIP__), CORE_CLKO_DISABLE(__TARGET_CHIP__), } #endif #if IFS_GPIO_EN ,{ // gpio CORE_GPIO_INIT(__TARGET_CHIP__), CORE_GPIO_FINI(__TARGET_CHIP__), 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__),
.clko.disable = CORE_CLKO_DISABLE(__TARGET_CHIP__), #endif #if IFS_GPIO_EN #if IFS_CONST_EN .gpio.constants.INFLOAT = GPIO_INFLOAT, .gpio.constants.INPU = GPIO_INPU, .gpio.constants.INPD = GPIO_INPD, .gpio.constants.OUTPP = GPIO_OUTPP, .gpio.constants.OUTOD = GPIO_OUTOD, #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__),