os_timer 最小定时周期只能到10ms



  • 低于10就完全不工作了, 这个行为符合预期?
    os_timer_start(&timA, 10,1);

    /*********************************************************************

    • @fn osal_timer_start
    • @brief Start a timer.
    • 	????Timer.
      
    • @param ptimer - pointer to the timer buffer.
    •      ms - expire of the timer with milliseconds. rang:[0 , ((1<<22)-1)*10]
      
    •      repeat_flag - repeat or one shot timer
      
    • @return None.
      */
      void os_timer_start(os_timer_t *ptimer,uint32_t ms, bool repeat_flag);


  • @microyea 是的,周期最小只能到10ms