Return to previous page Return to menu Go to next page

  Title  
Function specifications
  Function  
Waiting for time (16 bits)
  Function Name  
TIM_FRT_DELAY_16
No
11

 
format void TIM_FRT_DELAY_16 (Uint16 cnt) Input cnt: Time wait counter value Output None Function value None Function Waits for the specified waiting time counter value. Internally execute TIM_Frt_Set_16 (0) Loop TIM_Frt_Get_16 (w_cnt) loops until cnt == w_cnt.

  Title  
Function specifications
  Function  
Counter value-> Microsecond conversion
  Function Name  
TIM_FRT_CNT_TO_MCR
No
12

 
format Float TIM_FRT_CNT_TO_MCR (Uint32 count) Input count: Counter value Output None Function value Microsecond value Function Converts the specified counter value to a microsecond value.

  Title  
Function specifications
  Function  
Microseconds-> Counter value conversion
  Function Name  
TIM_FRT_MCR_TO_CNT
No
13

 
format Uint32 TIM_FRT_MCR_TO_CNT (Float micro) Input micro: Microsecond value Output None Function value Counter value Function Converts the microsecond value to the specified counter value.

  Title  
Function specifications
  Function  
Timer interrupt enable register setting
  Function Name  
TIM_FRT_SET_TIER
No
14

 
format void TIM_FRT_SET_TIER (Uint8 reg) Input reg: Setting value Output None Function value None Function Sets the set value to the timer interrupt enable register.


Return to previous page Return to menu Go to next page