Return to previous page Return to menu Go to next page

CPU

  Title  
Function specifications
  Function  
FRT initialization
  Function Name  
TIM_FRT_INIT
No
8

 
format void TIM_FRT_INIT (Uint32 mode) Input mode: Frequency division number

  Output  None
 Function value  None
 Function  Sets the specified frequency division number and initializes the FRT. 

  Title  
Function specifications
  Function  
Counter value setting (16 bits)
  Function Name  
TIM_FRT_SET_16
No
9

 
format void TIM_FRT_SET_16 (Uint16 cnt) Input cnt: Counter value Output None Function value None Function Sets a 16-bit counter value to FRT. The FRT counts from this set value.

  Title  
Function specifications
  Function  
Counter value acquisition (16 bits)
  Function Name  
TIM_FRT_GET_16
No
10

 
format Uint16 TIM_FRT_GET_16 (void) Input None Output None Function value Counter value Function Gets the 16-bit counter value of FRT.


Return to previous page Return to menu Go to next page