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__), CORE_EINT_DISABLE(__TARGET_CHIP__), CORE_EINT_TRIGGER(__TARGET_CHIP__), } #endif #if IFS_USART_EN ,{ // usart CORE_USART_INIT(__TARGET_CHIP__), CORE_USART_FINI(__TARGET_CHIP__), CORE_USART_CONFIG(__TARGET_CHIP__), CORE_USART_CONFIG_CALLBACK(__TARGET_CHIP__), CORE_USART_TX(__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__), .eint.fini = CORE_EINT_FINI(__TARGET_CHIP__), .eint.config = CORE_EINT_CONFIG(__TARGET_CHIP__), .eint.enable = CORE_EINT_ENABLE(__TARGET_CHIP__), .eint.disable = CORE_EINT_DISABLE(__TARGET_CHIP__), #endif #if IFS_USART_EN #if IFS_CONST_EN .usart.constants.STOBITS_1 = USART_STOPBITS_1, .usart.constants.STOPBITS_1P5 = USART_STOPBITS_1P5, .usart.constants.STOPBITS2 = USART_STOPBITS_2, .usart.constants.PARITY_NONE = USART_PARITY_NONE, .usart.constants.PARITY_ODD = USART_PARITY_ODD, .usart.constants.PARITY_EVEN = USART_PARITY_EVEN, #endif .usart.init = CORE_USART_INIT(__TARGET_CHIP__),