1 / 13

Datasheet Page 228-238

Datasheet Page 228-238. a. Control provided by RCC register bit/field. b. Control provided by RCC register bit/field or RCC2 register bit/field, if overridden with RCC2 register bit USERCC2. c. Control provided by RCC2 register bit/field.

obert
Télécharger la présentation

Datasheet Page 228-238

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Datasheet Page 228-238

  2. a. Control provided by RCC register bit/field. b. Control provided by RCC register bit/field or RCC2 register bit/field, if overridden with RCC2 register bit USERCC2. c. Control provided by RCC2 register bit/field. d. Also may be controlled by DSLPCLKCFG when in deep sleep mode. e. Control provided by RCC register SYSDIV field, RCC2 register SYSDIV2 field if overridden with USERCC2 bit, or [SYSDIV2,SYSDIV2LSB] if both USERCC2 and DIV400 bits are set. • Figure 5-5 shows the logic for the main clock tree. The peripheral blocks are driven by the system • clock signal and can be individually enabled/disabled. When the PLL is enabled, the ADC clock • signal is automatically divided down to 16 MHz from the PLL output for proper ADC operation. The • PWM clock signal is a synchronous divide of the system clock to provide the PWM circuit with more • range (set with PWMDIV in RCC).

  3. Systick timer

  4. When the SYSTICK timer changes from 1 to 0, it will set the COUNTFLAG bit in the SYSTICK Control and Status register. The COUNTFLAG can be cleared by one of the following: • Read of the SYSTICK Control and Status register by the processor • Clear of the SYSTICK counter value by writing any value to the SYSTICK Current Value register

  5. The SYSTICK counter can be used to generate SYSTICK exceptions at regular intervals. This is often necessary for the OS, for task and resources management. To enable SYSTICK exception generation, the TICKINT bit should be set.

  6. General-Purpose timer

More Related