| Electronic Components Datasheet Search |
|
UM0097 Datasheet(PDF) 45 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0097 Datasheet(HTML) 45 Page - STMicroelectronics |
|
45 / 229 page ![]() UM0097 Peripheral firmware overview 45/229 RCCU_ResetSource Example: This example illustrates how to define the system reset source. { RCCU_ResetSources ResetSource; ResetSource=RCCU_ResetSource(); switch (ResetSource) { case RCCU_RTCAlarmReset: GPIO_BitWrite(GPIO0,0,1);break; case RCCU_WKPReset: GPIO_BitWrite(GPIO0,1,1);break; default : GPIO_BitWrite(GPIO0,3,1);break; } } RCCU_PLL1FreeRunningModeConfig Example: This example shows how to clock the system with the PLL1 configured in free running mode. { /*Configure the PLL in free running mode at 125kHz */ RCCU_PLL1FreeRunningModeConfig(RCCU_PLL1FreeRunning125); /* Set the RCLK to the PLL1 output */ RCCU_RCLKSourceConfig(RCCU_PLL1_Output); } Function Name RCCU_ResetSource Function Prototype RCCU_ResetSources RCCU_ResetSource (void); Behavior Description This routine is used to return the system reset source. Input Parameter None Output Parameter None Return Value The reset source Required preconditions None Called Functions None Function Name RCCU_PLL1FreeRunningModeConfig Function Prototype RCCU_PLL1FreeRunningModeConfig(RCCU_PLL1FreeRunningM odes NewPll1FreeRunningMode); Behavior Description This routine is used to configure the PLL1 in free running mode Input Parameter RCCU_PLL1FreeRunningModes: PLL1 in free running mode. Refer to PLL1 free running modes on page 35 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 |