| Electronic Components Datasheet Search |
|
UM0097 Datasheet(PDF) 43 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0097 Datasheet(HTML) 43 Page - STMicroelectronics |
|
43 / 229 page ![]() UM0097 Peripheral firmware overview 43/229 RCCU_FrequencyValue Example: This example illustrates how get the MCLK clock frequency value. { u32 MCLK_Freq; ... MCLK_Freq = RCCU_FrequencyValue (RCCU_MCLK); ... } RCCU_ITConfig Example: This example illustrates how to configure the PLL1 lock interrupt. { ... RCCU_ITConfig (RCCU_PLL1_LOCK_IT, ENABLE); ... } Function Name RCCU_FrequencyValue Function Prototype u32 RCCU_FrequencyValue(RCCU_Clocks Internal_Clk); Behavior Description This routine computes any internal RCCU clock frequency value passed in parameters. Input Parameter Internal_Clk: the RCCU internal clock to compute the frequency. Refer to RCCU internal clocks on page 33 for more details on the allowed values of this parameter. Output Parameter None Return Value The frequency value of the specified clock in Hz of the internal clock passed in parameter. Required preconditions None Called Functions None Function Name RCCU_ITConfig Function Prototype void RCCU_ITConfig (RCCU_Interrupts RCCU_IT, FunctionalState NewState); Behavior Description This routine configures the specified RCCU interrupts. Input Parameter 1 RCCU_IT: specifies the RCCU interrupt to configure. Refer to RCCU interrupts on page 34 for more details on the allowed values of this parameter. Input Parameter 2 NewState: Indicates the new status of the RCCU interrupt. – ENABLE: to enable the specified interrupt – DISABLE: to disable the specified interrupt Output Parameter None Return Value None Required preconditions None Called Functions None |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |