找了好久的资料终于搞清楚了,动态更新的接口改为tmr_channel_value_set()了
/**
* @brief set tmr channel value
* @param tmr_x: select the tmr peripheral.
* this parameter can be one of the following values:
* TMR1, TMR3, TMR14, TMR15, TMR16, TMR17
* @param tmr_channel
* this parameter can be one of the following values:
* - TMR_SELECT_CHANNEL_1 only available for TMR1, TMR3, TMR14, TMR15, TMR16, TMR17
* - TMR_SELECT_CHANNEL_2 only available for TMR1, TMR3, TMR15
* - TMR_SELECT_CHANNEL_3 only available for TMR1, TMR3
* - TMR_SELECT_CHANNEL_4 only available for TMR1, TMR3
* @param tmr_channel_value (0x0000~0xFFFF)
* @retval none
*/
void tmr_channel_value_set(tmr_type *tmr_x, tmr_channel_select_type tmr_channel, \
uint32_t tmr_channel_value)