AN370
BYTEbOldSetting;
/* Store the current system clock frequency setting */bOldSetting = SYSGEN;
/* Set frequency for 3MHz .. 24MHz/2^3 */
vSys_SetClkSys( 3 );
...
/* Restore the original system clock speed */
vSys_SetClkSys( bOldSetting );
Inputs:
biClkSetting: (BYTE) Controls the divider of the LP system clock oscillator.
fclk_sys = 24MHz / 2biClkSetting
Only the bottom 3 bits of the biClkSetting are used, the rest is ignored.
Outputs:
None
lSys_GetMasterTime
Description: Returns the current master time. Master time is recommended to be stored in
units of [ms]. User application is fully responsible to update the time by calling vSys_Inc-
MasterTime() in regular fashion to update the master time appropriately. This function just
returns the current value of the master time variable.
Inputs:
None
88
...
Rev. 1.0
Need help?
Do you have a question about the Si4010 and is the answer not in the manual?
Questions and answers